X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=FlattenTypes.hs;h=092baff4911fdcb6789399ec613c09293fe30f02;hb=9b7d00ad53acfc821840051ef693d87470b4462b;hp=c7e0c1e79e6eca5c771c455052b2860b467ca870;hpb=1e30fe04f4c285970ad2d5e23930dd935b4214fa;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