Altera_Forum
Honored Contributor
16 years agoSimulating Jtag-Uart as an input
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