Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

ModelSim Error

MR23
Beginner
2,588 Views

Modelsim_Error.png

 

I have downloaded Quartus 20.1 version along with Modelsim and device. While I was trying to create University program VWF, I was getting the above error. It

Labels (1)
0 Kudos
11 Replies
MR23
Beginner
2,561 Views

Following another community response, I tried this:  

 

"It's a bug. In the Simulation Waveform Editor, choose Simulation Settings|Simulation Options and delete -novopt following vsim in the Model Script (and save the changes)."

 

Now I am getting another error:

vsim_error.png

 

This is the code for my 2x1 multiplexer:

module mux21(out, A, B, Sel);
input Sel, A, B;
output out;
assign out = Sel?A:B;
endmodule

Any suggestion?

Thanks.

0 Kudos
MR23
Beginner
2,537 Views

I tried the above verilog code one more time without changing anything else. Now I am getting a different error. I desperately need some help?

 

 

Modelsim_Error2.png

 

0 Kudos
MR23
Beginner
2,468 Views

Mr. Moderator, 

I am having the exact same error. Please find below the code I used this time. One thing, I want to mention here is that I have been using Quartus Prime Standard edition for last 4/5 years ( Got the license from Altera as a donation). I used only the verilog code to generate the VWF form without any issue until recently. It's really frustrating......

 

// define a module for the design
module mux21(in1, in2, select, out);

// define input port
input in1, in2, select;

// define the output port
output out;

// assign one of the inputs to the output based upon select line input
assign out = select ? in2 : in1;
endmodule


module test;
reg in1, in2, select;
wire out;

// design under test
mux21 mux(.in1(in1), .in2(in2),
.select(select), .out(out));

// list the input to the design
initial begin in1=1'b0;in2=1'b0;select=1'b0;
#2 in1=1'b1;
#2 select=1'b1;
#2 in2=1'b1;
#2 $stop();
end

// monitor the output whenever any of the input changes
initial begin $monitor("time: =%0b","input1 =%0b","input2 =%0b","select =%0b", "output =%0b", $time, in1,in2,select,out);
end
endmoduleModelsim_Error3.png

 

0 Kudos
SyafieqS
Employee
2,527 Views

To seem there Testbench instantiation issue, which is missing all the port A,B,Sel,Out.

Can you verify your tb?


0 Kudos
MR23
Beginner
2,511 Views

I don't have any testbench code for this circuit? Do I need one??

0 Kudos
SyafieqS
Employee
2,492 Views

Yes you have to have tb whenever doing a simulation to verify the functionality of your circuit.


0 Kudos
FvM
Honored Contributor I
2,458 Views
Hi,
with university program VWF simulator, the testbench is generated automatically, you can write a simulation waveform with the graphical vwf editor and start the generation process. Or generate it automatically, as described above. It's intended as a replacement for the old built-in Quartus simulator but, as far as I understand, never got a full professional product status. As the "university program" context suggests, it's delivered as is and is somehow experimental.

Having said this, I must confess that I don't know if the vwf simulator flow has issues with recent Quartus + Modelsim versions. It worked for me e.g. with Quartus 13, but I prefer regular Modelsim/Questasim testbenches and never tried vfw simulation method with newer versions.
0 Kudos
MR23
Beginner
2,440 Views

As I mentioned earlier, I do have access to the Quartus Prime 16 version. It worked for me until last summer. Now it's giving me the same error as Quartus Lite. What would you suggest then?  Quartus 13 is not available anymore. 

0 Kudos
SyafieqS
Employee
2,335 Views

I am sending something to your email.


0 Kudos
MR23
Beginner
2,174 Views

Hi Syafieq,

As I downloaded Quartus II 13.0 web edition, I am able to create the webform. However, I have a new issue now. I have created a majority circuit ( output will be high if any two of three inputs are high).

 

Waveform_Error2.png

 

This is what I am getting in response to the above input file. 

 

Waveform_Error1.png

 

If you look into the read only output file, you will see that it's remembering a previously created circuit (32bit adder). I tried all possible way to close that earlier project. Still it remembers that.  Any suggestion?

0 Kudos
MR23
Beginner
2,167 Views

If I am using a different folder, it works just fine. 

0 Kudos
Reply