potatovdhl
Newbie level 2
Not even sure if my title describes it correctly.
I'm trying to instantiate 2 components together, in this case a register file and an ALU
In the instantiation entity, i have
in the RF component i have an 8 bit input and in the ALU component i have an 8 bit output
I wanted to wire the ALU output into the 8 bit input of the RF with a signal, while also having the RF input be mapped to the inputdatapath. Basically 2 inputs into the RF input.
I seem to keep getting positional association errors because i'm doing it wrong.
Not sure what i should do to map something like this.
Thanks
I'm trying to instantiate 2 components together, in this case a register file and an ALU
In the instantiation entity, i have
Code:
PORT(
....
inputdatapath: IN STD_LOGIC_VECTOR(7 DOWNTO 0);
....
)
in the RF component i have an 8 bit input and in the ALU component i have an 8 bit output
I wanted to wire the ALU output into the 8 bit input of the RF with a signal, while also having the RF input be mapped to the inputdatapath. Basically 2 inputs into the RF input.
I seem to keep getting positional association errors because i'm doing it wrong.
Not sure what i should do to map something like this.
Thanks