Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

close loop at Test Bench

Hi ,

i want to close loop back at the Test bench between the transmitted data from transmitter to the receiver .

both transmitter and receiver implemented at VHDL and they are known to the top .

a,b - output ports

c,d - input ports

i instantiate the output from transmitter entity - serial_out is the output of the generator entity inside transmitter entity :

serial_out => a ;

i instantiate the output from top entity :

a => b ;

i instantiate the output b to input of the top from test bench to close the loop :

b => c ;

i instantiate the input from top entity :

c => d ;

i instantiate the input from receiver entity - serial_in is the input of the receiver sub entity inside receiver entity:

d=> ser_in ;

after simulation at modelsim there are error massage :

" Unknown formal identifier " for a,b,c,d .

what did i do wrong ?

do i need to instantiate the program deferentially ?

file attached .

14 Replies