docs: Adding basic values for capacitance + resistance.
Values taken from the following Google Spreadsheet
[SKY130 Stackup Capacitance Data" spreadsheet](https://docs.google.com/spreadsheets/d/1N9To-xTiA7FLfQ1SNzWKe-wMckFEXVE9WPkPPjYkaxE/edit#gid=226894802)
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
diff --git a/docs/rules/rcx.rst b/docs/rules/rcx.rst
index 9450c84..085d020 100644
--- a/docs/rules/rcx.rst
+++ b/docs/rules/rcx.rst
@@ -8,9 +8,10 @@
The CAD columns indicate sheets and contacts that are parasitics included in the schematic/layout RCX from Assura.
.. csv-table:: Parasitic Extraction Table
- :file: rcx/rcx-all.csv
+ :file: rcx/rcx-all.tsv
:header-rows: 2
:stub-columns: 1
+ :delim: U+0009
.. note:: The models includes M1/M2 capacitance. As a result of RCX extraction limitation M1/M2 routing over the varactor will have no capacitance extraction.
@@ -33,10 +34,21 @@
.. todo:: This table should be rendered like the periphery rules.
.. csv-table:: Table of resistance rules
- :file: rcx/resistance.csv
- :header-rows: 2
+ :file: rcx/resistance-rules.csv
:stub-columns: 1
+Resistance Values
+-----------------
+
+This section includes tables of basic resistance values for SKY130.
+
+Further data can be found in the `"SKY130 Stackup Capacitance Data" spreadsheet`_.
+
+.. csv-table:: Table - Resistances
+ :file: rcx/resistance-values.tsv
+ :header-rows: 1
+ :delim: U+0009
+
Capacitance Rules
-----------------
@@ -44,9 +56,57 @@
.. todo:: This table should be rendered like the periphery rules.
.. csv-table:: Table of capacitance rules
- :file: rcx/capacitance.csv
- :header-rows: 2
+ :file: rcx/capacitance-rules.csv
:stub-columns: 1
+ :delim: U+0009
+
+
+Capacitance Values
+------------------
+
+This section includes tables of basic capacitance values for SKY130.
+
+Further data can be found in the `"SKY130 Stackup Capacitance Data" spreadsheet`_.
+
+.. _"SKY130 Stackup Capacitance Data" spreadsheet: https://docs.google.com/spreadsheets/d/1N9To-xTiA7FLfQ1SNzWKe-wMckFEXVE9WPkPPjYkaxE/edit#gid=226894802
+
+Basic Capacitance - Fringe Downward
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Fringe capacitances are a constant value per unit length and are an approximations. Determined by creating a layout with a 5um x 10um rectangle of each layer over or under a much larger rectangle of the other layer. The fringe capacitance computed from the total given minus the parallel plate capacitance.
+
+"downward direction" means that the larger plate is below the 5um x 10um plate.
+
+The layer in the first column is always the layer with the 5um x 10um plate.
+
+.. csv-table:: Table - Capacitance - Fringe Downward
+ :file: rcx/capacitance-fringe-downward.tsv
+ :header-rows: 1
+ :delim: U+0009
+
+
+Basic Capacitance - Fringe Upward
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Fringe capacitances are a constant value per unit length and are an approximations. Determined by creating a layout with a 5um x 10um rectangle of each layer over or under a much larger rectangle of the other layer. The fringe capacitance computed from the total given minus the parallel plate capacitance.
+
+"upward direction" means that the larger plate is above the 5um x 10um plate.
+
+The layer in the first column is always the layer with the 5um x 10um plate.
+
+.. csv-table:: Table - Capacitance - Fringe Upward
+ :file: rcx/capacitance-fringe-upward.tsv
+ :header-rows: 1
+ :delim: U+0009
+
+
+Basic Capacitance - Parallel
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. csv-table:: Table - Capacitance - Parallel
+ :file: rcx/capacitance-parallel.tsv
+ :header-rows: 1
+ :delim: U+0009
Discrepencies
@@ -62,3 +122,4 @@
The impact of this on total capacitance and parasitic capacitance is already comprehended in the model corners, however, cross-talk is not modeled. Also, parasitic cap is routed to ground and this may not be ideal for the scenario.
The parasitic cap can be estimated using RescapWeb.
+
diff --git a/docs/rules/rcx/capacitance-fringe-downward.tsv b/docs/rules/rcx/capacitance-fringe-downward.tsv
new file mode 100644
index 0000000..8497b33
--- /dev/null
+++ b/docs/rules/rcx/capacitance-fringe-downward.tsv
@@ -0,0 +1,7 @@
+Interlayer fringe capacitance (downward direction) (aF/um) Poly Local interconnect Metal1 Metal2 Metal3 Metal4
+Local interconnect 51.846
+Metal1 46.724 59.496
+Metal2 41.222 46.277 67.045
+Metal3 43.531 46.708 54.814 69.846
+Metal4 38.105 39.709 42.563 46.382 70.522
+Metal5 39.908 41.147 43.188 45.592 54.152 82.819
diff --git a/docs/rules/rcx/capacitance-fringe-upward.tsv b/docs/rules/rcx/capacitance-fringe-upward.tsv
new file mode 100644
index 0000000..c3a6951
--- /dev/null
+++ b/docs/rules/rcx/capacitance-fringe-upward.tsv
@@ -0,0 +1,7 @@
+Interlayer fringe capacitance (upward direction) (aF/um) Local interconnect Metal1 Metal2 Metal3 Metal4 Metal5
+Poly 25.138 16.691 11.166 9.18 6.3505 6.4903
+Local interconnect 34.7 21.739 15.078 10.141 7.6366
+Metal1 48.193 26.676 16.421 12.017
+Metal2 44.432 22.332 15.693
+Metal3 42.643 27.836
+Metal4 46.976
diff --git a/docs/rules/rcx/capacitance-parallel.tsv b/docs/rules/rcx/capacitance-parallel.tsv
new file mode 100644
index 0000000..9e9e990
--- /dev/null
+++ b/docs/rules/rcx/capacitance-parallel.tsv
@@ -0,0 +1,7 @@
+Interlayer parallel plate capacitance (aF/um^2) Local interconnect Metal1 Metal2 Metal3 Metal4 Metal5
+Poly 94.1644 44.8056 24.4968 16.0552 10.0131 7.2085
+Local interconnect 114.1970 37.5647 20.7915 11.6705 8.0265
+Metal1 133.8610 34.5350 15.0275 9.4789
+Metal2 86.1861 20.3321 11.3410
+Metal3 84.0346 19.6269
+Metal4 68.3252
diff --git a/docs/rules/rcx/capacitance.csv b/docs/rules/rcx/capacitance-rules.csv
similarity index 99%
rename from docs/rules/rcx/capacitance.csv
rename to docs/rules/rcx/capacitance-rules.csv
index efd0ec6..61180e9 100644
--- a/docs/rules/rcx/capacitance.csv
+++ b/docs/rules/rcx/capacitance-rules.csv
@@ -1,4 +1,4 @@
-,General(CAP.-)
+,General (CAP.-)
.X.1,No capacitance is extracted due to contacts. (This is a generic layout extraction tool limitation.)
,MOS Devices (MOS.-)
diff --git a/docs/rules/rcx/resistance.csv b/docs/rules/rcx/resistance-rules.csv
similarity index 98%
rename from docs/rules/rcx/resistance.csv
rename to docs/rules/rcx/resistance-rules.csv
index 04980a0..18bb1a2 100644
--- a/docs/rules/rcx/resistance.csv
+++ b/docs/rules/rcx/resistance-rules.csv
@@ -1,4 +1,4 @@
- ,General (RES.-)
+,General (RES.-)
.X,Parasitic resistance is not extrated under a sheet layer with it's corresponding res.id layer.
,Sheet Resistance (SR.-)
diff --git a/docs/rules/rcx/resistance-values.tsv b/docs/rules/rcx/resistance-values.tsv
new file mode 100644
index 0000000..2f0b361
--- /dev/null
+++ b/docs/rules/rcx/resistance-values.tsv
@@ -0,0 +1,23 @@
+Layer Resistivity (mohms/sq)
+Poly 48200
+Local interconnect 12800
+Metal1 125
+Metal2 125
+Metal3 47
+Metal4 47
+Metal5 29
+Deep nwell 2200000
+Pwell (in deep nwell) 3050000
+Nwell 1700000
+N-diffusion 120000
+P-diffusion 197000
+HV N-diffusion 114000
+HV P-diffusion 191000
+XHR poly resistor 319800
+UHR poly resistor 2000000
+LICON contact 15000
+MCON contact 152000
+VIA 4500
+VIA2 3410
+VIA3 3410
+VIA4 380