Altera_Forum
Honored Contributor
8 years agowaveform simulation error
Hi All,
I am completely new to this forum and to the Quartus II software and am seeking a bit of guidance. I make a program of prime number detector in the vhdl file. here is the code
library ieee;
use ieee.std_logic_1164.all;
entity primedetector is
port (I2,I1,I0: in std_logic;
F: out std_logic);
end primedetector;
architecture persamaan_logika of primedetector is
begin
F<= (not I2 and I0) or (I2 and I1);
end persamaan_logika;
but when i run to create simulation waveform editor and run the simulation. the result is not as i expected. it shows the wrong value. here is the pict of it https://www.alteraforum.com/forum/attachment.php?attachmentid=14463&stc=1 and also i can't run the modelsim simulation. anyone has any idea what i suppose to do? i'm using quartus II 64 bit version 13.0