Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VHDL component instantiation from 2 different places

Status
Not open for further replies.

shaiko

Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Activity points
18,302
Hello,

Is it possible to instantiate a VHDL component from 2 different entities?
Some signals are used only in one entity and the remaining signals are used only by the second...
 

Not the same instantiation no. You'll have to provide all IO inside one entity.
 
  • Like
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
That's an interesting language restriction. What about Verilog?
 

Not really that interesting, or that useful, and never a situation Ive ever seen anyone complain about. Afaik you cannot do it in any HDL (I dont think you can call half a function in C either!)
If you think of the design using the simile of circuit components, how would you expect to connect half a chip on one board and half a chip on another board? how would the two halves communicate? You might get around what you want to do with Global signals, but Altera will refuse to compile them (they are only really meant for simulation, and IMO, with the new hierarchical signal name access in VHDL 2008 almost completly redundant - also intended for simulation).
 
  • Like
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
You must instantiate the component outside of the 2 entities and use ports to connect to it, or instantiate the component in one of them and connect the unused part to ports to make it available for another block/entity.
 
  • Like
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top