文章详情

ID: 2345
实例类型: faq
分类: Implementation
相关: Mico32(MSB)
产品系列: All Devices

搜索答案数据库

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.