Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
I'm following the Altera JTAG-to-Avalon-MM Tutorial, version 1.0 from March 14, 2012. I'm using Quartus webedition 10.1 no SP installed. I also uses the corresponding free Modelsim version 6.6c The reason I uses 10.1 is that I have a Cyclone 1 board. Cyclone 1 is not supported in Quartus 11 and higher. I'm following the document and follow the SOPC flow, as QSys is not recommended for this version according to the document I can follow the document but run into a problem on page 19. There it says: - Run the simulation --- Quote Start --- VSIM> vsim -t ps +nowarnTFMPC sopc_system_jtag_master_tb --- Quote End --- This gives an error in Modelsim --- Quote Start --- # Loading work.altera_avalon_st_pipeline_base# ** Error: (vsim-3043) c:/temp/altera_jtag_to_avalon_mm_tutorial/hdl/sopc_system/test/sopc_system_jtag_master_tb.sv(122): Unresolved reference to 'jtag_master_inst' in dut.the_jtag_master.jtag_master_inst.# Region: /sopc_system_jtag_master_tb# Error loading design Modelsim> --- Quote End --- When I go to this file and line 122 it says:line 117: // --------------------------------------------------------
line 118: // JTAG reset
line 119: // --------------------------------------------------------
line 120: //
line 121: $display(" * Reset the JTAG controller");
line 122: `VTAP.reset_jtag_state; When I search on VTAP it says at line 36 the following:
line 36: // Quartus 11.1sp1
line 37: // ---------------
line 38: `define VTAP dut.the_jtag_master.jtag_master_inst.jtag_phy_embedded_in_jtag_master.normal.jtag_dc_streaming.jtag_streaming.node
line 39:
line 40: // Quartus 10.0
line 41: // ------------
line 42: // The component hierarchy is slightly different for Quartus versions
line 43: // earlier than 11.1sp1. The sopc_system_jtag_master_tb.do script
line 44: // JTAG master nodes also change names.
line 45: //`define VTAP dut.the_jtag_master.jtag_master.normal.altera_jtag_avalon_master_pli_off_inst.the_altera_jtag_avalon_master_jtag_interface_pli_off.altera_jtag_avalon_master_jtag_interface_pli_off.normal.jtag_dc_streaming.jtag_streaming.node
By commenting the 11.1sp1 define (line 38) and un-commenting the 10.0 version (line 45) it works. (Just sharing information sofar for solving this problem) When I then do the next line --- Quote Start --- VSIM> do $TUTORIAL/hdl/sopc_system/scripts/sopc_system_jtag_master_tb.do --- Quote End --- it gives an error on the jtag_master signals: # ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_write'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 9# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_read'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 10# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_address'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 11# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_byteenable'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 12# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_writedata'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 13# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_readdata'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 14# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_waitrequest'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 15# ** Error: (vish-4014) No objects found matching '/sopc_system_jtag_master_tb/dut/the_jtag_master/master_readdatavalid'.# Executing ONERROR command at macro c:\temp\altera_jtag_to_avalon_mm_tutorial\hdl\sopc_system\scripts\sopc_system_jtag_master_tb.do line 16
Is this a quartus 10.1 specific error? Or is this an error in the defined waves in the do-file? Rgds, KimberleyTWatt3
New Contributor
6 years agoDoes anyone know where I can get the zip file for this tutorial? The original link does not work?
Thanks.