Closed MartinC45 closed 5 months ago
Minimized:
import dfhdl.*
class DictControl(val fetch_count: Int <> CONST) extends RTDesign():
val c = Boolean <> IN
val matching = Bits(fetch_count) <> VAR
if (c) matching(0) := 1
@main def main = DictControl(fetch_count = 2).compile
Description
Same error message as #116 and seems related to if statements again. The error occurs for both VHDL and Verilog.
Example
Output