X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=FlattenTypes.hs;h=092baff4911fdcb6789399ec613c09293fe30f02;hb=14367b6b9fd0770a78e02fad425daa369df4bec6;hp=c7e0c1e79e6eca5c771c455052b2860b467ca870;hpb=f445c30c4a089e8898fd1438747b3c7e33547890;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/FlattenTypes.hs b/FlattenTypes.hs index c7e0c1e..092baff 100644 --- a/FlattenTypes.hs +++ b/FlattenTypes.hs @@ -99,6 +99,8 @@ data SigDef = -- | An expression on signals data SignalExpr = EqLit SignalId String -- ^ Is the given signal equal to the given (VHDL) literal + | Literal String -- ^ A literal value + | Eq SignalId SignalId -- ^ A comparison between to signals deriving (Show, Eq) -- Returns the function used by the given SigDef, if any