de10-nano
de10-nano copied to clipboard
Avalon Simulation idea with cocotb
I noticed that you didn't have much luck with Simulation/Verification beyond using low level verilator code.
I found using cocotb's AvalonMemory class seems to do the trick for emulating some kind of memory that your avalon master implemented in verilog will talk to. Cocotb can use verlator in the background, so in theory it shouldn't be too hard to switch.
Thanks for sharing, I have not used cocotb before and will try and learn more about it.
The ideal way I feel is to use the Avalon BFM (Bus Functional Model) since that is maintained by Intel. Not sure if I'll ever get around to that though :).