Java GUI 和 FPGA

发布于 2024-08-11 02:41:41 字数 194 浏览 7 评论 0原文

我研究了一个在Java环境下编写的机器人模拟器。但是机器人上的声纳扫描模拟和一些驱动算法的计算负担降低了模拟器的性能。

因此,我决定使用 fpga 模块并将计算负担置于其上。我有用于此实现的 spartan 3a 开发套件。

有没有人有任何与 PC 上的 java 程序与 fpga 代码通信相关的文档或应用程序示例。

谢谢。

I study on a robot simulator that written on Java environment.But sonar scan simulations and computational burden of some driven algorithms on robot drop my simulator's performance.

So ı have decided to use fpga module and put the computational burden on it.I have spartan 3a development kit for this implemenatation.

Does anyone has any document or application sample that related with communication of java program on PC with fpga code.

thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

聊慰 2024-08-18 02:41:41

PC 和 FPGA 板之间有哪些接口?这将定义您如何使用 Java 访问开发板。您使用哪个开发套件?

但是...在此之前,您是否尝试过模拟您打算推送到 FPGA 的算法,以确保它们是可行的,并且它们加速您的代码的正确部分?我之所以这么问,是因为有时 FPGA 被吹捧为所有性能问题的解决方案,但如果它们不适合当前的问题,您只需将问题推到其他地方(通常是 PC 和 FPGA 板之间的通信瓶颈)

What interfaces do you have between the PC and the FPGA board? That will define how you use Java to access the board. Which dev kit are you using?

But... before that, have you attempted to simulate the algorithms you propose to push out to the FPGA to make sure they are feasible, and that they will speed up the right bit of your code? I only ask because on occasion FPGAs are touted as the solution to all performance problems, but if they don't suit the problem at hand, you just push the problem elsewhere (often to a comms bottleneck between the PC and the FPGA board)

紫竹語嫣☆ 2024-08-18 02:41:41

阅读此内容,并行和串行端口编程

它将对您解决此类问题有很大帮助。

Read this, Programming Parallel and Serial Ports.

It will help you a lot in such problems.

入怼 2024-08-18 02:41:41

汤普森先生;

感谢您的建议,您的说法是合理的...

让我解释更多...

我的fpga板是xilinx spartan 3a开发套件,具有USB连接、以太网和RS232到PC。
(http://www.xilinx.com/products /devkits/HW-SPAR3A-SK-UNI-G.htm

所以我打算使用它。

至于性能提升,我的首要目的是开发 3D 环境中的声纳模拟系统。其次,我将尝试加快包含基本数学运算的计算过程。

我计划设计vhdl代码,以便通过字节码从给定环境获取声纳读数到fpga。所以我必须编写一个java代码,可以与fpga生成的信号进行通信。

所以我真正的问题现在出现了。 !!!

如何设置fpga信号和java代码变量之间的通信原理。

多谢。

Mr Thompson;

Thanks for your advices your sayings are reasonable ...

let me expalin more..

my fpga board is xilinx spartan 3a developmant kit that having usb coonection and ethernet and rs232 to PC.
(http://www.xilinx.com/products/devkits/HW-SPAR3A-SK-UNI-G.htm)

So ı intended to use it.

As for performance progression, ı purpose to develop a sonar simulation system wtihin 3D environment as a primary reason.At the second hand,ı will try to speed up computational processes that is containing basic mathematical operations.

I plan to design vhdl codes so as to implement sonar readings acquired from given environemnts via byte code to fpga.So ı have to write a java code that can communicate with the generated signals from fpga.

So my real question arises now. !!!

How can ı set a communication thecnique between the fpga signals and java code variables.

thanks alot.

攒眉千度 2024-08-18 02:41:41

我认为使用以太网端口比带 RAM 块的 rs232 好得多..You
可能知道通过 TCP/IP 的套接字编程方法。我多次使用 java 套接字通过 TCP/Ip 与我的计算机进行对话。因此,这里发生的活动与我们的 FPGA PC 通信类似。使用 Fpga IP CORE Mac 设施 ı尝试给我的fpga分配一个IP地址,然后我建议将java sockets引到FPGA IP CORE上进行通信。

作为我们讨论的结果,我现在的最终问题是是否有人在 fpga startar 套件上使用以太网链路(即 IP CORE MAC)???

非常感谢

您的回答:

汤普森先生,
米达波尔
和威利斯克罗夫特先生。

I think using ethernet port is much better than rs232 with Ram block..You
may know the socket programming methods via TCP/IP.I made talk my computers via TCP/Ip using java socket at many times.So it is similiar activity with our FPGA PC comm that takes place in here.Using Fpga IP CORE Mac facility ı try to assign an IP address to my fpga.Then ı propose to lead java sockets to FPGA IP CORE so as to communicate.

As a consequence of our discussions yet, my ultimate question now is does anyone use the ethernet link i.e IP CORE MAC on fpga startar kit ???

thanks alot,

for your answers:

Mr.Thompson,
Medapol
and Mr.Wiliscroft.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文