完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我已经使用PSoC SESESEI FIFOIN组件,但是找不到FIFOOUT版本。谁能给我指出正确的方向或者分享这样的东西?
这是非常令人沮丧的是,这些组件仍然不包括与PSoC creator。在阅读了有关UDB编辑器和DATAPATH的几个小时之后,我意识到创建自己的版本不是一项简单的任务。获取数据到PLD部分不应该是我设计中最难的部分! 感谢阅读 以上来自于百度翻译 以下为原文 I have used the PSoC Sensei FIFOin component, but cannot find a FIFOout version. Can anyone point me in the right direction or share something like this? It is very frustrating that these components are still not included with PSoC creator. After a few hours reading about the UDB editor and datapath, I realize that creating my own version is not a simple task. Getting data to the PLD section should not be the hardest part of my design! Thanks for reading |
|
相关推荐
9个回答
|
|
没有FIFOUT组件。我理解挫折开始UDB设计。通常,UDB不需要并行输入。你能描述一下你想达到什么目的来进一步建议你吗?
奥迪赛1 以上来自于百度翻译 以下为原文 There is no FIFOout component. I understand frustration starting UDB design. Typically parallel input is not required for UDB. Can you describe what you trying to accomplish to further advise you? odissey1 |
|
|
|
目标是用FPGA来回传送好大小的数据块。 我注意到的第一件事是外部存储器接口组件。他们看起来很理想,直到我注意到他们的公共汽车钟最大是33兆赫。 因为在FPGA方面有很大的灵活性,所以我决定我可以“滚我自己”的界面。这将避免拖垮整个总线时钟,并可能使时钟与其他模块混淆。我认为16位FIFOIN和FIFOUT与DMA和一点胶水逻辑将是解决方案。不幸的是,我没有意识到获得一个工作的先进先出的范围。 然后,我认为8位FIFOIN和8位控制寄存器与DMA可能是足够的。DMA效率低,但很可能仍然能完成任务。在这种情况下,我不知道什么时候用新的字节更新控制寄存器,所以我不能得到一个可用的写信号到FPGA。 以上来自于百度翻译 以下为原文 The goal is to transfer good size blocks of data back and forth with an FPGA. The first thing I noticed was the external memory interface components. They seemed ideal until I noticed their bus clock maximum is 33Mhz. Since there is great flexibility on the FPGA side, I decided I could "roll my own" interface. This would avoid dragging down the whole bus clock and possibly messing with the clocks to my other modules. I thought 16 bit FIFOin and FIFOout with DMA and a bit of glue logic would be the solution. Unfortunately, I didn't realized the scope of getting a working FIFOout. Then I thought 8 bit FIFOin and 8 bit control register out with DMA might be adequate. The DMA would be less efficient, but would probably still get the job done. In this scenario, I don't know when the control register is updated with a new byte, so I can't get a usable write signal to the FPGA. |
|
|
|
想再看***尘 发表于 2018-12-5 09:13 我仅次于你的感情。我已经在一些PSoC项目上辛辛苦苦地工作,以绕过GPP对FPGA的GoFIFO支持的缺失。 以上来自于百度翻译 以下为原文 I second your sentiment. I've worked really hard on a few PSOC projects to get around the lack of goof fifo support form GPP to FPGA and back. |
|
|
|
没有FIFOOUT组件,如果您的需求是FIFO内容的并行输出,这是不可能的直接与UDBs,但是您可以有一个并行输出的累加器从默认实例的数据通路,你应该实例化CypPSo33DP,同时选择数据路径。
如果你打算使用DMAS,你可以把内容传送到FIFO,把它推到累加器中的一个数据通路状态,输出将被驱动在并行输出上。 我附上了一个组件,我用一个计数器的16位并行输出来开发它。请注意,这只是为了您的参考,可能不是生产准备好的。 计数器042V4.ZIP 3兆字节 以上来自于百度翻译 以下为原文 There is no FIFOout component , If your requirement is a parallel output of FIFO content, this is not possible with directly with UDBs however you can have a parallel output of the accumulator from the default instance of the datapath, you should instantiate cy_psoc3_dp while selecting the datapath. And if you are planning to use DMAs you can transfer content to FIFO, push it into Accumulator in one of the state of datapath , the output will be driven on the parallel output. I'm attaching a component that I developed some time back with 16bit parallel output of a counter .Please note that this is just for your reference and may not be production ready.
|
|
|
|
60user55 发表于 2018-12-5 09:45 谢谢你的建议。 对于一个简单的开始,我认为我可以从CPU写入A0,并在PO上输出。到目前为止,我没有成功。 查看DATAPATH块图,似乎PO可以由A0或A1提供。 在数据路径配置工具中是否有一个将PO连接到A0或A1的设置? 以上来自于百度翻译 以下为原文 Thanks for the advice. For a simple start I thought I could write to A0 from the CPU and output on PO. So far I am am having no success. Looking at the datapath block diagram, it appears that PO could be sourced by A0 or A1. Is there a setting in the Datapath Configuration Tool that connects PO to A0 or A1? |
|
|
|
想再看***尘 发表于 2018-12-5 09:52 它在通用数据路径实例的输出端口声明中。请检查前面的响应中附带的示例。 以上来自于百度翻译 以下为原文 Its in the output port declaration of the generic datapath instance .Please check the example attached in the previous response. |
|
|
|
我修正了一些错误,得到了0到PO数据流。我仍然不明白为什么PO连接到A0(与A1或开放)。我已经前进了,不管怎样,得到了F0到A0负载工作。对状态和控制位的多一点工作应该产生一个可用的组件。 以上来自于百度翻译 以下为原文 I fixed some errors and got A0 to PO data flowing. I still don't understand why PO is connected to A0 (vs. A1 or open). I have moved on regardless and got the F0 to A0 load working. A little more work on status and control bits should yield a usable component. |
|
|
|
附上一个测试程序。它发出16个字的脉冲串。没有保证,但FIFOUT组件目前工作。也许它会对其他人有用。
FIFOTest.CyWrk.CaseV01.Zip 600.4 K 以上来自于百度翻译 以下为原文 A test program is attached. It clocks out bursts of 16 bit words. No guarantees, but the FIFOout component is working so far. Maybe it will be useful to someone else.
|
|
|
|
想再看***尘 发表于 2018-12-5 10:25 伟大的组成部分!谢谢与社区分享。 奥迪赛1 以上来自于百度翻译 以下为原文 Great component! Thank you for sharing with community. odissey1 |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2105 浏览 1 评论
1851 浏览 1 评论
3669 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
568浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
422浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
437浏览 2评论
383浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
915浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 03:17 , Processed in 0.977890 second(s), Total 91, Slave 75 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号