Fix usage of "temp" instead of "temper" in spice models.

Fixes https://github.com/google/skywater-pdk/issues/171.

In ngspice (and also spectre), temperature that appears in a parameter
equation should use the name "temper", not "temp".

Signed-off-by: diadatp <admin@diadatp.com>
Signed-off-by: Stefan Schippers <schippes@mazinga.lan>
Signed-off-by: Tim Edwards <tim@opencircuitdesign.com>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
diff --git a/tech/sky130_fd_pr.tlef b/tech/sky130_fd_pr.tlef
index 4aaaf46..9a1ae23 100644
--- a/tech/sky130_fd_pr.tlef
+++ b/tech/sky130_fd_pr.tlef
@@ -4,6 +4,9 @@
 #          CAPACITANCE CPERSQDIST, RESISTANCE RPERSQ,
 #          DCCURRENTDENSITY AVERAGE, ACCURRENTDENSITY RMS 
 #          for all relevant routing/cutlayers
+# 04-01-19 KKEL removed off-grid offset value for met2
+#          and simplified ACCURRENTDENSITY syntax to prevent 
+#          RC Compiler parsing error
 
 # Initilize top level parameters
 VERSION 5.6 ;
@@ -93,7 +96,7 @@
   CAPACITANCE CPERSQDIST 25800000 ;
   RESISTANCE RPERSQ 0.125 ;
   DCCURRENTDENSITY AVERAGE 2.8 ; # mA/um Iavg_max at Tj = 90oC
-  ACCURRENTDENSITY RMS 6.1 FREQUENCY 1 ; # mA/um Irms_max at Tj = 90oC 
+  ACCURRENTDENSITY RMS 6.1 ; # mA/um Irms_max at Tj = 90oC
   ANTENNADIFFSIDEAREARATIO PWL ( ( 0.000000 400.000000 ) ( 0.012500 400.000000 ) ( 0.022500 2609.000000 ) ( 22.500000 11600.000000 ) ) ;
 END met1
 
@@ -113,7 +116,8 @@
   TYPE ROUTING ;
   DIRECTION VERTICAL ;
   PITCH 0.395000 ;
-  OFFSET 0.197500 ;
+# Comment out: this value is off-grid!
+# OFFSET 0.197500 ;
   MINENCLOSEDAREA 0.140000 ;
   MINWIDTH 0.140000 ;
   WIDTH 0.140000 ;
@@ -128,7 +132,7 @@
   CAPACITANCE CPERSQDIST 17500000 ;
   RESISTANCE RPERSQ 0.125 ;
   DCCURRENTDENSITY AVERAGE 2.8 ; # mA/um Iavg_max at Tj = 90oC
-  ACCURRENTDENSITY RMS 6.1 FREQUENCY 1 ; # mA/um Irms_max at Tj = 90oC 
+  ACCURRENTDENSITY RMS 6.1 ; # mA/um Irms_max at Tj = 90oC 
   ANTENNADIFFSIDEAREARATIO PWL ( ( 0.000000 400.000000 ) ( 0.012500 400.000000 ) ( 0.022500 2609.000000 ) ( 22.500000 11600.000000 ) ) ;
 END met2
 
@@ -162,7 +166,7 @@
   CAPACITANCE CPERSQDIST 12600000 ;
   RESISTANCE RPERSQ 0.047 ;
   DCCURRENTDENSITY AVERAGE 6.8 ; # mA/um Iavg_max at Tj = 90oC
-  ACCURRENTDENSITY RMS 14.9 FREQUENCY 1 ; # mA/um Irms_max at Tj = 90oC 
+  ACCURRENTDENSITY RMS 14.9 ; # mA/um Irms_max at Tj = 90oC 
   ANTENNADIFFSIDEAREARATIO PWL ( ( 0.000000 400.000000 ) ( 0.012500 400.000000 ) ( 0.022500 2609.000000 ) ( 22.500000 11600.000000 ) ) ;
 END met3
 
@@ -196,7 +200,7 @@
   CAPACITANCE CPERSQDIST 8670000 ;
   RESISTANCE RPERSQ 0.047 ;
   DCCURRENTDENSITY AVERAGE 6.8 ; # mA/um Iavg_max at Tj = 90oC
-  ACCURRENTDENSITY RMS 14.9 FREQUENCY 1 ; # mA/um Irms_max at Tj = 90oC 
+  ACCURRENTDENSITY RMS 14.9 ; # mA/um Irms_max at Tj = 90oC 
   ANTENNADIFFSIDEAREARATIO PWL ( ( 0.000000 400.000000 ) ( 0.012500 400.000000 ) ( 0.022500 2609.000000 ) ( 22.500000 11600.000000 ) ) ;
 END met4
 
@@ -226,7 +230,7 @@
   CAPACITANCE CPERSQDIST 6480000 ;
   RESISTANCE RPERSQ 0.047 ;
   DCCURRENTDENSITY AVERAGE 10.17 ; # mA/um Iavg_max at Tj = 90oC
-  ACCURRENTDENSITY RMS 22.34 FREQUENCY 1 ; # mA/um Irms_max at Tj = 90oC 
+  ACCURRENTDENSITY RMS 22.34 ; # mA/um Irms_max at Tj = 90oC 
   ANTENNADIFFSIDEAREARATIO PWL ( ( 0.000000 400.000000 ) ( 0.012500 400.000000 ) ( 0.022500 2609.000000 ) ( 22.500000 11600.000000 ) ) ;
 END met5