Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5117992

Browse files
Modified the layout structure to replace the interleaved arrays of
columns with individual instances at equal spacing. This avoids an issue with magic's extraction of interleaved arrays and allows correct LVS without flattening the cell, as was done previously. The layout has changed but the physical mask layers remain the same.
1 parent cd4b01e commit 5117992

File tree

7 files changed

+547
-130
lines changed

7 files changed

+547
-130
lines changed

lvs/netgen.log

Lines changed: 263 additions & 56 deletions
Large diffs are not rendered by default.

lvs/run_lvs.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set circuit2 [readnet spice $hvlib]
1717
readnet spice $hdlib $circuit2
1818
readnet spice ../netlist/schematic/sky130_ef_ip__rdac3v_8bit.spice $circuit2
1919

20-
debug on
20+
# debug on
2121

2222
lvs "$circuit1 sky130_ef_ip__rdac3v_8bit" "$circuit2 sky130_ef_ip__rdac3v_8bit" \
2323
$setupfile sky130_ef_ip__rdac3v_8bit_comp.out

lvs/run_lvs_flat.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

lvs/sky130_ef_ip__rdac3v_8bit_comp.out

Lines changed: 219 additions & 47 deletions
Large diffs are not rendered by default.

mag/run_extract_lay_flat.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

mag/sky130_ef_ip__rdac3v_8bit.mag

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,10 +1509,37 @@ rect 25534 75 25543 447
15091509
rect 25865 75 25875 447
15101510
rect 25534 66 25875 75
15111511
use dac_3v_column dac_3v_column_0
1512-
array 0 7 2132 0 0 15271
15131512
timestamp 1653060931
15141513
transform 1 0 7331 0 1 322
15151514
box -20 -7 1049 15264
1515+
use dac_3v_column dac_3v_column_1
1516+
timestamp 1653060931
1517+
transform 1 0 9463 0 1 322
1518+
box -20 -7 1049 15264
1519+
use dac_3v_column dac_3v_column_2
1520+
timestamp 1653060931
1521+
transform 1 0 11595 0 1 322
1522+
box -20 -7 1049 15264
1523+
use dac_3v_column dac_3v_column_3
1524+
timestamp 1653060931
1525+
transform 1 0 13727 0 1 322
1526+
box -20 -7 1049 15264
1527+
use dac_3v_column dac_3v_column_4
1528+
timestamp 1653060931
1529+
transform 1 0 15859 0 1 322
1530+
box -20 -7 1049 15264
1531+
use dac_3v_column dac_3v_column_5
1532+
timestamp 1653060931
1533+
transform 1 0 17991 0 1 322
1534+
box -20 -7 1049 15264
1535+
use dac_3v_column dac_3v_column_6
1536+
timestamp 1653060931
1537+
transform 1 0 20123 0 1 322
1538+
box -20 -7 1049 15264
1539+
use dac_3v_column dac_3v_column_7
1540+
timestamp 1653060931
1541+
transform 1 0 22255 0 1 322
1542+
box -20 -7 1049 15264
15161543
use dac_3v_column_dummy dac_3v_column_dummy_0
15171544
timestamp 1653061945
15181545
transform 1 0 6266 0 1 322
@@ -1522,11 +1549,38 @@ timestamp 1653061945
15221549
transform 1 0 24386 0 1 322
15231550
box -18 -7 1049 15272
15241551
use dac_3v_column_odd dac_3v_column_odd_0
1525-
array 0 7 2132 0 0 15270
15261552
timestamp 1653060931
15271553
transform 1 0 8398 0 1 322
15281554
box -20 -7 1049 15263
1529-
use follower_amp follower_amp_0 ../../sky130_ef_ip__samplehold/mag
1555+
use dac_3v_column_odd dac_3v_column_odd_1
1556+
timestamp 1653060931
1557+
transform 1 0 10530 0 1 322
1558+
box -20 -7 1049 15263
1559+
use dac_3v_column_odd dac_3v_column_odd_2
1560+
timestamp 1653060931
1561+
transform 1 0 12662 0 1 322
1562+
box -20 -7 1049 15263
1563+
use dac_3v_column_odd dac_3v_column_odd_3
1564+
timestamp 1653060931
1565+
transform 1 0 14794 0 1 322
1566+
box -20 -7 1049 15263
1567+
use dac_3v_column_odd dac_3v_column_odd_4
1568+
timestamp 1653060931
1569+
transform 1 0 16926 0 1 322
1570+
box -20 -7 1049 15263
1571+
use dac_3v_column_odd dac_3v_column_odd_5
1572+
timestamp 1653060931
1573+
transform 1 0 19058 0 1 322
1574+
box -20 -7 1049 15263
1575+
use dac_3v_column_odd dac_3v_column_odd_6
1576+
timestamp 1653060931
1577+
transform 1 0 21190 0 1 322
1578+
box -20 -7 1049 15263
1579+
use dac_3v_column_odd dac_3v_column_odd_7
1580+
timestamp 1653060931
1581+
transform 1 0 23322 0 1 322
1582+
box -20 -7 1049 15263
1583+
use follower_amp follower_amp_0 ../dependencies/sky130_ef_ip__samplehold/mag
15301584
timestamp 1718228583
15311585
transform 0 1 12491 1 0 16882
15321586
box 0 0 4377 11129

xschem/run_extract_sch.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#! /bin/bash
22

3-
xschem -n -s -r -x -q --tcl "set lvs_netlist 1" --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc -o ../netlist/schematic -N sky130_ef_ip__rdac3v_8bit.spice sky130_ef_ip__rdac3v_8bit.sch
3+
project=sky130_ef_ip__rdac3v_8bit
4+
5+
echo ${PDK_ROOT:=/usr/share/pdk} > /dev/null
6+
echo ${PDK:=sky130A} > /dev/null
7+
8+
# xschem -n -s -r -x -q --tcl "set lvs_netlist 1" --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc -o ../netlist/schematic -N $project.spice $project.sch
9+
xschem -n -s -r -x -q --tcl "set lvs_netlist 1" --rcfile xschemrc -o ../netlist/schematic -N $project.spice $project.sch
410

0 commit comments

Comments
 (0)