You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/chipflow-toml-guide.rst
+31-21Lines changed: 31 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,8 @@ The logic that synchronizes the reset signal with the clock will be generated au
105
105
package = "pga144"
106
106
107
107
108
-
The ``silicon`` section sets the Foundry ``process`` (i.e. PDK) that we are targeting for manufacturing, and the physical ``package`` (pad ring) we want to place our design inside.
108
+
The ``silicon`` section sets the Foundry ``process`` (i.e. PDK) that we are targeting for manufacturing, and the physical ``package`` (including pad ring) we want to place our design inside.
109
+
109
110
You'll choose the ``process`` and ``package`` based in the requirements of your design.
The ``silicon.pads`` section lists special pads. In general you are unlikely to need to add to this.
146
-
Each pad specified with the name used by the design and two parameters: :term:type and :term:`loc`.
146
+
This section outlines the connection of pads to the power supply available for the selected process and package.
147
+
These pads are declared with the :term:type parameter, along with a name and other optional information, like voltage.
147
148
148
-
.. code-block:: TOML
149
+
Note that in this context, the :term:type parameter can only be ``ground`` or ``power``.
150
+
151
+
The package definition provides default locations for standard pins like power, ground, clocks, and resets. You only need to specify the name and properties.
152
+
153
+
[chipflow.silicon.power]
154
+
vdd = { type = "power", name = "vdd", voltage = "1.8V" }
155
+
gnd = { type = "ground", name = "gnd" }
156
+
```
157
+
158
+
159
+
``[silicon.power]``
160
+
-------------------
161
+
162
+
This section outlines the connection of pads to the power supply available for the selected process and package.
163
+
These pads are declared with the :term:type parameter, along with a name and other optional information, like voltage.
149
164
150
-
[chipflow.silicon.pads]
151
-
sys_clk = { type = "clock", loc = "114" }
152
-
sys_rst_n = { type = "reset", loc = "115" }
165
+
Note that in this context, the :term:type parameter can only be ``ground`` or ``power``.
166
+
167
+
[chipflow.silicon.power]
168
+
vdd = { type = "power", name = "vdd", voltage = "1.8V" }
169
+
gnd = { type = "ground", name = "gnd" }
170
+
```
171
+
172
+
In the new format, the package definition provides default locations for standard pins like power, ground, clocks, and resets. You only need to specify the name and properties.
153
173
154
-
In the above example two pads specified, ``sys_clk`` pad for clock input and ``sys_rst_n`` for reset.
155
174
156
175
.. glossary::
157
176
@@ -168,13 +187,4 @@ In the above example two pads specified, ``sys_clk`` pad for clock input and ``s
168
187
External reset input.
169
188
170
189
171
-
``[silicon.power]``
172
-
-------------------
173
-
174
-
This section outlines the connection of pads to the power supply available for the selected process and package.
175
-
These pads are declared with the :term:type and :term:loc parameters, similar to the `[silicon.pads]`_ section.
176
-
Note that in this context, the :term:type parameter can only be ``ground`` or ``power``.
177
-
178
-
This is a work in progress, and currently you can use the defaults provided by customer support.
Copy file name to clipboardExpand all lines: docs/package_pins.md
+3-25Lines changed: 3 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,36 +7,14 @@ This document describes the package pin interface in ChipFlow, introduced to pro
7
7
The package pin interface provides definitions for various types of pins in a chip package:
8
8
9
9
- Power and ground pins
10
-
- Clock pins
10
+
- Clock pins
11
11
- Reset pins
12
12
- JTAG pins
13
13
- Heartbeat pins
14
14
15
15
Each package type (PGA, bare die, etc.) defines its own implementation of these pin types, with appropriate pin numbering and allocation strategies.
16
16
17
-
## Configuration in TOML Files
18
-
19
-
### Legacy Format (still supported)
20
-
```toml
21
-
[chipflow.silicon.power]
22
-
vdd = { type = "power", loc = "1" }
23
-
gnd = { type = "ground", loc = "2" }
24
-
25
-
[chipflow.silicon.pads]
26
-
reset = { type = "reset", loc = "3" }
27
-
clock = { type = "clock", loc = "4" }
28
-
```
29
-
30
-
### New Format
31
-
```toml
32
-
[chipflow.silicon.power]
33
-
vdd = { type = "power", name = "vdd", voltage = "1.8V" }
34
-
gnd = { type = "ground", name = "gnd" }
35
-
```
36
-
37
-
In the new format, the package definition provides default locations for standard pins like power, ground, clocks, and resets. You only need to specify the name and properties.
38
-
39
-
## Using the Package Pin Interface in Code
17
+
# Using the Package Pin Interface in Code
40
18
41
19
### Getting Default Pins
42
20
@@ -100,4 +78,4 @@ Tests for the package pin interface can be run using:
0 commit comments