Po-Han Chen
02/07/2022, 2:35 AMTechnology: sky130
Total size: 8192 bits
Word size: 32
Words: 256
Banks: 1
Write size: None
RW ports: 1
R-only ports: 0
W-only ports: 0
DRC/LVS/PEX is only run on the top-level design to save run-time (inline_lvsdrc=True to do inline checking).
DRC/LVS/PEX is disabled (check_lvsdrc=True to enable).
Characterization is disabled (using analytical delay models) (analytical_delay=False to simulate).
Only generating nominal corner timing.
ERROR: file sram_config.py: line 132: Invalid number of cols including rbl(s): 129. Total cols must be divisible by 2
I don't know how to interpret this error because I don't know where this 129 is coming from. Has anyone run into this problem before?Po-Han Chen
02/07/2022, 2:40 AMstable
branch here
2. I sourced the setpaths.csh
3. I set the PDK_ROOT
to the skywater 130 PDKs
4. I run make install
in the OpenRAM repo, but it gave me an error saying that it can't find the sky130_fd_bd_sram
folder.
5. I manually cloned the repo from here, and renamed it to sky130_fd_bd_sram
6. I do make install
again, and this time it succeed
7. I prepared the config.py
, within it I set the SRAM size to be 32x256, and use sky130 technology
8. Then I ran the tool, and were stuck by this divisible-by-2 errorMatthew Guthaus
02/07/2022, 2:45 AMMatthew Guthaus
02/07/2022, 2:48 AMPo-Han Chen
02/07/2022, 3:05 AMdev
branch and set both num_spare_cols
and num_spare_rows
to be 1. The divisible-by-2 error goes away!
However, I ran into another error:
Traceback (most recent call last):
File "/somelongpath/OpenRAM/compiler/base/utils.py", line 110, in get_gds_size
return _GDS_SIZE_CACHE[k]
KeyError: ('sky130_fd_bd_sram__sram_sp_wlstrapa_p', '/somelongpath/OpenRAM/technology/sky130/gds_lib/sky130_fd_bd_sram__sram_sp_wlstrapa_p.gds', (0.001, 1e-09), (81, 2))
When I switched to the dev-branch, I did make pdk
and make install
again. Is there anything else I should do?Matthew Guthaus
02/07/2022, 3:18 AMMatthew Guthaus
02/07/2022, 3:19 AMPo-Han Chen
02/07/2022, 3:24 AMPo-Han Chen
02/07/2022, 3:25 AMmake pdk
will help me update the pdk to the latest version. But I checked my PDK_ROOT it still points to my old pdkMatthew Guthaus
02/07/2022, 3:34 AMMatthew Guthaus
02/07/2022, 3:35 AMPo-Han Chen
02/07/2022, 3:36 AMAllen Pan
02/08/2022, 6:26 AMskywater-pdk-libs-sky130_fd_bd_sram
repo, so it does not seem to be copied into technology/sky130/
elif version == "wlstrapa_p":
self.name = "sky130_fd_bd_sram__sram_sp_wlstrapa_p"
Po-Han Chen
02/08/2022, 6:30 AMsram_sp_wlstrapa_p
cellPo-Han Chen
02/08/2022, 7:16 AM/OpenRAM/technology/sky130/modules/sky130_internal.py
, and force it to use sram_sp_wlstrapa
instead of sram_sp_wlstrapa_p
, then it will compile. However I don't think I am allowed to do this hacky step...Matthew Guthaus
02/08/2022, 1:53 PMMatthew Guthaus
02/08/2022, 1:54 PMAllen Pan
02/08/2022, 3:14 PMMatthew Guthaus
02/08/2022, 4:57 PMMatthew Guthaus
02/08/2022, 4:57 PMPo-Han Chen
02/08/2022, 9:16 PMMatthew Guthaus
02/08/2022, 9:16 PMMatthew Guthaus
02/08/2022, 9:16 PMPo-Han Chen
02/08/2022, 9:20 PMMatthew Guthaus
02/08/2022, 9:21 PM