|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
| _HKI ("<table>\n" " <tr>\n" " <th>Markup</th>\n" " <th></th>\n" " <th>Result</th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>^{superscript}</samp></td>\n" " <td></td>\n" " <td> <br><samp><sup>superscript</sup> </samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>Driver Board^{Rev A}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Driver Board<sup>Rev A</sup></samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>_{subscript}</samp></td>\n" " <td></td>\n" " <td> <br><samp><sub>subscript</sub> </samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>D_{0} - D_{15}</samp></td>\n" " <td></td>\n" " <td> <br><samp>D<sub>0</sub> - D<sub>15</sub></samp></td>\n" " </tr>\n" " <tr>\n" " <td></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>~{overbar}</samp><br> <br><samp>~{CLK}</samp></td>\n" " <td></td>\n" " <td> <samp><u> </u></samp><br> <samp>overbar</samp><br> <samp><u> </u></samp><br> <samp>CLK</samp></td>\n" " </tr>\n" " <tr>\n" " <td></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${variable}</samp></td>\n" " <td></td>\n" " <td> <br><samp><i>variable_value</i></samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${REVISION}</samp></td>\n" " <td></td>\n" " <td> <br><samp>2020.1</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:field}</samp></td>\n" " <td></td>\n" " <td> <br><samp><i>field_value</i> of symbol <i>refdes</i></samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${R3:VALUE}</samp></td>\n" " <td></td>\n" " <td> <br><samp>150K</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${ROW}</samp> (in tables)</td>\n" " <td></td>\n" " <td> <br><samp>0, 1, 2...</samp> (0-based)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${COL}</samp> (in tables)</td>\n" " <td></td>\n" " <td> <br><samp>0, 1, 2...</samp> (0-based)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${ADDR}</samp> (in tables)</td>\n" " <td></td>\n" " <td> <br><samp>A0, B1, C2...</samp> (0-based)</td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{expression}</samp></td>\n" " <td></td>\n" " <td> <br><samp><i>evaluated_result</i></samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{2 + 3}</samp></td>\n" " <td></td>\n" " <td> <br><samp>5</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{${ROW} + 1}</samp></td>\n" " <td></td>\n" " <td> <br><samp>4</samp> (when ROW=3)</td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>String Comparison & Conditional Text</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{\"text\" == \"text\"}</samp></td>\n" " <td></td>\n" " <td> <br><samp>1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{\"text\" != \"other\"}</samp></td>\n" " <td></td>\n" " <td> <br><samp>1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(condition, true_val, false_val)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Conditional text display</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(\"${LAYER}\" == \"F.Cu\", \"TOP\", \"BOTTOM\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>TOP</samp> (on front layer) or <samp>BOTTOM</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(${ROW} > 5, \"High\", \"Low\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Numeric comparisons work too</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Symbol Pin Functions</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:REFERENCE(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Full reference with unit for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:REFERENCE(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>J1B</samp> (for multi-unit symbol)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:SHORT_REFERENCE(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Reference without unit letter for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:SHORT_REFERENCE(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>J1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:UNIT(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Unit letter only for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:UNIT(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>B</samp> (unit letter for pin 3)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:NET_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Net name connected to pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${R1:NET_NAME(1)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>VCC</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Pin name or selected alternate</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_NAME(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>USART1_TX</samp> (alternate) or <samp>PA9</samp> (base)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_BASE_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Base pin name (ignoring alternates)</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_BASE_NAME(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>PA9</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_ALT_LIST(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>All alternate pin functions (excludes base name)</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_ALT_LIST(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>USART1_TX, TIM1_CH2, I2C1_SCL</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:SHORT_NET_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Short net name or NC if unconnected</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:SHORT_NET_NAME(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>GND</samp> or <samp>NC</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:NET_CLASS(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Net class for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:NET_CLASS(1)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Power</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Escape Sequences</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>\\${LITERAL}</samp></td>\n" " <td></td>\n" " <td> <br><samp>${LITERAL}</samp> (not expanded)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>Price: \\$25.00</samp></td>\n" " <td></td>\n" " <td> <br><samp>Price: $25.00</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>\\@{x+y}</samp></td>\n" " <td></td>\n" " <td> <br><samp>@{x+y}</samp> (not evaluated)</td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Nested Variables</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:REFERENCE(@{${ROW}+2})}</samp></td>\n" " <td></td>\n" " <td> <br><samp>J1B</samp> (when ROW=0, pin 2 in unit B)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:NET_NAME(${COL})}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Dynamic net lookup in tables</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Table Cell References</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${CELL(\"A0\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Evaluated value from cell A0</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${CELL(0, 1)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Value from row 0, column 1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${CELL(${ADDR})}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Dynamic cell reference</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${CELL(${ROW}-1, ${COL})}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Value from cell above (if ROW > 0)</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Bus Definition</th>\n" " <th> </th>\n" " <th>Resultant Nets</th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>prefix[m..n]</samp></td>\n" " <td></td>\n" " <td> <br><samp>prefixm to prefixn</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>D[0..7]</samp></td>\n" " <td></td>\n" " <td> <br><samp>D0, D1, D2, D3, D4, D5, D6, D7</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>{net1 net2 ...}</samp></td>\n" " <td></td>\n" " <td> <br><samp>net1, net2, ...</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>{SCL SDA}</samp></td>\n" " <td></td>\n" " <td> <br><samp>SCL, SDA</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>prefix{net1 net2 ...}</samp></td>\n" " <td></td>\n" " <td> <br><samp>prefix.net1, prefix.net2, ...</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>USB1{D+ D-}</samp></td>\n" " <td></td>\n" " <td> <br><samp>USB1.D+, USB1.D-</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>MEM{D[1..2] LATCH}</samp></td>\n" " <td></td>\n" " <td> <br> <samp>MEM.D1, MEM.D2, MEM.LATCH</samp> </td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>MEM{D_{[1..2]} ~{LATCH}}</samp></td>\n" " <td></td>\n" " <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" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" "</table>\n" "<p></p>\n" "<p></p>\n" "<i>Note that markup has precedence over bus definitions.</i>\n" "<p></p>\n" "<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" "<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" "<p><b>Nested Variables:</b> Variables can contain other variables. Inner variables are expanded first. Maximum nesting depth: 6 levels.</p>\n" "<p><b>Error Messages:</b></p>\n" "<ul>\n" "<li><samp><UNRESOLVED: token></samp> - Variable or function cannot be resolved</li>\n" "<li><samp><Unit X not placed></samp> - Pin is in a unit not placed on any sheet</li>\n" "<li><samp><Unresolved: Cell X not found></samp> - Cell address is out of table bounds</li>\n" "</ul>\n" "\n" "") | |
| _HKI | ( | "<table>\n" " <tr>\n" " <th>Markup</th>\n" " <th></th>\n" " <th>Result</th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>^{superscript}</samp></td>\n" " <td></td>\n" " <td> <br><samp><sup>superscript</sup> </samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>Driver Board^{Rev A}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Driver Board<sup>Rev A</sup></samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>_{subscript}</samp></td>\n" " <td></td>\n" " <td> <br><samp><sub>subscript</sub> </samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>D_{0} - D_{15}</samp></td>\n" " <td></td>\n" " <td> <br><samp>D<sub>0</sub> - D<sub>15</sub></samp></td>\n" " </tr>\n" " <tr>\n" " <td></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>~{overbar}</samp><br> <br><samp>~{CLK}</samp></td>\n" " <td></td>\n" " <td> <samp><u> </u></samp><br> <samp>overbar</samp><br> <samp><u> </u></samp><br> <samp>CLK</samp></td>\n" " </tr>\n" " <tr>\n" " <td></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${variable}</samp></td>\n" " <td></td>\n" " <td> <br><samp><i>variable_value</i></samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${REVISION}</samp></td>\n" " <td></td>\n" " <td> <br><samp>2020.1</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:field}</samp></td>\n" " <td></td>\n" " <td> <br><samp><i>field_value</i> of symbol <i>refdes</i></samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${R3:VALUE}</samp></td>\n" " <td></td>\n" " <td> <br><samp>150K</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${ROW}</samp> (in tables)</td>\n" " <td></td>\n" " <td> <br><samp> | 0, |
| 1 | , | ||
| 2...</samp >(0-based)</td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${COL}</samp >(in tables)</td >\n" "< td ></td >\n" "< td > < br >< samp > | 0, | ||
| 1 | , | ||
| 2...</samp >(0-based)</td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${ADDR}</samp >(in tables)</td >\n" "< td ></td >\n" "< td > < br >< samp > | A0, | ||
| B1 | , | ||
| C2...</samp >(0-based)</td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >@{expression}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >< i >evaluated_result</i ></samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >@{2+3}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >5</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >@{${ROW}+1}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >4</samp >(when ROW=3)</td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< th >String Comparison &Conditional Text</th >\n" "< th ></th >\n" "< th ></th >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >@{\"text\" == \"text\"}</samp></td>\n" " <td></td>\n" " <td> <br><samp>1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{\"text\" != \"other\"}</samp></td>\n" " <td></td>\n" " <td> <br><samp>1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(condition, true_val, false_val)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Conditional text display</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(\"${LAYER}\" == \"F.Cu\", \"TOP\", \"BOTTOM\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>TOP</samp> (on front layer) or <samp>BOTTOM</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>@{if(${ROW} > 5, \"High\", \"Low\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Numeric comparisons work too</samp></td>\n" " </tr>\n" " <tr>\n" " <td><br></td>\n" " </tr>\n" " <tr>\n" " <th>Symbol Pin Functions</th>\n" " <th></th>\n" " <th></th>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:REFERENCE(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Full reference with unit for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:REFERENCE(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>J1B</samp> (for multi-unit symbol)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:SHORT_REFERENCE(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Reference without unit letter for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:SHORT_REFERENCE(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>J1</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:UNIT(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Unit letter only for pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${J1:UNIT(3)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>B</samp> (unit letter for pin 3)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:NET_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Net name connected to pin</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${R1:NET_NAME(1)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>VCC</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Pin name or selected alternate</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_NAME(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>USART1_TX</samp> (alternate) or <samp>PA9</samp> (base)</td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_BASE_NAME(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Base pin name (ignoring alternates)</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_BASE_NAME(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>PA9</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${refdes:PIN_ALT_LIST(pin)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>All alternate pin functions (excludes base name)</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${U1:PIN_ALT_LIST(5)}</samp></td>\n" " <td></td>\n" " <td> <br><samp> | USART1_TX, | ||
| TIM1_CH2 | , | ||
| I2C1_SCL</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${refdes:SHORT_NET_NAME(pin)}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Short net name or NC if unconnected</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${J1:SHORT_NET_NAME(3)}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >GND</samp > or< samp >NC</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${refdes:NET_CLASS(pin)}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Net class for pin</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${J1:NET_CLASS(1)}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Power</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< th >Escape Sequences</th >\n" "< th ></th >\n" "< th ></th >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >\\${LITERAL}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >${LITERAL}</samp >(not expanded)</td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >Price:\\ $25.00</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Price:$25.00</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >\\@{x+y}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >@{x+y}</samp >(not evaluated)</td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< th >Nested Variables</th >\n" "< th ></th >\n" "< th ></th >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${J1:REFERENCE(@{${ROW}+2})}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >J1B</samp >(when ROW=0, pin 2 in unit B)</td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${J1:NET_NAME(${COL})}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Dynamic net lookup in tables</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< th >Table Cell References</th >\n" "< th ></th >\n" "< th ></th >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${CELL(\"A0\")}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Evaluated value from cell A0</samp></td>\n" " </tr>\n" " <tr>\n" " <td> <br><samp>${CELL(0, 1)}</samp></td>\n" " <td></td>\n" " <td> <br><samp>Value from row | 0, | ||
| column 1</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${CELL(${ADDR})}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Dynamic cell reference</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >${CELL(${ROW}-1, ${COL})}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >Value from cell above(if ROW > 0)</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< th >Bus Definition</th >\n" "< th > </th >\n" "< th >Resultant Nets</th >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >prefix</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >prefixm to prefixn</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >D</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp > | D0[m..n][0..7], | ||
| D1 | , | ||
| D2 | , | ||
| D3 | , | ||
| D4 | , | ||
| D5 | , | ||
| D6 | , | ||
| D7</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >{net1 net2 ...}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp > | net1, | ||
| net2 | , | ||
| ...</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >{SCL SDA}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp > | SCL, | ||
| SDA</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >prefix{net1 net2 ...}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >prefix. | net1, | ||
| prefix. | net2, | ||
| ...</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >USB1{D+D-}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >USB1.D+ | , | ||
| USB1.D-</samp ></td >\n" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >MEM{D[1..2] LATCH}</samp ></td >\n" "< td ></td >\n" "< td > < br >< samp >MEM. | D1, | ||
| MEM. | D2, | ||
| MEM.LATCH</samp ></td >\n" "</tr >\n" "< tr >\n" "< td > < br >< samp >MEM{D_{[1..2]} ~{LATCH}}</samp ></td >\n" "< td ></td >\n" "< 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" "</tr >\n" "< tr >\n" "< td >< br ></td >\n" "</tr >\n" "</table >\n" "< p ></p >\n" "< p ></p >\n" "< i >Note that markup has precedence over bus definitions.</i >\n" "< p ></p >\n" "< 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" "< 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" "< p >< b >Nested Variables:</b > Variables can contain other variables. Inner variables are expanded first. Maximum nesting depth:6 levels.</p >\n" "< p >< b >Error Messages:</b ></p >\n" "< ul >\n" "< li >< samp > <UNRESOLVED:token ></samp > - Variable or function cannot be resolved</li >\n" "< li >< samp > <Unit X not placed ></samp > - Pin is in a unit not placed on any sheet</li >\n" "< li >< samp > <Unresolved:Cell X not found ></samp > - Cell address is out of table bounds</li >\n" "</ul >\n" "\n" "" | ) |