constant.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <html>
  2. <head>
  3. <title>Constant</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/constant.gif" width="32" height="32"> <em>Constant</em></h1>
  7. <p><table>
  8. <tr><td><strong>Library:</strong></td>
  9. <td><a href="index.html">Wiring</a></td></tr>
  10. <tr><td><strong>Introduced:</strong></td>
  11. <td>2.0 Beta 1 (in Gates library, moved to Wiring in 2.7.0)</td></tr>
  12. <tr><td valign="top"><strong>Appearance:</strong></td>
  13. <td valign="top"><img src="../../../../en/img-libs/constant.png" width="18" height="15"></td></tr>
  14. </table></p>
  15. <h2>Behavior</h2>
  16. <p>Emits the value specified in its Value attribute.</p>
  17. <h2>Pins</h2>
  18. <p>There is only one pin, an output whose bit width matches the Data Bits
  19. attribute. The location of this pin is specified in the Facing
  20. attribute. The component constantly outputs on this pin whatever
  21. value specified in the Value attribute.</p>
  22. </dl>
  23. <h2>Attributes</h2>
  24. <p>When the component is selected or being added,
  25. the hexademical digits '0' through '9' and 'a' through 'f' alter its <q>Value</q> attribute,
  26. Alt-0 through Alt-9 alter its <q>Data Bits</q> attribute,
  27. and the arrow keys alter its <q>Facing</q> attribute.</p>
  28. <dl>
  29. <dt>Facing</dt>
  30. <dd>The direction in which the pin is located relative to where the
  31. value is drawn.</dd>
  32. <dt>Data Bits</dt>
  33. <dd>The bit width of the value placed onto the wire.</dd>
  34. <dt>Value</dt>
  35. <dd>The value, written in hexademical, that is emitted by the component.
  36. The number of bits used to specify the value cannot exceed the
  37. component's bit width.</dd>
  38. </dl>
  39. <h2>Poke Tool Behavior</h2>
  40. <p>None.</p>
  41. <h2>Text Tool Behavior</h2>
  42. <p>None.</p>
  43. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  44. </body>
  45. </html>