Open nelsobe opened 2 years ago
@mithro @acomodi @tmichalak @mkurc-ant Would be interested in any feedback you can provide.
@nelsobe could you provide more details on the errors you get?
@tmichalak Working on getting a trace from the student.
@tmichalak The error provided by the tools is that a latch is inferred on the "index" signal and the compilation fails.
We do not believe that a latch should be inferred (or the compilation fail) since "index" is local to the always_comb block. In this code "index" is functioning like a VHDL variable - used to help in the computation but not intended to carry information out of the block.
SYMBIFLOW-CLASSROOM-PROJECT
Using original Yosys frontend.
The tools give compile errors when the integer is declared local to the always_comb body: