blob: fd18d8dd05d7fe02c721f2d34707a688c5ab08eb [file] [log] [blame]
mkk91ada922020-12-02 09:08:26 -08001#!/bin/sh
2
3o-mag2maglef-maglef.sh simple_por
4o-mag2maglef-maglef.sh gpio_control_block
5o-mag2maglef-maglef.sh digital_pll
6o-mag2maglef-maglef.sh storage
7o-mag2maglef-maglef.sh mgmt_core
8o-mag2maglef-maglef.sh sram_1rw1r_32_256_8_sky130
9o-mag2maglef-maglef.sh chip_io
10
11
12
13MAGTYPE=maglef magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag
14MAGTYPE=mag magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag
15
16MAGTYPE=maglef magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag
17MAGTYPE=mag magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag
18
19
20load ./digital_pll.mag ; select top cell ; expand ; drc on ; drc style drc(full) ; drc check ; drc catchup
21
22
23
24
25MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag
26
27MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l caravel..drc.out caravel.mag
28
29
30
31
32MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag
33
34MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l caravel..drc.out caravel.mag
35
36
37MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l chip_io.drc.out chip_io.mag
38MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l chip_io.drc.out chip_io.mag
39
40MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l digital_pll.drc.out digital_pll.mag
41MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l digital_pll.drc.out digital_pll.mag
42
43MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag
44MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag
45
46
47
48cd ~/foss/designs/openflow-drc-tests/torture_tests
49git checkout master
50git pull
51mkdir -p $1
52cp -f ~/design/caravel/gds/$1.gds $1
53git add $1/*
54git commit -m "DRC check for $1"
55git push
56