Nic30 / pycocotb

COCOTB like Verilator wrapper
8 stars 0 forks source link

memory intializations from python #8

Open Nic30 opened 5 years ago

Nic30 commented 5 years ago

The Verilator updates the memories based on verilog code. However it is very practical to be able to intialize memory/register from python python as it is very useful tool during debugging and it is best way how to avoid too much compilations of the same circuit just with different configuration.

Now the memories inside of hierarchy can not be updated as it is banned in order to prevent accessing of read only things in simulation. However during initialisation phase it should be allowed.