Forum Discussion
yemo
New Contributor
1 year agoWavform Simulator Error: Invalid Licese Environment
I installed Quartus II 24.1 Lite Edition. When using waveform simulator, I found the error: *** Running the ModelSim simulation **** c:/altera_lite/24.1std/questa_fse/win64//vsim -c -do test.do ** ...
- 1 year ago
Since you are using Quartus Lite, we have a quick start manual on how to run the Questa tool using the Nativelink simulation flow (only in Quartus Lite/Std edition).
You can download the example design and give it a run.
Once you are familiar with the simulation flow, try this with your own design and testbench.
https://www.intel.com/content/www/us/en/docs/programmable/703090/21-1/simulation-quick-start.html
Regards,
Richard Tan
yemo
New Contributor
1 year agoLM_LICENSE_FILE environment variable is set correctly and I can see the simulation result but the output is unkonwn(XXXX).
ls138.v
module ls138(G1,G2A,G2B,A,Y);
input G1,G2A,G2B;
input [2:0] A;
output [7:0] Y;
reg [7:0] Y;
always@(G1 , G2A , G2B , A)
begin
if(G1&&(!G2A)&&(!G2B))
begin
case (A)
3'b000: Y<=8'b1111_1110;
3'b001: Y<=8'b1111_1101;
3'b010: Y<=8'b1111_1011;
3'b011: Y<=8'b1111_0111;
3'b100: Y<=8'b1110_1111;
3'b101: Y<=8'b1101_1111;
3'b110: Y<=8'b1011_1111;
3'b111: Y<=8'b0111_1111;
default: Y<=8'b1111_1111;
endcase
end
else
Y<=8'b1111_1111;
end
endmodule
simulaotion result is attached.