Altera_ForumHonored Contributor9 years agoNIOS 2 Modelsim simulation debugging May i know how do i add a debug message, i.e. like $display() in verilog, in the NIOS C program and display it in modelsim simulation environment?
Altera_ForumHonored Contributor9 years agoSee AN351 https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-simulating-niosii.html Use a JTAG UART with a BSP configured to use that UART as STDOUT, and then just use printf() from your application software. The JTAG UART will use $write() to output your characters.
Recent DiscussionsNo valid license for Nios processorNios-V on Cyclone IVCorrect way to use mSGDMA with a NIOSV/m processor on a MAX10 FPGANIOS SDK SBOM/FOSS infoUnable to load Ashling Riscfree NiosV libraries