简体   繁体   English

通过FPGA和1/0引脚连接Parallela板和rPI的堆栈

[英]Connect stack of Parallela boards and a rPI via FPGA and 1/0 pins

I want to conect my Pi and Parallella such that the Pi does the GPU side and the Parallella stack this is to be controled by a third Parallella 我想对我的Pi和Parallella进行连接,以使Pi在GPU端运行,而Parallella堆栈则由第三个Parallella控制

I think the best way to do this is through an FPGA. 我认为最好的方法是通过FPGA。 Is this possible and a good way to do it? 这可能并且是实现的好方法吗?

Also what structure should I use and how should I start to implement it? 另外,我应该使用什么结构以及应该如何开始实施呢?

I know little VHDL and Verilog and do not want to use paid software. 我几乎不了解VHDL和Verilog,也不想使用付费软件。

I am eager to learn and have a lot of time to do it though so no "simple but bad solutions". 我渴望学习并且有很多时间去做,尽管没有“简单但糟糕的解决方案”。

I will up load the project on Git when done 完成后,我将在Git上加载项目

The solution depends on the bandwidth and latency requirements. 解决方案取决于带宽和延迟要求。 You are right that FPGA provides the largest bandwidth and lowest latency. 没错,FPGA提供了最大的带宽和最低的延迟。 However, do you really need such good performance? 但是,您真的需要这么好的性能吗? Maybe USB or Ethernet connections are good enough. 也许USB或以太网连接就足够了。

For the FPGA solution, consider the secondary pi and parallella as two peripherals for the primary pi, and assign different address spaces for them. 对于FPGA解决方案,将次要pi和parallella视为主要pi的两个外设,并为其分配不同的地址空间。 The communications among three devices are based on polling initiated by the primary pi. 三个设备之间的通信基于主要pi发起的轮询。 FPGA should pass the signaling on data/address bus to the two peripherals with compatible I/O timing. FPGA应该以兼容的I / O时序将数据/地址总线上的信令传递给两个外设。 Peripherals consider the FPGA as a RAM, and should listen to any data/controls with their best effort. 外围设备将FPGA视为RAM,并应尽力聆听任何数据/控件。 FPGA should buffer the data/control signals if peripherals cannot respond in real-time. 如果外设无法实时响应,FPGA应该缓冲数据/控制信号。

Overall, it's a very tough work. 总体而言,这是一项非常艰巨的工作。 I'd like to see the source code if the FPGA solution works. 如果FPGA解决方案有效,我想查看源代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM