UART

Demonstrates the use of the UART and USART blocks in VisualSim

USART

Browsable image of the model.

  • For an executable version,
  • Mouse over the icons to view parameters. Click on hierarchy and plotters to reveal content (if provided).
  • To simulate, click on Launch button, open downloaded file and click Run on the Java Security Page.
USARTmodel <h2>TextDisplay2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>rowsDisplayed</td><td>10</td><td>10</td></tr><tr><td>columnsDisplayed</td><td>40</td><td>40</td></tr><tr><td>suppressBlankLines</td><td>false</td><td>false</td></tr><tr><td>title</td><td>&quot;Parallel to Parallel&quot;</td><td>&quot;Parallel to Parallel&quot;</td></tr><tr><td>ViewText</td><td>true</td><td>true</td></tr><tr><td>saveText</td><td>false</td><td>false</td></tr><tr><td>fileName</td><td>Enter Filename to save text</td><td>&quot;Enter Filename to save text&quot;</td></tr><tr><td>Append_Time</td><td>true</td><td>true</td></tr></table> <h2>TextDisplay</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>rowsDisplayed</td><td>10</td><td>10</td></tr><tr><td>columnsDisplayed</td><td>40</td><td>40</td></tr><tr><td>suppressBlankLines</td><td>false</td><td>false</td></tr><tr><td>title</td><td>&quot;Parallel to Serial&quot;</td><td>&quot;Parallel to Serial&quot;</td></tr><tr><td>ViewText</td><td>true</td><td>true</td></tr><tr><td>saveText</td><td>false</td><td>false</td></tr><tr><td>fileName</td><td>Enter Filename to save text</td><td>&quot;Enter Filename to save text&quot;</td></tr><tr><td>Append_Time</td><td>true</td><td>true</td></tr></table> <h2>USART5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td></tr><tr><td>Name_Bytes_Field</td><td>&quot;ID&quot;</td><td>&quot;ID&quot;</td></tr><tr><td>Serial_Mbps</td><td>100.0</td><td>100.0</td></tr><tr><td>Parity_Bit_per_Byte</td><td>false</td><td>false</td></tr><tr><td>Start_Stop_Bits</td><td>3  /* 3 = Async, 0 = Sync */</td><td>3</td></tr><tr><td>Full_Duplex</td><td>true</td><td>true</td></tr><tr><td>USART_Name</td><td>&quot;USART3&quot;</td><td>&quot;USART3&quot;</td></tr></table> <h2>USART</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td></tr><tr><td>Name_Bytes_Field</td><td>&quot;ID&quot;</td><td>&quot;ID&quot;</td></tr><tr><td>Serial_Mbps</td><td>100.0</td><td>100.0</td></tr><tr><td>Parity_Bit_per_Byte</td><td>false</td><td>false</td></tr><tr><td>Start_Stop_Bits</td><td>3  /* 3 = Async, 0 = Sync */</td><td>3</td></tr><tr><td>Full_Duplex</td><td>true</td><td>true</td></tr><tr><td>USART_Name</td><td>&quot;USART2&quot;</td><td>&quot;USART2&quot;</td></tr></table> <h2>USART4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td><td>Left to Right converts from Parallel to Serial, \\nor Serial to Parallel.  Ditto for Right to Left.\\n\\nMultiple Transactions are queued.</td></tr><tr><td>Name_Bytes_Field</td><td>&quot;ID&quot;</td><td>&quot;ID&quot;</td></tr><tr><td>Serial_Mbps</td><td>100.0</td><td>100.0</td></tr><tr><td>Parity_Bit_per_Byte</td><td>false</td><td>false</td></tr><tr><td>Start_Stop_Bits</td><td>3  /* 3 = Async, 0 = Sync */</td><td>3</td></tr><tr><td>Full_Duplex</td><td>false</td><td>false</td></tr><tr><td>USART_Name</td><td>&quot;USART1&quot;</td><td>&quot;USART1&quot;</td></tr></table> <h2>Delay2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Delay_Value</td><td>1.0E-04</td><td>&quot;1.0E-04&quot;</td></tr></table> <h2>Delay</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Delay_Value</td><td>1.0E-04</td><td>&quot;1.0E-04&quot;</td></tr></table> <h2>Traffic</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>Block_Documentation</td><td>Enter User Documentation Here</td><td>Enter User Documentation Here</td></tr><tr><td>Data_Structure_Name</td><td>&quot;Header&quot;</td><td>&quot;Header&quot;</td></tr><tr><td>Start_Time</td><td>0.0</td><td>0.0</td></tr><tr><td>Value_1</td><td>1.0E-04</td><td>1.0E-4</td></tr><tr><td>Value_2</td><td>2.0</td><td>2.0</td></tr><tr><td>Random_Seed</td><td>123457L</td><td>123457L</td></tr><tr><td>Time_Distribution</td><td>Fixed (Value_1)</td><td>Fixed (Value_1)</td></tr></table>