PC和altera FPGA之间在C或c ++中的串行通信 [英] serial communication between PC and altera FPGA in C or c++

查看:64
本文介绍了PC和altera FPGA之间在C或c ++中的串行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hI,


我有一个项目。我需要在c或c ++中实现PC

和Altera FPGA之间的串行通信。 FPGA的功能运行良好。它可以将数据发送到uart。


有人知道如何用c或c ++实现它吗?


谢谢


sarah

解决方案

sa *********** @ yahoo.ca (莎拉)写道:

< d5 *** **********************@posting.google.com> :

hI,

我有一个项目。我需要用c或c ++实现PC
和Altera FPGA之间的串行通信。 FPGA的功能运行良好。它可以将数据发送到uart。

有人知道如何用c或c ++实现它吗?




请,将你介意把这个问题带到一个更合适的NG(我几乎可以肯定有一个合适的

comp。<你的操作系统或硬件>。* group在某处),因为

C语言(如这里讨论的)不知道

之类的事情如串行通信

之间DeathStation2000(tm)和SiriusCyber​​neticsCorp。's(tm)

NasalDemonGenerator(tm)"好吧。


事实上,在clc

中发布这样的问题可能会引发一些非常认真的沟通......: - )


无论如何:如果你读过clc'的章程和常见问题,或者

最少花一些时间在这里阅读,你已经知道了。


祝你好运,

Irrwahn


-

谨慎校对看看你有没有说出来。





sarah写道:

hI ,

我有一个项目。我需要用c或c ++实现PC
和Altera FPGA之间的串行通信。 FPGA的功能运行良好。它可以向uart发送数据。

有人知道如何用c或c ++实现它吗?

谢谢

sarah




我无法对C ++发表评论,但C语言在其标准库中没有这些

函数。你可以使用C语言和

扩展库。我用过MarshallSoft。我相信他们

有他们的库的演示版本,你可以下载和

测试。网址是
http://www.marshallsoft.com
-

Al Bowers

美国佛罗里达州坦帕市

mailto: xa *@abowers.combase.com (删除x)
http://www.geocities.com/abowers822/


Irrwahn Grausewitz写道:


< snip>

无论如何:如果你读过clc'的章程和常见问题,


宪章?什么包机?

-
仔细阅读,看看你是否有任何言论。




仔细校对,看看你是否包括在内单词宪章。 :-)


-

Richard Heathfield: biwel@eton.powernet.co.uk

Usenet是一个奇怪的地方。 - Dennis M Ritchie,1999年7月29日。

C FAQ: http://www.eskimo.com/~scs/C-faq/top.html

K& R答案,C书等:< a rel =nofollowhref =http://users.powernet.co.uk/etontarget =_ blank> http://users.powernet.co.uk/eton


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

解决方案

sa***********@yahoo.ca (sarah) wrote in
<d5*************************@posting.google.com> :

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++?



Please, would you mind to take this question to a more
appropriate NG (I''m almost sure there is a suitable
comp.<your OS or hardware>.* group somewhere), as the
C language (as it is discussed here) does not know
anything about things like "serial communication
between DeathStation2000(tm) and SiriusCyberneticsCorp.''s(tm)
NasalDemonGenerator(tm)" at all.

As a matter of fact, posting questions like this in c.l.c
may invoke some very serious communication... :-)

Anyway: if you''d read the c.l.c''s charter and faq, or at
least spent some time reading here, you''d already know.

Good luck,
Irrwahn

--
Proofread carefully to see if you any words out.




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++?

Thanks

sarah



I can not comment on C++ but C language does not have these
functions in its Standard Library. You can use C language with
an extended library. I have used MarshallSoft. I believe they
have demo versions of their libraries that you can dowload and
test. The web address is
http://www.marshallsoft.com
--
Al Bowers
Tampa, Fl USA
mailto: xa*@abowers.combase.com (remove the x)
http://www.geocities.com/abowers822/


Irrwahn Grausewitz wrote:

<snip>

Anyway: if you''d read the c.l.c''s charter and faq,
Charter? What charter?
--
Proofread carefully to see if you any words out.



Proofread carefully to see if you included the word "charter". :-)

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton


这篇关于PC和altera FPGA之间在C或c ++中的串行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆