Running `make verify-<test_name>` gives me t...
# shuttle
h
Running
make verify-<test_name>
gives me the following error:
Copy code
/home/mkhan33/openram_testchip/caravel/verilog/rtl/caravel_netlists.v:47: Include file libs.ref/sky130_sram_macros/verilog/sky130_sram_2kbyte_1rw1r_32x512_8.v not found
Do I have to install sram macros separately now, what is the command for that? I just did
make pdk
to install the pdk.
m
We are using experimental SRAMs and should have them local
h
This is an error in the caravel-lite netlist not in our design..
m
I think there was an environment variable to get the approved SRAMs installed. INSTALL_SRAMS or something similar
Or make pdk-with-sram
1
d
@User Did you added $PDK_ROOT in your environment ? Simulation need to know the relative path of the installed SRAM files
h
Yes I did. It is not able to read the sram macros from the pdk build directory. Running the above command from Matt removes the error.
d
Do you see the SRAM macros under $PDK_ROOT/sky130A/libs.ref/sky130_sram_macros ?
h
Yes
The documentation needs an update.
d
Is Simulation is working now ?
h
No, I am getting this error now:
Copy code
Include file mgmt_core_wrapper.v not found
Although I did
make install_mcw
Not sure where to run this make command? On the root of our project or inside caravel-lite?
d
You have run make verify-<testcase> command in root of the project
h
Yes I know. I am asking of
make install_mcw
command. Where to run it?
I have a mgmt_core_wrapper/ inside the root folder. Should it be under the caravel-lite folder?
d
yes, this need to inside caravel-lite foler, You need to run install_mcw inside caravel-lite
h
Oops, I ran it in the root folder
It still gives the same error when I run
make install_mcw
inside the caravel/ directory
I am getting an error here:
Copy code
openram_testchip/caravel/verilog/rtl/caravel_netlists.v:90: Include file mgmt_core_wrapper.v not found
This means it expects the
mgmt_core_wrapper.v
to reside inside the caravel/verilog/rtl/ directory. But running the
make install_mcw
creates a folder in the caravel/ folder. Do I have to manually copy the
mgmt_core_wrapper.v
from the caravel/mgmt_core_wrapper/ so that iverilog can read it correctly?
d
i was using MPW-4 caravel-lite .. I do see "Include file mgmt_core_wrapper.v not found" Error with MPW-5 setup .. Let me cross-check,
m
Simulation is currently broken
Waiting on an update
a
Following up on mpw-6c -- is simulation still an issue? I still see mgmt_core_wrapper.v not found even though make setup has already installed the core...
m
There are a few edge cases where mcw_root isn't getting set and you have to set and export it like pdk_root
❤️ 1