Altera_ForumHonored Contributor10 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 Contributor10 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 DiscussionsError generating BSPSolvedNIOS V/m dbg_reset_out signal (Q25.1 Std, MAX10)SolvedWhere is FreeRTOS-Plus-TCP DesignSolvedNIOS-V QSYS Warning Properties (associatedClock) have been set onSolvedDK-DEV-AGI027-RA: JTAG chain broken after Nios V Hello, FPGA recovery fails