K
Ken
Guest
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
kkersti@gmail.com
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
kkersti@gmail.com