Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start ---
# ** Error: (vsim-3010) - Module 'sopc_system_tb' does not have a `timescale directive in effect, but other modules do.# Region: /sopc_system_tb/dut/the_master_bfm/master_bfm
Any suggestion on how to handle this error? --- Quote End --- To the top of sopc_system_tb.sv add the line
`timescale 1ns / 1ps
Then Modelsim-ASE was happy for me. To build and run the code, on the Modelsim command line I used the commands;
do setup_sim.do
s
vlog -sv sopc_system_tb.sv
vsim -t ps -novopt +nowarnTFMPC sopc_system_tb
do sopc_system_tb.do
run -a
Enjoy! Cheers, Dave