- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using the JTAG to Avalon IP in my design.
In the lab, the IP will be controlled by a JTAG link.
But how can I simulate it ?
How can I provide it user stimulus in simulation ?
For example, generate a write command in simulation to address 0x0 ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You'll need to use BFM simulation. This tutorial document link https://forums.parallax.com/discussion/download/110606/altera_jtag_to_avalon_mm_tutorial.pdf under section 3.5.3 JTAG-to-Avalon-MM Master probably can clear your doubt.
Attached the tutorial design file jtag_to_avalon_mm.zip below for your reference. May refer to the example testbench sopc_system_jtag_master_tb.sv and execute the run_simulation.tcl with simulator.
Simulation result as below screenshot:
If you encounter compilation error in simulator, remember to temporarily comment out some lines (if else statements) in ../sopc_system/simulation/submodules/altera_avalon_st_jtag_interface.v like below screenshot in order for altera_jtag_sld_node (node) to link with sopc_system_jtag_master_tb.sv:
Thanks,
Best Regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page