set tri-state

U

Urban Stadler

hi

i'm using vhdl to implement a design in a xilinx 95144XL.
how can i set io's to tristate?

thanks
urban
 
P

Peter Hermansson

Urban Stadler said:
hi

i'm using vhdl to implement a design in a xilinx 95144XL.
how can i set io's to tristate?

thanks
urban

Hi,

An example assuming IO-signal "data" is declared as a std_logic_vector:

data <= idata when oe = '1' else (others => 'Z');

In this example "idata" is the internal databus and "oe" an output-enable signal.

/Peter
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top