I'm a VHDL newbie and am trying to make a fairly simple circuit consisting of several smaller components which I tie together in the main module. I'm going to make this a fairly generic question because I'm not so sure the details matter too much. If they do, I'll happily post what I can.
Basically I have a component with some output which ties directly into the entity's out ports along with some other components which I would like to receive feedback from that aforementioned component. Some of these signals I would also like to perform combination logic on before feeding the input back. What is the best way to do this? I get an error in ModelSim stating cannot read output. If I try to port map the component's outputs to multiple signal lines I also get an error. I can think of a work around, but I didn't know if there was a better solution. Thanks in advance.
EDIT:
So my workaround works, which was to just create a bunch more intermediate signal lines which I used in my combinational logic. I guess what I was wanting to know was if you could directly access an included entity's (a component's) output lines.
Basically I have a component with some output which ties directly into the entity's out ports along with some other components which I would like to receive feedback from that aforementioned component. Some of these signals I would also like to perform combination logic on before feeding the input back. What is the best way to do this? I get an error in ModelSim stating cannot read output. If I try to port map the component's outputs to multiple signal lines I also get an error. I can think of a work around, but I didn't know if there was a better solution. Thanks in advance.
EDIT:
So my workaround works, which was to just create a bunch more intermediate signal lines which I used in my combinational logic. I guess what I was wanting to know was if you could directly access an included entity's (a component's) output lines.
Last edited: