alexz
Full Member level 5

when I have number of entities where 2 of them are instantiated in 1.
There is an output from a 1 is instantiated to the input of another through a signal in a top level.
How should that be in terms of in/out declaration of that signal?
port map (mysignal => outsignal, ...
port map (mysignal => insignal, ...
eventially the outsignal should be connected to the insignal.
If I declare the insignal as an input and the out signal as an output in these entities, it does not work.
basically, it suppose to be an address decoder.
where the outsignal is an output from the decoder, which goes to the input of a peripheral
There is an output from a 1 is instantiated to the input of another through a signal in a top level.
How should that be in terms of in/out declaration of that signal?
port map (mysignal => outsignal, ...
port map (mysignal => insignal, ...
eventially the outsignal should be connected to the insignal.
If I declare the insignal as an input and the out signal as an output in these entities, it does not work.
basically, it suppose to be an address decoder.
where the outsignal is an output from the decoder, which goes to the input of a peripheral