Skip to content

Commit 4774772

Browse files
author
htfab
committed
ci(gds): generate cdl file for lvs
1 parent a633047 commit 4774772

File tree

4 files changed

+42
-1
lines changed

4 files changed

+42
-1
lines changed

.github/workflows/gds.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
YOSYS_CMD: /opt/oss-cad-suite/bin/yosys
5757
run: |
5858
make
59+
make $WORK_HOME/objects/ihp-sg13g2/tt-chip/base/6_final_concat.cdl
5960
6061
- name: Generate fill
6162
run: |
@@ -186,3 +187,36 @@ jobs:
186187
# if: always()
187188
# run: |
188189
# scripts/drc-summary.sh sg13g2_maximal.lyrdb >> $GITHUB_STEP_SUMMARY
190+
191+
# lvs:
192+
# needs: gds
193+
# runs-on: ubuntu-22.04
194+
# env:
195+
# WORK_HOME: ${{ github.workspace }}
196+
#
197+
# steps:
198+
# - name: checkout repo
199+
# uses: actions/checkout@v4
200+
# with:
201+
# submodules: recursive
202+
#
203+
# - name: Download GDS
204+
# uses: actions/download-artifact@v4
205+
# with:
206+
# name: gds
207+
#
208+
# - name: Install KLayout
209+
# run: |
210+
# wget https://www.klayout.org/downloads/Ubuntu-22/klayout_0.29.4-1_amd64.deb
211+
# sudo apt-get install -y ./klayout_0.29.4-1_amd64.deb
212+
#
213+
# - name: Run LVS
214+
# run: |
215+
# klayout -b -r ./IHP-Open-PDK/ihp-sg13g2/libs.tech/klayout/tech/lvs/sg13g2_full.lylvs -rd cdl_file=$WORK_HOME/objects/ihp-sg13g2/tt-chip/base/6_final_concat.cdl -rd report_file=sg13g2_lvs.lvsdb ./results/ihp-sg13g2/tt-chip/base/6_final.gds
216+
#
217+
# - name: Upload LVS results
218+
# uses: actions/upload-artifact@v4
219+
# if: always()
220+
# with:
221+
# name: lvs-results
222+
# path: sg13g2_lvs.lvsdb

designs/ihp-sg13g2/tt-chip/config.mk

+4
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ export ADDITIONAL_GDS = \
4848
$(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/macros/bondpad/gds/bondpad_70x70.gds
4949
export ADDITIONAL_LIBS = \
5050
$(IHP_PDK_ROOT)/ihp-sg13g2/libs.ref/sg13g2_io/lib/sg13g2_io_dummy.lib
51+
export CDL_FILE = \
52+
$(IHP_PDK_ROOT)/ihp-sg13g2/libs.ref/sg13g2_stdcell/cdl/sg13g2_stdcell.cdl \
53+
$(IHP_PDK_ROOT)/ihp-sg13g2/libs.ref/sg13g2_io/cdl/sg13g2_io.cdl \
54+
$(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/macros/bondpad/cdl/bondpad_70x70.cdl
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.SUBCKT bondpad_70x70 pad
2+
*.PININFO pad:B
3+
.ENDS

sg13g2-update/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ export IR_DROP_LAYER ?= Metal1
125125
export KLAYOUT_DRC_FILE = $(PLATFORM_DIR)/drc/sg13g2_minimal.lydrc
126126

127127
#LVS Check
128-
export CDL_FILE = $(PLATFORM_DIR)/cdl/sg13g2_stdcell.cdl
128+
#export CDL_FILE = $(PLATFORM_DIR)/cdl/sg13g2_stdcell.cdl
129129
#export KLAYOUT_LVS_FILE = $(PLATFORM_DIR)/lvs/$(PLATFORM).lylvs

0 commit comments

Comments
 (0)