Altera_Forum
Honored Contributor
16 years agoError: Port "B" does not exist in primitive "OR2" of instance
When attempting to compile the following code in Quartus
entity Pulse_Gen is port(Clock : in std_logic; Reset : in std_logic; PulseOut : out std_logic); end Pulse_Gen; architecture DEF_ARCH of Pulse_Gen is component OR2 port(A : in std_logic; B : in std_logic; Y : out std_logic); end component; -- ... begin -- hook up statements PulseOut <= not(Qaux(0)); -- component instantiation Reset_OR : OR2 port map(A => Reset, B => Qaux(11), Y => IReset); -- ... end DEF_ARCH; I get the following error at the OR2 component instantiation line: Error: Port "A" does not exist in primitive "OR2" of instance "Reset_OR" How can I resolve this problem? Thanks In Advance For Your Kind Attention