The test cases ALU and ButtonEncoder fail with an "Unsupported Type" error:
### Error in: 0:VHDL Backend Test:0:aluTest
VHDL Compilation Error: Unsupported type Bit
in process function `fullAddFun_0' (created in ALU) used by process `fulladd' belonging to system definition `fullAddSys' (created in <unkown>)
### Error in: 0:VHDL Backend Test:6:buttonEncoderTest
VHDL Compilation Error: Unsupported type Direction
in process function `transFun_0' (created in ButtonEncoder) used by process `encoder' belonging to system definition `buttonEncoder' (created in <unkown>)
This is due to wrong strings being compared in the enumType registry during translation:
enumTypes = fromList [EnumAlgTy "Bit" ["H","L"]]
lookupKey = "ForSyDe.Deep.Bit.Bit"
This should be resolved by either
use the fully qualified name for both inserting and querying
Issue by HWoidt Thursday Jul 09, 2015 at 12:39 GMT Originally opened as https://gits-15.sys.kth.se/ingo/forsyde-deep/issues/5
The test cases ALU and ButtonEncoder fail with an "Unsupported Type" error:
This is due to wrong strings being compared in the enumType registry during translation: enumTypes = fromList [EnumAlgTy "Bit" ["H","L"]] lookupKey = "ForSyDe.Deep.Bit.Bit" This should be resolved by either