mirror of https://github.com/YosysHQ/yosys.git
b2e9717419
This is accomplished by generating a unique name for the genvar, renaming references to the genvar only in the loop's initialization, guard, and incrementation, and finally adding a localparam inside the loop body with the original name so that the genvar can be shadowed as expected. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.inc | ||
const2ast.cc | ||
preproc.cc | ||
preproc.h | ||
verilog_frontend.cc | ||
verilog_frontend.h | ||
verilog_lexer.l | ||
verilog_parser.y |