Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Qsys tutorial simulation errors

I am following instructions from the simulation chapter of the Qsys System Design tutorial, but running into compiling errors when I load and execute load_sim.tcl.

When it runs to

vlog -sv ./test_program.sv -L pattern_generator_tb_csr_master

it reports error:

-- Compiling module test_program# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: ./test_program.sv(21): Could not find the package (verbosity_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: (vlog-19) Failed to access library 'pattern_generator_tb_csr_master' at "pattern_generator_tb_csr_master".# # No such file or directory. (errno = ENOENT)# ** Error: ./test_program.sv(22): Could not find the package (avalon_mm_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.# ** Error: ./test_program.sv(147): near "request": syntax error, unexpected IDENTIFIER, expecting ';'# ** Error: ./test_program.sv(159): (vlog-2730) Undefined variable: 'request'.# # ** Error: ./test_program.sv(159): (vlog-2730) Undefined variable: 'REQ_WRITE'.# # ** Error: D:/altera/13.1/modelsim_ae/win32aloem/vlog failed.# Error in macro E:\projects_altera_soc\tt_qsys_design\simulation_tutorial\load_sim.tcl line 15

I wonder how to fix it. Thanks!

No RepliesBe the first to reply