Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > inout to inout

Reply
Thread Tools

inout to inout

 
 
Ken
Guest
Posts: n/a
 
      05-09-2008
Quick question: is it possible to have a scenario where you can use an
FPGA as a true bidirectional pipe without caring about the direction?
I'm referring to problem below:

entity true_bidir is
port ( io_a : inout : std_logic;
io_b : inout : std_logic
);

end entity;

architecture bidir_arch of true_bidir is

begin

io_a <= io_b;
io_b <= io_a;

end architecture;

This will not map (not even through Synplicity), because I'm getting
an error saying, hey, you need a buffer or register between these
pins. So, is it possible with some kind of code trick to allow a true
bidirectional pipe through an FPGA? I don't care about a direction. I
would think, in theory, you could map a 'Z' to a 'Z' and thus not
worry about a buffer. I'm using a Virtex 4.

Thanks

Ken


 
Reply With Quote
 
 
 
 
David Spencer
Guest
Posts: n/a
 
      05-09-2008
"Ken" <> wrote in message
news:deeced2c-1141-403b-917a-...
> Quick question: is it possible to have a scenario where you can use an
> FPGA as a true bidirectional pipe without caring about the direction?
> I'm referring to problem below:
>
> entity true_bidir is
> port ( io_a : inout : std_logic;
> io_b : inout : std_logic
> );
>
> end entity;
>
> architecture bidir_arch of true_bidir is
>
> begin
>
> io_a <= io_b;
> io_b <= io_a;
>
> end architecture;
>
> This will not map (not even through Synplicity), because I'm getting
> an error saying, hey, you need a buffer or register between these
> pins. So, is it possible with some kind of code trick to allow a true
> bidirectional pipe through an FPGA? I don't care about a direction. I
> would think, in theory, you could map a 'Z' to a 'Z' and thus not
> worry about a buffer. I'm using a Virtex 4.
>
> Thanks
>
> Ken
>
>


Simple answer is no - you need to know what direction the signal is at any
one time to control the I/O buffers. If you can't understand why, run the
FPGA Editor within ISE and look at the schematic of an IOB (or look it up in
the data sheet).


 
Reply With Quote
 
 
 
 
Aiken
Guest
Posts: n/a
 
      05-09-2008
you cannot use inout internally.

On May 8, 8:46 pm, Ken <kker...@gmail.com> wrote:
> Quick question: is it possible to have a scenario where you can use an
> FPGA as a true bidirectional pipe without caring about the direction?
> I'm referring to problem below:
>
> entity true_bidir is
> port ( io_a : inout : std_logic;
> io_b : inout : std_logic
> );
>
> end entity;
>
> architecture bidir_arch of true_bidir is
>
> begin
>
> io_a <= io_b;
> io_b <= io_a;
>
> end architecture;
>
> This will not map (not even through Synplicity), because I'm getting
> an error saying, hey, you need a buffer or register between these
> pins. So, is it possible with some kind of code trick to allow a true
> bidirectional pipe through an FPGA? I don't care about a direction. I
> would think, in theory, you could map a 'Z' to a 'Z' and thus not
> worry about a buffer. I'm using a Virtex 4.
>
> Thanks
>
> Ken
> kker...@gmail.com


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting an inout port to another inout port THurkmans VHDL 14 08-11-2009 08:32 PM
connecting std_logic inout ports and std_logic_vector inout port =?ISO-8859-15?Q?Fr=E9d=E9ric_Lochon?= VHDL 3 11-08-2007 03:55 AM
composite inout signals with different driver directions Ralph Friedrich VHDL 1 11-07-2003 11:05 PM
Question: inout signal assignment John Potter VHDL 1 09-08-2003 10:51 AM
Inout signal Tianlun VHDL 1 06-30-2003 04:44 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57