完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,大家好:
我正在处理的应用程序的吞吐量为21MBps(168Mbps)。 我想从EP1C12F256C6切换到XC3S200AN-FTG256。 我在ISE中合成了RTL代码,它需要26%的XC3S200AN-FTG256切片,即1792个切片中的473个。 FPGA没有软核,它全部由逻辑设计构成。 现在我们必须恢复实时数据,然后在PC中显示它。 使用USB接口是必须的。 我想到了两种解决方案。 一种是直接将数据传输到PC,另一种是首先将数据传输到外部Flash,然后使用PC从Flash中读取数据。 由于我对USB的了解有限,前者需要FPGA作为主机,而后者需要FPGA作为外设。 (1)您认为哪种解决方案更合适? (2)根据您的经验,USB相关模块会消耗多少片? 我不确定上述信息是否足以让您理解我的问题。 我是USB的新手。 所以如果有人能帮助我,我将非常感激。 非常感谢。 最好的Regard.Ninos K. 以上来自于谷歌翻译 以下为原文 Hi , everyone: The application I am handling now has a throughput of 21MBps (168Mbps). I want to switch from EP1C12F256C6 to XC3S200AN-FTG256. I've synthesized the RTL codes in ISE and it takes 26% of XC3S200AN-FTG256's slices, that is, 473 out of 1792 slices. FPGA doesn't have softcore and it's all made of logic design. Now we must restore real-time data and then display it in PC. Using USB interface is a must. Two solutions came into my mind. One is to directly transfer the data to PC, another is to first transfer data to an external Flash, then use PC to read the data out from Flash. With my limited knowledge of USB, the former one requires the FPGA to be a host and the latter one means the FPGA to be a periperal. (1) Which solution do you think is more appropriate? (2) According to your experience, how many slices will the USB-related module consume? I am not sure if the above information is enough for you to understand my problem. I'm a total freshmen of USB. So I'm very grateful if anyone can help me out. Thanks very much. Best Regard. Ninos K. |
|
相关推荐
8个回答
|
|
嗨尼诺斯,
如何通过EP1C12F256C6完成USB连接? 你在那里使用了一些IP核吗? 为什么你认为FPGA设备直接连接到PC时必须是USB主机? 控制通信仍然可以由PC完成。 这取决于驱动程序如何检测然后执行数据传输的需要。 但这更像是一个软件问题。 将FPGA与USB2连接的一种常见且廉价的方法是通过赛普拉斯FX2处理器。 有几种板可以提供这种组合以及软件和IP支持。 有一个很好的综合 Eilert 以上来自于谷歌翻译 以下为原文 Hi Ninos, how was the USB connection done with the EP1C12F256C6? Did you use some IP-Core there? Why do you think the FPGA-device must be a USB-Host when directly connecting it to a PC? Controll of the communication can still be done by the PC. It depends on the driver how the need of a data transfer is detected and then performed. But that's more of a software question. One common and cheap method of connecting an FPGA with USB2 is via a Cypress FX2 Processor. There are several boards available that offer this combination together with software and IP support. Have a nice synthesis Eilert |
|
|
|
嗨eilert:
谢谢你的重播。 :) EP1C12F256C6板没有USB接口。 我计划从EP1C12F256C6切换到XC3S200AN-FTG256并添加USB连接到XC3S200AN-FTG256。 我想使用FPGA作为USB主机,以便通过Flash和FPGA之间的USB接口将数据转换为外部闪存。 但是,我找不到支持高速传输(480Mbps)的USB主控制器。 所以我想唯一的选择是将FPGA视为USB外设。 是的,我检查了赛普拉斯和FX2LP系列适合USB外围设备的解决方案。 它集成了USB 2.0收发器,智能SIE,增强型8051微处理器。 我认为主要任务是实现驱动程序和用户应用程序。 在8051 MCU或FPGA中,应该在哪里完成这项任务? 对不起,如果我的问题似乎很愚蠢。 :) 再次感谢。 最好的Regard.Ninos K. 以上来自于谷歌翻译 以下为原文 Hi eilert: Thank you for your replay. :) The EP1C12F256C6 board doesn't have USB interface. I plan to switch from EP1C12F256C6 to XC3S200AN-FTG256 and add USB connection to XC3S200AN-FTG256. I want to use FPGA as a USB host so that I can wirte the data into an externanl Flash via a USB interface between the Flash and FPGA. However, I failed to find a USB host controller supporting high-spped transfer(480Mbps). So I guess the only choice is to treat FPGA as a USB periperal. Yes, I checked Cypress and FX2LP series suit for the solution of USB periperal. It integrates USB 2.0 transceiver, smart SIE, and enhanced 8051 microprocessor. I think the main task is to implement the driver and user application. Where should this task be done, in 8051 MCU or FPGA? Sorry if my question seems stupid. :) Thanks again. Best Regard. Ninos K. |
|
|
|
我认为主要任务是实现驱动程序和用户应用程序。
在8051 MCU或FPGA中,应该在哪里完成这项任务? 对不起,如果我的问题似乎很愚蠢。 :) 一般来说,两者都需要一些工作,但根据设计的复杂程度,它会有很大差异。 在FPGA上,您可以非常简单地使用UART,然后使用串行到USB芯片,或者在频谱的另一端,使用USB PHY并在FPGA上实现完整的USB堆栈。 如果您正在考虑使用赛普拉斯FX2,您可能会对FPGALink感兴趣,它是一个开源VHDL模块,FX2固件和LibUSB驱动程序,允许高速USB通信。 以上来自于谷歌翻译 以下为原文
Generally it would require some work for both, but it will vary a lot depending on how complex your design is. On the FPGA you could very simply use a UART, and then a serial-to-USB chip, or at the other end of the spectrum, use a USB PHY and implement the full USB stack on the FPGA. If you're considering the Cypress FX2, you might be interested in FPGALink, which is an open source VHDL module, FX2 firmware, and LibUSB driver that allows high speed USB communication. |
|
|
|
嗨尼诺斯,
是的,为USB接口寻找IP要么非常昂贵,要么需要紧张的工作,这可能会超出您的项目规划。 此处还可以找到更多带有FX2芯片的电路板,制造商还提供了用于驱动程序开发的SDK: http://www.ztex.de/ 做一些阅读,看看提供的例子,如果有的话。 因此,您可以更好地了解可能性和完成方式。 有一个很好的综合 Eilert 以上来自于谷歌翻译 以下为原文 Hi Ninos, yes, finding IP for a USB interface is either very expensive or requires intense work which probably would exceed your project planning. Some more boards with the FX2 chip can also be found here, and the manufacturer also provides a SDK for the driver development: http://www.ztex.de/ Do some reading and take a look at provided examples if there are any. So you get a better idea of what is possible and how things are done. Havea nice synthesis Eilert |
|
|
|
FTDI的FT232H怎么样?
它可以为您提供FIFO接口,从而使FPGA到USB芯片接口更简单。芯片似乎提供200Mbps的吞吐量。 以上来自于谷歌翻译 以下为原文 How about FT232H from FTDI. It can provide you a FIFO interface and thus making FPGA to USB chip interface simpler.The chip seems to provide a throughput of 200Mbps. |
|
|
|
嗨,
你是正确的数据表声称: 数据传输率。 当配置为RS232 / RS422 / RS485 UART接口时,FT232H支持高达12 Mbaud的数据传输速率,在同步245并行FIFO接口上最高可达40 Mbytes /秒,在异步245 FIFO接口上最高可达8 Mbyte / Sec。 然而,这个设备是相当新的(2011年的数据表),我不知道有一个已经在板上的板。 你做? 当然,可以使用FTDI UM232H开发模块并将其连接到提供足够IO引脚的其他板上。 亲切的问候 Eilert 以上来自于谷歌翻译 以下为原文 Hi, you are right the datasheet claims: Data Transfer rate. The FT232H supports a data transfer rate up to 12 Mbaud when configured as an RS232/RS422/RS485 UART interface upto 40 Mbytes/second over a synchronous 245 parallel FIFO interface or up to 8 Mbyte/Sec over a asynchronous 245 FIFO interface. However, this device is quite new (datasheet from 2011) and I don't know of a board that has this already onboard. Do you? Of course one may use the FTDI UM232H Development Modules and attach this to some other board that provides sufficient IO-pins. Kind regards Eilert |
|
|
|
我使用了一些FTDI的其他产品,特别是他们的USB UART桥接器。
对于它的价值,我对FTDI的Windows USB驱动程序赞不绝口。 与其他一些基于USB桥的产品(未命名)不同,我使用的FTDI设备(和驱动程序)从未失败过。 他们每次都坚如磐石。 我宁愿使用可靠驱动程序的无聊硬件而不是增压硬件,其驱动程序似乎随机工作(或不工作)。 我还没有机会使用FT232H设备。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 I have used some of FTDI's other products, specifically their USB <--> UART bridges. For what it's worth, I have nothing but praise for FTDI's Windows USB drivers. Unlike some other USB-bridge based products (which shall go un-named), the FTDI devices (and drivers) I've used have never failed. They have been rock-solid, every time. I'd rather have boring hardware with dependable drivers than supercharged hardware with drivers that seem to work (or not work) at random. I've not yet had a chance to use the FT232H device. -- Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
嗨,joelby,Eilert,waris.mohammad和Bob:
我检查了你建议的解决方案和芯片,然后选择FT232H。 我认为它需要最少的USB协议知识,我可以专注于PC上的应用软件和FGPA中的RTL代码。 谢谢大家的帮助! 最好的Regard.Ninos K. 以上来自于谷歌翻译 以下为原文 Hi, joelby, Eilert, waris.mohammad and Bob: I have checked the solution and the chip you suggested and choose FT232H. I think it requires the least knowledge of USB protocol and I can concentrate on the application software on PC and RTL codes in FGPA. Thank you all for your kind helps! Best Regard. Ninos K. |
|
|
|
只有小组成员才能发言,加入小组>>
2363 浏览 7 评论
2782 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2248 浏览 9 评论
3326 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2414 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
736浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
526浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
339浏览 1评论
745浏览 0评论
1943浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-11 00:59 , Processed in 1.096093 second(s), Total 60, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号