Urgent Question.

A

Amit

Hello,

I'm writing a test bench. However, I'm having to *.vhd files. What is
the syntax for the test bench when you have two or more entities?

Should I conisder all inputs and outputs of both entities in my test
bench?

Let's say I have:

--en1 is the transmitter part of UART
entity en1 is
port(x, clock, reset: in std_logic;
z1 : out std_logic);
end;

--en2 is the receiver part of UART
entity en2 is
port(y, clock, Enable: in std_logic;
z2 : out std_logic);
end;

and en1 is connected to en2. Is the following test bench component
correct?
should I consider all inputs and outputs of the UART in the component
definitin in test bench architecutre?

Regars,
Amit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,171
Messages
2,570,935
Members
47,472
Latest member
KarissaBor

Latest Threads

Top