Skip to content

Commit db99cd9

Browse files
ihp-sg13g2: update SRAM variations and fix broken DRC download links
Expanded the SRAM file list to include new 1P and 2P macros and commented out deprecated DRC paths that were causing 404 errors. Signed-off-by: trabdelbasset <trabdelbasset@gmail.com>
1 parent 419cd9b commit db99cd9

1 file changed

Lines changed: 26 additions & 8 deletions

File tree

flow/platforms/ihp-sg13g2/sg13g2_update.py

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,33 @@ def download_github_file(
5252

5353

5454
sram_files = [
55+
"RM_IHPSG13_1P_64x64_c2_bm_bist",
56+
"RM_IHPSG13_1P_256x8_c3_bm_bist",
57+
"RM_IHPSG13_1P_256x16_c2_bm_bist",
58+
"RM_IHPSG13_1P_256x32_c2_bm_bist",
59+
"RM_IHPSG13_1P_256x48_c2_bm_bist",
60+
"RM_IHPSG13_1P_256x64_c2_bm_bist",
61+
"RM_IHPSG13_1P_512x8_c3_bm_bist",
62+
"RM_IHPSG13_1P_512x16_c2_bm_bist",
63+
"RM_IHPSG13_1P_512x32_c2_bm_bist",
64+
"RM_IHPSG13_1P_512x64_c2_bm_bist",
65+
"RM_IHPSG13_1P_1024x8_c2_bm_bist",
5566
"RM_IHPSG13_1P_1024x16_c2_bm_bist",
67+
"RM_IHPSG13_1P_1024x32_c2_bm_bist",
5668
"RM_IHPSG13_1P_1024x64_c2_bm_bist",
57-
"RM_IHPSG13_1P_1024x8_c2_bm_bist",
5869
"RM_IHPSG13_1P_2048x64_c2_bm_bist",
59-
"RM_IHPSG13_1P_256x48_c2_bm_bist",
60-
"RM_IHPSG13_1P_256x64_c2_bm_bist",
61-
"RM_IHPSG13_1P_4096x16_c3_bm_bist",
6270
"RM_IHPSG13_1P_4096x8_c3_bm_bist",
63-
"RM_IHPSG13_1P_512x64_c2_bm_bist",
64-
"RM_IHPSG13_1P_64x64_c2_bm_bist",
71+
"RM_IHPSG13_1P_4096x16_c3_bm_bist",
72+
"RM_IHPSG13_1P_8192x32_c4",
73+
"RM_IHPSG13_2P_64x32_c2",
74+
"RM_IHPSG13_2P_256x8_c2_bm_bist",
75+
"RM_IHPSG13_2P_256x16_c2_bm_bist",
76+
"RM_IHPSG13_2P_256x32_c2_bm_bist",
77+
"RM_IHPSG13_2P_512x8_c2_bm_bist",
78+
"RM_IHPSG13_2P_512x16_c2_bm_bist",
79+
"RM_IHPSG13_2P_512x32_c2_bm_bist",
80+
"RM_IHPSG13_2P_1024x16_c2_bm_bist",
81+
"RM_IHPSG13_2P_1024x32_c2_bm_bist",
6582
]
6683
sram_lib_corners = [
6784
"slow_1p08V_125C",
@@ -73,8 +90,9 @@ def download_github_file(
7390
download_github_file("ihp-sg13g2/libs.tech/klayout/tech/sg13g2.lyp")
7491
download_github_file("ihp-sg13g2/libs.tech/klayout/tech/sg13g2.lyt")
7592
download_github_file("ihp-sg13g2/libs.tech/klayout/tech/sg13g2.map")
76-
download_github_file("ihp-sg13g2/libs.tech/klayout/tech/drc/sg13g2_minimal.lydrc", "drc")
77-
download_github_file("ihp-sg13g2/libs.tech/klayout/tech/drc/sg13g2_maximal.lydrc", "drc")
93+
# The minimal/maximal DRC scripts have been replaced by a parameterizable sg13g2.drc in the main branch of IHP-Open-PDK.
94+
#download_github_file("ihp-sg13g2/libs.tech/klayout/tech/drc/sg13g2_minimal.lydrc", "drc")
95+
#download_github_file("ihp-sg13g2/libs.tech/klayout/tech/drc/sg13g2_maximal.lydrc", "drc")
7896
# LIB
7997
download_github_file("ihp-sg13g2/libs.ref/sg13g2_stdcell/lib/sg13g2_stdcell_slow_1p35V_125C.lib", "lib")
8098
download_github_file("ihp-sg13g2/libs.ref/sg13g2_stdcell/lib/sg13g2_stdcell_slow_1p08V_125C.lib", "lib")

0 commit comments

Comments
 (0)