Article Details

ID: 2345
Case Type: faq
Category: Implementation
Related To: Mico32(MSB)
Family: All Devices

Search Answer Database

Search Text Image

Lattice Mico: In a Mico System Builder(MSB) project, can the characters transmitted through the UART be displayed on the Simulator console?

Description:

Yes. The characters transmitted through the UART can be displayed on the Simulator console window during simulation.


To enable this:



  • double click the UART component in the hardware platform of MSB

  • on the 'transmit Settings for RTL Simulation' settings, check the boxes, Print Transmit Character and Emulate Transmit Operation

Now if you regenerate your hardware platform and run simulation you can see the transmitted characters being displayed on the simulator console window.


Important note while simulating is that your C/C++ code should not be waiting for any input from the UART. This may cause simulation to fail.