Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

ModelSim Error

MR23
Principiante
5.098 Vistas

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

Etiquetas (1)
0 kudos
11 Respuestas
MR23
Principiante
5.071 Vistas

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.

MR23
Principiante
5.047 Vistas

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

 

MR23
Principiante
4.978 Vistas

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

 

SyafieqS
Empleados
5.037 Vistas

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

Can you verify your tb?


MR23
Principiante
5.021 Vistas

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

SyafieqS
Empleados
5.002 Vistas

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


FvM
Colaborador Distinguido II
4.968 Vistas
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.
MR23
Principiante
4.950 Vistas

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. 

SyafieqS
Empleados
4.845 Vistas

I am sending something to your email.


MR23
Principiante
4.684 Vistas

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?

MR23
Principiante
4.677 Vistas

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

Responder