Open eldrickm opened 3 years ago
Thanks for bringing this up!
Actually, Yosys issues a similar warning but still processes the design without error:
Warning: reg '\qed_instruction' is assigned in a continuous assignment at ./sqed-generator/SQED-Generator/QEDFiles/modify_instruction.v:70.10-70.119.
This issue is related to https://github.com/upscale-project/sqed-generator/issues/4
Issue
The generator outputs
modify_instruction.v
which contains the following lines:In QuestaSim vlog compiler, an error occurs when trying to continuously assign a value to a reg.
Error trace given below:
With the particular error in question being:
Potential Fix
Simply removing the
reg
identifier in the declaration ofqed_instruction
allows compilation with QuestaSim vlog Compiler.