N
Neil Zanella
Guest
Hello,
I have several files, each file containing an entity and an
architecture. Some entities have components comprised of entities
which are defined together with their architectures in their
own separate files. I would like to place collections of
functionally related entities and architectures into the
same file like I would in C. When I do this in VHDL, the
sources no longer compile and I get completely incorrect
warnings from the compiler (such as std_ulogic_vector
being undefined despite the fact that I am including
the appropriate ieee library and using ieee.std_logic_1164.all.
Hence, may I ask, is it illegal to put more than one entity
and architecture in the same file in VHDL, or is there something
else that I am doing wrong?
Thanks,
Neil
I have several files, each file containing an entity and an
architecture. Some entities have components comprised of entities
which are defined together with their architectures in their
own separate files. I would like to place collections of
functionally related entities and architectures into the
same file like I would in C. When I do this in VHDL, the
sources no longer compile and I get completely incorrect
warnings from the compiler (such as std_ulogic_vector
being undefined despite the fact that I am including
the appropriate ieee library and using ieee.std_logic_1164.all.
Hence, may I ask, is it illegal to put more than one entity
and architecture in the same file in VHDL, or is there something
else that I am doing wrong?
Thanks,
Neil