Can we access multidimensional reg array using cocotb?
See original GitHub issueIs there any way to access multidimensional reg array in cocotb? Such as
reg[63:0] gpr[31:0];
Whenever I access the reg like this,
handle = dut.gpr
It reports ‘RuntimeError: maximum recursion depth exceeded in cmp’
Issue Analytics
- State:
- Created 4 years ago
- Comments:30 (19 by maintainers)
Top Results From Across the Web
v1.3.0 PDF - cocotb's documentation!
The following instructions will allow building of the cocotb libraries for use with a 64-bit native simulator.
Read more >cocotb/Lobby - Gitter
I intend to use cocotb as a wrapper to an existing SystemVerilog test bench. No need of stimuli then, just to start, monitoring...
Read more >Can I assign variables to multidimensional array elements in ...
in verilog -- no, in system verilog -- yes (just a bit different syntax). In any case such initialization of variables is not...
Read more >Top 5 cocotb Code Examples - Snyk
To help you get started, we've selected a few cocotb examples, based on popular ways it is used in public projects. Secure your...
Read more >Array Example - EDA Playground
In your design, an array can be used to describe RAMs, ROMs, FIFOs, or any regular multi-dimensional structure. Pre VHDL-2008, only one dimension...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried. Still RecursionError, messages are below.
@JaewonHur , This issue can now be closed. Verilator has just been updated with a PR that addresses array access in cocotb: https://github.com/verilator/verilator/pull/2395 To test this you will need to pull the latest Verilator version from git and compile/install manually or alternatively wait until the next (> v4.034) Verilator package release.