469,322 Members | 1,652 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,322 developers. It's quick & easy.

serial communication between PC and Altera FPGA in c++ or c

hI,

I have a project. I need to realise serial communication between PC
and Altera FPGA in c or c++. The function of FPGA is working well. it
can send data to uart.

Does anybody know how to realise it in c or c++?

Thanks

sarah
Jul 19 '05 #1
1 3602
sarah wrote:
hI,

I have a project. I need to realise serial communication between PC
and Altera FPGA in c or c++. The function of FPGA is working well. it
can send data to uart.

Does anybody know how to realise it in c or c++?


There is no built in support for any type of I/O port in the standard
C/C++ libraries. So your only option is to use platform-specific code in
your C/C++ program -- e.g., custom libraries, operating system services,
etc.

For this particular question, your best bet would be to ask for help in
the newsgroups and/or mailing lists that are dedicated to programming
issues for the specific OS/hardware platform you're working with --
e.g., the Linux programming newsgroups; the Win32 programming
newsgroups; the MacOS programming newsgroups, etc. Those are the folks
who can help you with C/C++ programming questions that do not have
"standard C/C++" answers.

FWIW, the Google (http://www.google.com) search engine is your friend!
;-) For example, if you want to write a C/C++ program for a PC running
Microsoft Windows 2000, and you want that C/C++ program to use the
serial port, try a Google search using the following words:

microsoft windows 2000 serial port C++

--
Jim

To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andreas Horneff | last post: by
1 post views Thread by george jetson | last post: by
3 posts views Thread by carmen | last post: by
6 posts views Thread by Leandro Berti via DotNetMonster.com | last post: by
reply views Thread by Dhananjay | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.