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

Commit a7e23a8

Browse files
committed
handling dependencies of the rdac
1 parent fc47e4c commit a7e23a8

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
cace/templates/xschemrc
2-
cace/templates/*.sym
3-
cace/templates/*.spice
41
runs/*
52
netlist/*
6-
xschem/xschemrc
73
xschem/*.spice
84
mag/*.ext
95
mag/*.res.ext

cace/sky130_ef_ip__rdac3v_8bit.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ paths:
2222
layout: gds
2323
netlist: netlist
2424

25-
dependencies:
26-
sky130_ef_ip__samplehold:
27-
path: ../
28-
repository: https://github.com/RTimothyEdwards/sky130_ef_ip__samplehold
29-
3025
pins:
3126
b7:0:
3227
description: Digital input (8 bits)

xschem/sky130_ef_ip__rdac3v_8bit.sch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,12 @@ C {devices/ipin.sym} -1040 -2410 0 0 {name=p14 lab=b7}
491491
C {devices/lab_pin.sym} -1050 -3150 0 0 {name=l39 sig_type=std_logic lab=vdd}
492492
C {devices/iopin.sym} -1030 -3250 0 1 {name=p15 lab=dvdd}
493493
C {devices/iopin.sym} -1030 -3220 0 1 {name=p16 lab=dvss}
494-
C {../../sky130_ef_ip__samplehold/xschem/follower_amp.sym} 1160 -2720 0 0 {name=x6}
495494
C {devices/lab_pin.sym} 940 -2730 0 0 {name=l2 sig_type=std_logic lab=out_unbuf}
496495
C {passtrans.sym} 690 -2470 0 0 {name=x15}
497496
C {dac_column_dummy.sym} 150 -2090 0 0 {name=x18}
498497
C {dac_column_dummy.sym} 150 -1970 0 0 {name=x5}
499498
C {dac_column_dummy.sym} 150 -3000 0 0 {name=x4}
500499
C {dac_column_dummy.sym} 150 -3100 0 0 {name=x16}
501500
C {devices/lab_pin.sym} 1020 -2600 0 1 {name=p18 sig_type=std_logic lab=dvss}
501+
C {follower_amp.sym} 1160 -2720 0 0 {name=x6
502+
}

xschem/xschemrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Source the PDK xschemrc file
2+
if {![info exists PDK]} {
3+
source $env(PDK_ROOT)/$env(PDK)/libs.tech/xschem/xschemrc
4+
}
5+
6+
# Add current directory to xschem library path
7+
append XSCHEM_LIBRARY_PATH :[file dirname [info script]]
8+
9+
# Source the dependencies
10+
source [file dirname [info script]]/../dependencies/sky130_ef_ip__samplehold/xschem/xschemrc
11+

0 commit comments

Comments
 (0)