X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=VHDL.hs;h=b85d6ff0be288e7db0ec57ca886fae79cbc6ec09;hb=14367b6b9fd0770a78e02fad425daa369df4bec6;hp=57bebfc12ab0265369ecb7028a6a8740c579d2d6;hpb=f445c30c4a089e8898fd1438747b3c7e33547890;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/VHDL.hs b/VHDL.hs index 57bebfc..b85d6ff 100644 --- a/VHDL.hs +++ b/VHDL.hs @@ -205,6 +205,10 @@ mkConcSm sigs (UncondDef src dst) = do case expr of (EqLit id lit) -> (mkIdExpr sigs id) AST.:=: (AST.PrimLit lit) + (Literal lit) -> + AST.PrimLit lit + (Eq a b) -> + (mkIdExpr sigs a) AST.:=: (mkIdExpr sigs b) mkConcSm sigs (CondDef cond true false dst) = do let cond_expr = mkIdExpr sigs cond