Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Object is used but not declared?

Tags:

vhdl

quartus

I have the following VHDL code, its a entity of a project:

library ieee;
use ieee.std_logic_1164.all;
library work;
use work.typedef.all;

entity uc is
    port(faaaa: in std_logic_vector(15 downto 0);
          phi: in std_logic;
          isDirect,isRam,jmp,store,NarOut,arpOut:out std_logic);
    end entity uc;

architecture b8 of ua is
    signal   instt : std_logic_vector(15 downto 0);
    signal bit7: std_logic;
        begin
            bit7<='0';
            instt <= faaaa;
            ....
            process(phi) is
            ....
            end process;
end architecture b8;

The error says that:

object "faaaa" is used but not declared

What am I doing wrong here?

like image 831
walidsarkis Avatar asked May 29 '15 08:05

walidsarkis


1 Answers

Your entity is called uc, but the architecture b8 is of ua.

like image 99
scary_jeff Avatar answered Oct 23 '22 17:10

scary_jeff