Passing a top entity VHDL generic to a lower entity port

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
Is it possible to drive a VHDL input port of a lower hierarchy with a generic value from the top hierarchy ?
 

Generics and ports are two totally different things. A port is a physical connection, a generic is a parameter. Why can't you just drive your lower-level port from the upper level?
 

Yes, you'll have to pass it through via generics or ports though.
Remember the generic is just a constant....
 
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…