Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I have double checked the file, sir. it's not empty. :confused: the GUI compilation doesn't work too. :) --- Quote End --- Ok, so lets see what is wrong with the tools setup. I'll step through exactly the same procedure I'd expect you to use, and we'll see where we differ. 1) Download the files from the link above and rename them. 2) Start Modelsim. In my case, I tested using Modelsim Altera Starter Edition from Quartus 10.1 which is version 6.6c. 3) Change directory to where you downloaded the files to. 4) Setup the work library vlib mwork vmap work mwork 5) Build the components vlog -sv hex_display.sv vlog -sv hex_display_tb.sv 6) Run the testbench vsim -novopt hex_display_tb add wave * run -a Ok, this all worked fine for me. Check the following Modelsim setting; Compile->Compile Options, click on the Verilog and SystemVerilog tab, and make sure the checkbutton for 'Use SystemVerilog' is checked. Cheers, Dave