Closed mkurc-ant closed 1 year ago
This PR allows injecting user modules that replace clock gates without the need for modifying RTL code (answer to https://github.com/chipsalliance/Cores-VeeR-EL2/issues/50).
The config script allows to set additional parameters which end up in code as capitalized defines:
There's an example user module in testbench/user_cells.sv that can be used to test the new behavior. One can do:
testbench/user_cells.sv
configs/veer.config -set=fpga_optimize=0 -set=user_ec_rv_icg=user_clock_gate -set=tech_specific_ec_rv_icg=1 make -f tools/Makefile
which will run verilated simulation that uses the user module.
This change looks good to me.
This PR allows injecting user modules that replace clock gates without the need for modifying RTL code (answer to https://github.com/chipsalliance/Cores-VeeR-EL2/issues/50).
The config script allows to set additional parameters which end up in code as capitalized defines:
There's an example user module in
testbench/user_cells.sv
that can be used to test the new behavior. One can do:which will run verilated simulation that uses the user module.