Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI'm after a method of doing some simple reads and writes to the SOPC core from within modelsim (preferrably using the JTAG interface). I think that I will need to use the (V)irtual (J)TAG (I)nterface to do this.
It is my understanding that I instantiate the VJI as a BFM external to my Device Under Test and I then drive this by a series of TCL commands to perform the functions I need to do (ie : simple reads and writes to setup registers and read back values). or Does the VJI need to be part of the design? The current design (which I am not in control of) uses the SOPC JTAG UART. I would want any internal logic to mimic the actual hardware (is there a model for the SOPC JTAG UART with the VJI available somewhere to accomplish this). I just (!) need to talk with this within an RTL simulation somehow and it doesn't appear very clear how to do this. If I can I want to do this without modifying the actual design logic, but is this possible?? Speed isn't especially an issue with this. also Once I have decided on a method to achieve my desired control, where do I access the appropriate documentation (and examples if possible) that tells me how to do this? I am new to this SOPC thing (and NIOSII), and would appreciate being pointed in the right direction. Many thanks, Winston.