Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Simulating Jtag-Uart as an input

Altera_Forum
Honored Contributor II
1,486 Views

Hello, 

 

I'm simulating an SOPC design that includes a NIOSII and a Jtag-Uart with Modelsim. 

My problem is that I can use the Jtag-Uart as a program output, but not as an input. 

 

To go into details, SOPC Builder automatically creates: 

- jtag_uart_output_stream.dat (empty output stream) 

- jtag_uart_input_stream.dat (example input stream) 

- jtag_uart_log.bat (example script that seems to redirect the Jtag-Uart ouput to the file jtag_uart_output_stream.dat) 

 

When using the example script during simulation, a console appears, and I can see the characters sent by the NIOS program being displayed. 

 

Now I don't know what to change in the example script to allow the console (or the file jtag_uart_input_stream.dat) to be used as an input to the program. 

 

Has any of you done that before? 

 

Thanks in advance! 

 

Jean-Christophe
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
748 Views

I also cannot get JTAG UART input to work in ModelSim. Altera does not seem to provide usable information on that subject.  

 

Have you made any progress yet?
0 Kudos
Altera_Forum
Honored Contributor II
748 Views

 

--- Quote Start ---  

Altera does not seem to provide usable information on that subject. 

--- Quote End ---  

 

I'm under the impression, that they clearly declared all virtual JTAG functionality as unsupported in simulation. I think, the only solution is to write a special component replacing the JTAG UART for simulation purposes.
0 Kudos
Reply