Bit Vector of Unknown Size Error in Generated Bluespec Code #648
Replies: 2 comments 1 reply
-
The relevant code that it is complaining about is: isequal_2_arg0 :: Prelude.Bool;
isequal_2_arg0 =
(Prelude.==)
(4::(Prelude.Int 16))
(select
(update newVector 0 (4::(Prelude.Int 16)))
(0::(Prelude.UInt 32))); }; This calls Two possible ways of fixing this that come to mind:
The Bluespec Reference Guide notes that |
Beta Was this translation helpful? Give feedback.
-
I see that this was closed, but I think there is still an unresolved bug in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a Copilot (Haskell) specification that, when compiled into bluespec, produces code that BSC cannot compile correctly.
Specifically, I created the following haskell file, which compares the first element of an array of 1 with a constant value of 4 to just a single constant value of 4.
Compiling this into bluespec completes without errors but, when I compile the resulting bluespec, I get issues from the generated bluespec code stating:
Below is my top bluespec module, which should just display the (numeric) values of
single
andarr
, and the Boolean value ofisequal
at any point in time:TestOne.bs Generated Bluespec File
TestOneIfc.bs Generated Bluespec File
Beta Was this translation helpful? Give feedback.
All reactions