Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > VHPI guide

Reply
Thread Tools

VHPI guide

 
 
Karthikeyan
Guest
Posts: n/a
 
      10-15-2004
Hi
I have just started to learn VHPI.
I met lot of problems when I tried to interface a C code with the VHDl.
I have a small Transmitter design as

entity uart_tx is
port (
clk16: in STD_LOGIC;
async_reset: in STD_LOGIC;
data: in STD_LOGIC_VECTOR (7 downto 0);
data_size: in STD_LOGIC_VECTOR (2 downto 0);
send_data: in STD_LOGIC;
parity_type: in STD_LOGIC;
tx: out STD_LOGIC;
busy: out STD_LOGIC
);
end uart_tx;

Whenever clk16 is high, If input send_data is high, the design should
take the 'data[data_size]' input and deliver output via 'tx' one bit per
cycle with start bit('0') and end with parity bit & stop bit('1').

This is what my requirement. I have done this in Verilog using PLI.

But here I feel difficult.

Any one give better solution for this and give better link/book to learn
VHPI.

by
karthikeyan
TooMuch Semiconductor Solutions.,
Bangalore.

 
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
VHPI Information PlayDough VHDL 0 01-27-2009 05:46 PM
VHPI Books and/or Tutorials PlayDough VHDL 0 07-03-2007 03:37 PM
VHPI Books PlayDough VHDL 2 10-23-2006 08:46 PM
need help in using VHPI joyceseq VHDL 0 07-23-2005 03:12 AM
Any documentation with examples on coming VHPI C interface ? Boris Boutillier VHDL 0 06-15-2004 11:08 AM



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