add some 40nm scripts
authorAdam Megacz <adam@megacz.com>
Fri, 20 Nov 2009 02:41:17 +0000 (18:41 -0800)
committerAdam Megacz <adam@megacz.com>
Fri, 20 Nov 2009 02:41:17 +0000 (18:41 -0800)
chips/omegaCounter/40nm/hspice.sh [new file with mode: 0755]
chips/omegaCounter/40nm/remspice.sh [new file with mode: 0755]
chips/omegaCounter/40nm/test.spi [new file with mode: 0644]

diff --git a/chips/omegaCounter/40nm/hspice.sh b/chips/omegaCounter/40nm/hspice.sh
new file mode 100755 (executable)
index 0000000..4acdc4a
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+#cp ~/omegaCounter.spi omegaCounter.spi
+#cp electric/starrcxt/omegaCounter.sp omegaCounter-extracted.spi
+
+# quine
+rsync -azre ssh --delete --progress --verbose ./ ivans:/home/am77536/omegaCounter/
+ssh -t ivans -- ssh -t simmons -- omegaCounter/remspice.sh
+scp -C ivans:/home/am77536/omegaCounter/\*.tr0 ~/
+
+# ivans
+#rsync -azre ssh --delete --progress --verbose ./ /home/am77536/omegaCounter/
+#ssh -t simmons -- omegaCounter/rem.sh
+#cp /home/am77536/omegaCounter/go.spi.out ~/omegaCounter.out
+
diff --git a/chips/omegaCounter/40nm/remspice.sh b/chips/omegaCounter/40nm/remspice.sh
new file mode 100755 (executable)
index 0000000..65bbf96
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+cd ~/omegaCounter/
+export PATH=/proj/async/cad/linux/bin/:$PATH
+#hspice go.spi
+hspice test.spi
+
diff --git a/chips/omegaCounter/40nm/test.spi b/chips/omegaCounter/40nm/test.spi
new file mode 100644 (file)
index 0000000..e65df6e
--- /dev/null
@@ -0,0 +1,57 @@
+* Self loaded min geometry inverter, sample HSPICE file
+
+* Include the model files
+
+* Include the hspice model files for 0.18u technology. 
+
+******************************************************************
+* Set Process, Voltage and Temperature corner
+******************************************************************
+
+.protect
+
+* 90nm
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT_RES
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT_18
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT_na18
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT_DIO_esd
+*.lib '/import/async/cad/process/tsmc090/spice_models/models/cln90g_lk.l' TT_DIO_18
+
+* 40nm
+.lib '/import/async/cad/process/tsmcsun045/sun_spice_models/1.01/models/toplevel_cln40gp.l' TOP_TT
+
+.unprotect
+
+
+.param sup=0.9    * Supply voltage
+.temp 80          * Temperature
+
+******************************************************************
+* Standard Parameters and Options
+******************************************************************
+
+.param vsupply=sup
+.param vhi=sup
+.param vlo=0
+.param strong0=0 * Used in verilog, just needs to be defined to run hspice
+.param strong1=1 * Used in verilog, just needs to be defined to run hspice
+
+.options ACCT OPTS post
+*.option post probe
+* .opt scale=0.05u
+.op
+
+.param AVT0N = AGAUSS(0.0,  '0.01 / 0.1' , 1)
+.param AVT0P = AGAUSS(0.0,  '0.01 / 0.1' , 1)
+.param ABN = AGAUSS(0.0,  '0.02 / 0.1' , 1)
+.param ABP = AGAUSS(0.0,  '0.02 / 0.1' , 1)
+
+.post=3
+
+.include 'omegaCounter.spi'
+
+.tran 1n 400n
+
+.end
+