You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are parts of the cocotb scripts that appear to refer to the structure of caravel as it was some versions ago before the core was restructured. For example, in file cocotb/interfaces/caravel.py, the initialization routine defines:
self.hk_hdl = dut.uut.housekeeping
But uut is the instance name of the top level module (caravel), and housekeeping is no longer a child of the top level, it is now a child of the SoC core. So this line can only be correct if written
self.hk_hdl = dut.uut.chip_core.housekeeping
It is not clear to me how the cocotb testbenches even work with this error.
@RTimothyEdwards , Yes they are outdated. I was suppose to remove them from caravel since I moved the whole cocotb running scripts outside caravel into caravel-sim-infrastructure. All the needed documentation can be found inside the repo. You can find caravel tests here and here.
The location for adding the tests are under the user project repo not caravel repo. Until caravel and the soc is combined, I use the same flow that the user should use, to verify caravel.
There are parts of the cocotb scripts that appear to refer to the structure of caravel as it was some versions ago before the core was restructured. For example, in file
cocotb/interfaces/caravel.py
, the initialization routine defines:But
uut
is the instance name of the top level module (caravel
), andhousekeeping
is no longer a child of the top level, it is now a child of the SoC core. So this line can only be correct if writtenIt is not clear to me how the cocotb testbenches even work with this error.
@marwaneltoukhy : Any ideas?
The text was updated successfully, but these errors were encountered: