Loading...
Searching...
No Matches
Go to the documentation of this file.
9" <td> <br><samp>^{superscript}</samp></td>\n"
11" <td> <br><samp><sup>superscript</sup> </samp></td>\n"
14" <td> <br><samp>Driver Board^{Rev A}</samp></td>\n"
16" <td> <br><samp>Driver Board<sup>Rev A</sup></samp></td>\n"
22" <td> <br><samp>_{subscript}</samp></td>\n"
24" <td> <br><samp><sub>subscript</sub> </samp></td>\n"
27" <td> <br><samp>D_{0} - D_{15}</samp></td>\n"
29" <td> <br><samp>D<sub>0</sub> - D<sub>15</sub></samp></td>\n"
35" <td> <br><samp>~{overbar}</samp><br> <br><samp>~{CLK}</samp></td>\n"
37" <td> <samp><u> </u></samp><br> <samp>overbar</samp><br> <samp><u> </u></samp><br> <samp>CLK</samp></td>\n"
43" <td> <br><samp>${variable}</samp></td>\n"
45" <td> <br><samp><i>variable_value</i></samp></td>\n"
48" <td> <br><samp>${REVISION}</samp></td>\n"
50" <td> <br><samp>2020.1</samp></td>\n"
56" <td> <br><samp>${refdes:field}</samp></td>\n"
58" <td> <br><samp><i>field_value</i> of symbol <i>refdes</i></samp></td>\n"
61" <td> <br><samp>${R3:VALUE}</samp></td>\n"
63" <td> <br><samp>150K</samp></td>\n"
69" <td> <br><samp>${ROW}</samp> (in tables)</td>\n"
71" <td> <br><samp>0, 1, 2...</samp> (0-based)</td>\n"
74" <td> <br><samp>${COL}</samp> (in tables)</td>\n"
76" <td> <br><samp>0, 1, 2...</samp> (0-based)</td>\n"
79" <td> <br><samp>${ADDR}</samp> (in tables)</td>\n"
81" <td> <br><samp>A0, B1, C2...</samp> (0-based)</td>\n"
87" <td> <br><samp>@{expression}</samp></td>\n"
89" <td> <br><samp><i>evaluated_result</i></samp></td>\n"
92" <td> <br><samp>@{2 + 3}</samp></td>\n"
94" <td> <br><samp>5</samp></td>\n"
97" <td> <br><samp>@{${ROW} + 1}</samp></td>\n"
99" <td> <br><samp>4</samp> (when ROW=3)</td>\n"
105" <th>String Comparison & Conditional Text</th>\n"
110" <td> <br><samp>@{\"text\" == \"text\"}</samp></td>\n"
112" <td> <br><samp>1</samp></td>\n"
115" <td> <br><samp>@{\"text\" != \"other\"}</samp></td>\n"
117" <td> <br><samp>1</samp></td>\n"
120" <td> <br><samp>@{if(condition, true_val, false_val)}</samp></td>\n"
122" <td> <br><samp>Conditional text display</samp></td>\n"
125" <td> <br><samp>@{if(\"${LAYER}\" == \"F.Cu\", \"TOP\", \"BOTTOM\")}</samp></td>\n"
127" <td> <br><samp>TOP</samp> (on front layer) or <samp>BOTTOM</samp></td>\n"
130" <td> <br><samp>@{if(${ROW} > 5, \"High\", \"Low\")}</samp></td>\n"
132" <td> <br><samp>Numeric comparisons work too</samp></td>\n"
138" <th>Symbol Pin Functions</th>\n"
143" <td> <br><samp>${refdes:REFERENCE(pin)}</samp></td>\n"
145" <td> <br><samp>Full reference with unit for pin</samp></td>\n"
148" <td> <br><samp>${J1:REFERENCE(3)}</samp></td>\n"
150" <td> <br><samp>J1B</samp> (for multi-unit symbol)</td>\n"
153" <td> <br><samp>${refdes:SHORT_REFERENCE(pin)}</samp></td>\n"
155" <td> <br><samp>Reference without unit letter for pin</samp></td>\n"
158" <td> <br><samp>${J1:SHORT_REFERENCE(3)}</samp></td>\n"
160" <td> <br><samp>J1</samp></td>\n"
163" <td> <br><samp>${refdes:UNIT(pin)}</samp></td>\n"
165" <td> <br><samp>Unit letter only for pin</samp></td>\n"
168" <td> <br><samp>${J1:UNIT(3)}</samp></td>\n"
170" <td> <br><samp>B</samp> (unit letter for pin 3)</td>\n"
173" <td> <br><samp>${refdes:NET_NAME(pin)}</samp></td>\n"
175" <td> <br><samp>Net name connected to pin</samp></td>\n"
178" <td> <br><samp>${R1:NET_NAME(1)}</samp></td>\n"
180" <td> <br><samp>VCC</samp></td>\n"
183" <td> <br><samp>${refdes:PIN_NAME(pin)}</samp></td>\n"
185" <td> <br><samp>Pin name or selected alternate</samp></td>\n"
188" <td> <br><samp>${U1:PIN_NAME(5)}</samp></td>\n"
190" <td> <br><samp>USART1_TX</samp> (alternate) or <samp>PA9</samp> (base)</td>\n"
193" <td> <br><samp>${refdes:PIN_BASE_NAME(pin)}</samp></td>\n"
195" <td> <br><samp>Base pin name (ignoring alternates)</samp></td>\n"
198" <td> <br><samp>${U1:PIN_BASE_NAME(5)}</samp></td>\n"
200" <td> <br><samp>PA9</samp></td>\n"
203" <td> <br><samp>${refdes:PIN_ALT_LIST(pin)}</samp></td>\n"
205" <td> <br><samp>All alternate pin functions (excludes base name)</samp></td>\n"
208" <td> <br><samp>${U1:PIN_ALT_LIST(5)}</samp></td>\n"
210" <td> <br><samp>USART1_TX, TIM1_CH2, I2C1_SCL</samp></td>\n"
213" <td> <br><samp>${refdes:SHORT_NET_NAME(pin)}</samp></td>\n"
215" <td> <br><samp>Short net name or NC if unconnected</samp></td>\n"
218" <td> <br><samp>${J1:SHORT_NET_NAME(3)}</samp></td>\n"
220" <td> <br><samp>GND</samp> or <samp>NC</samp></td>\n"
223" <td> <br><samp>${refdes:NET_CLASS(pin)}</samp></td>\n"
225" <td> <br><samp>Net class for pin</samp></td>\n"
228" <td> <br><samp>${J1:NET_CLASS(1)}</samp></td>\n"
230" <td> <br><samp>Power</samp></td>\n"
236" <th>Escape Sequences</th>\n"
241" <td> <br><samp>\\${LITERAL}</samp></td>\n"
243" <td> <br><samp>${LITERAL}</samp> (not expanded)</td>\n"
246" <td> <br><samp>Price: \\$25.00</samp></td>\n"
248" <td> <br><samp>Price: $25.00</samp></td>\n"
251" <td> <br><samp>\\@{x+y}</samp></td>\n"
253" <td> <br><samp>@{x+y}</samp> (not evaluated)</td>\n"
259" <th>Nested Variables</th>\n"
264" <td> <br><samp>${J1:REFERENCE(@{${ROW}+2})}</samp></td>\n"
266" <td> <br><samp>J1B</samp> (when ROW=0, pin 2 in unit B)</td>\n"
269" <td> <br><samp>${J1:NET_NAME(${COL})}</samp></td>\n"
271" <td> <br><samp>Dynamic net lookup in tables</samp></td>\n"
277" <th>Table Cell References</th>\n"
282" <td> <br><samp>${CELL(\"A0\")}</samp></td>\n"
284" <td> <br><samp>Evaluated value from cell A0</samp></td>\n"
287" <td> <br><samp>${CELL(0, 1)}</samp></td>\n"
289" <td> <br><samp>Value from row 0, column 1</samp></td>\n"
292" <td> <br><samp>${CELL(${ADDR})}</samp></td>\n"
294" <td> <br><samp>Dynamic cell reference</samp></td>\n"
297" <td> <br><samp>${CELL(${ROW}-1, ${COL})}</samp></td>\n"
299" <td> <br><samp>Value from cell above (if ROW > 0)</samp></td>\n"
308" <th>Bus Definition</th>\n"
309" <th> </th>\n"
310" <th>Resultant Nets</th>\n"
313" <td> <br><samp>prefix[m..n]</samp></td>\n"
315" <td> <br><samp>prefixm to prefixn</samp></td>\n"
318" <td> <br><samp>D[0..7]</samp></td>\n"
320" <td> <br><samp>D0, D1, D2, D3, D4, D5, D6, D7</samp></td>\n"
326" <td> <br><samp>{net1 net2 ...}</samp></td>\n"
328" <td> <br><samp>net1, net2, ...</samp></td>\n"
331" <td> <br><samp>{SCL SDA}</samp></td>\n"
333" <td> <br><samp>SCL, SDA</samp></td>\n"
339" <td> <br><samp>prefix{net1 net2 ...}</samp></td>\n"
341" <td> <br><samp>prefix.net1, prefix.net2, ...</samp></td>\n"
344" <td> <br><samp>USB1{D+ D-}</samp></td>\n"
346" <td> <br><samp>USB1.D+, USB1.D-</samp></td>\n"
352" <td> <br><samp>MEM{D[1..2] LATCH}</samp></td>\n"
354" <td> <br> <samp>MEM.D1, MEM.D2, MEM.LATCH</samp> </td>\n"
357" <td> <br><samp>MEM{D_{[1..2]} ~{LATCH}}</samp></td>\n"
359" <td> <samp> <sub> </sub> <sub> </sub> <u> </u></samp><br> <samp>MEM.D<sub>1</sub>, MEM.D<sub>2</sub>, MEM.LATCH</samp> </td>\n"
367"<i>Note that markup has precedence over bus definitions.</i>\n"
369"<p><b>Pin Functions:</b> Automatically find the correct unit placement. For multi-unit symbols, functions like <samp>NET_NAME(pin)</samp> work even if the pin is in a different unit than the one on the current sheet.</p>\n"
370"<p><b>Table Cell References:</b> The <samp>CELL()</samp> function works only in table cells. Use <samp>${CELL(\"A0\")}</samp> or <samp>${CELL(row, col)}</samp> to reference other cells in the same table. Row and column numbers are 0-based (A0 is the first row, first column). CELL returns the evaluated/displayed value, not the raw cell text.</p>\n"
371"<p><b>Nested Variables:</b> Variables can contain other variables. Inner variables are expanded first. Maximum nesting depth: 6 levels.</p>\n"
372"<p><b>Error Messages:</b></p>\n"
374"<li><samp><UNRESOLVED: token></samp> - Variable or function cannot be resolved</li>\n"
375"<li><samp><Unit X not placed></samp> - Pin is in a unit not placed on any sheet</li>\n"
376"<li><samp><Unresolved: Cell X not found></samp> - Cell address is out of table bounds</li>\n"