Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - how to test benching a bidirectional port

 
Thread Tools Search this Thread
Old 10-02-2003, 02:53 PM   #1
Default how to test benching a bidirectional port


Hi All

I would like to test a bi-directional port in a test bench.
To generate the test bench I use Bencher, a GUI tool that is bundled with
Xilinx ISE.
Assigning OUTDATA to PADPIN works fine but when I try to assign a value to
PADPIN form the test bench
Modelsim gives the following error: "Nonresolved signal padpin has multiple
sources."

What is the trick? -Any help is appreciated since I'm starting to be
frustrated.

Thanks in advance
-Jan


-------------------------------------------------

library IEEE;
use IEEE.std_logic_1164.all;

entity BIPAD is port (
PADPIN : inout std_ulogic_vector(15 downto 0);
RD : in std_ulogic;
WR : in std_ulogic;
OUTDATA : in std_ulogic_vector(15 downto 0);
INDATA : out std_ulogic_vector(15 downto 0));
end BIPAD;

architecture test of BIPAD is

begin
PADPIN <= OUTDATA when (WR = '1' and RD = '0') else "ZZZZZZZZZZZZZZZZ";
-- PADPIN <= OUTDATA when (WR = '1' and RD = '0'); --else
"ZZZZZZZZZZZZZZZZZZZZZZZZ";
INDATA <= PADPIN when (WR = '0' and RD = '1');
end test;






jtj
  Reply With Quote
Old 10-02-2003, 05:38 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: how to test benching a bidirectional port
jtj wrote:

> I would like to test a bi-directional port in a test bench.


Related thread:

http://groups.google.com/groups?q=oe_demo+entity

-- Mike Treseler



Mike Treseler
  Reply With Quote
Old 10-02-2003, 07:14 PM   #3
jan
 
Posts: n/a
Default Re: how to test benching a bidirectional port
Hi Mike

Thanks a lot
-Jan

"Mike Treseler" <> wrote in message
news:...
> jtj wrote:
>
> > I would like to test a bi-directional port in a test bench.

>
> Related thread:
>
> http://groups.google.com/groups?q=oe_demo+entity
>
> -- Mike Treseler
>





jan
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
On Your Way to Success: the Test 70-640 jiajiainlove@gmail.com MCTS 1 03-16-2009 11:47 AM
On Your Way to Success: the Test 70-640 jiajiainlove@gmail.com MCITP 0 03-16-2009 01:51 AM
Long, regarding a "lost" COM port smackedass A+ Certification 4 02-05-2007 04:55 PM
The Practice Test Package Development: A New Service on the Certification Market David Johnson A+ Certification 0 01-19-2005 10:52 AM
Re: A+ Test Info (June) RussS A+ Certification 0 08-04-2003 01:16 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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