- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page