Skip to content

Commit

Permalink
SystemVerilog: Bool is a scalar type
Browse files Browse the repository at this point in the history
Fixes #569
  • Loading branch information
christiaanb committed Aug 14, 2019
1 parent 3aee0c5 commit 97a9047
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion clash-lib/src/Clash/Backend/SystemVerilog.hs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ mkTyPackage_ modName hwtys = do
| otherwise = ty1 == ty2

isUnsigned :: HWType -> Bool
isUnsigned Bool = True
isUnsigned (Unsigned _) = True
isUnsigned (BitVector _) = True
isUnsigned (Index _) = True
Expand Down
2 changes: 1 addition & 1 deletion testsuite/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runClashTest =
, clashTestGroup "Unit"
[ clashTestGroup "Basic"
[ -- TODO: Enable AES test on SystemVerilog. See issue #569.
runTest ("tests" </> "shouldwork" </> "Basic") (defBuild \\ [SystemVerilog]) [] "AES" ([""],"topEntity",False)
runTest ("tests" </> "shouldwork" </> "Basic") defBuild [] "AES" ([""],"topEntity",False)
, runTest ("tests" </> "shouldwork" </> "Basic") defBuild [] "BangData" ([""],"topEntity",False)
, runTest ("tests" </> "shouldwork" </> "Basic") defBuild [] "Trace" ([""],"topEntity",False)
, runTest ("tests" </> "shouldwork" </> "Basic") defBuild [] "ByteSwap32" (["","testBench"],"testBench",True)
Expand Down

0 comments on commit 97a9047

Please sign in to comment.