完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我正在尝试学习DATAPATH、Verilog和配置工具。 我不能找出如何让一个从路由织物平行于ALU输入。根据PSoC 5 TRM,图23-6(节)和图23-25(P170)有一种源的输入到ALU的并行输入路由。我已经启用CFB EN在cfgram,然后选用PI SEL引脚(登记cfg15-14)。我做不出ISI从来没有看到PI在下拉在cfgram段SRCA。我必须手动更改Verilog文件吗?我没能猜到的价值是什么(例如` cs_srca_a0显然是A0)。 提前感谢。 以上来自于百度翻译 以下为原文 Hi, I am trying to learn the datapath, verilog and the configuration tool. I can't work out how to get an input to the ALU from the parrallel in routed fabric. According to the PSoC 5 TRM, fig 23-6 (p.154) and fig 23-25 (p170) there is a way to source the A input to the ALU from the parallel input routing. I've enabled CFB EN in the CFGRAM, and then selected PI SEL to PIN (register CFG15-14). What I can't work out is I never see PI in the drop down for SRCA in the CFGRAM section. Do I have to manually change it in the verilog file? I have not been able to guess what the value is (e.g. `CS_SRCA_A0 is obviously A0). Thanks in advance. |
|
相关推荐
11个回答
|
|
你好,
对ALUCN的SRCA输入来自累加器寄存器或从路由结构中并行输入。在数据路径工具中CFRAM部分的8个配置选择中,每个SRCA下拉都可以使用累加器选择。 并行(in)(PI)可以被选择为静态或动态的输入(PSoC5 TRM FIG 23-25,PG 170)。静态操作涉及将PI SELIT设置为数据路径配置工具中的PIN(CFG15—14)。这迫使ALUASRC在数据路径工具的CFRAM部分中对所有8种配置都是PI。动态操作涉及CFCFM段中的CFB EN位,并在数据路径工具的CFG15—14中启用PI DYNIT。CFB EN位设置在CFGRAMsection上可用的8种配置中的每一种上。 注意,如果在选择中使用并行的PI-SEL或PI-DYN(具有CFBN位集),则CFRM部分中的SRCA输入下拉选择将不影响SRCCANPUT。您可以通过查看由数据路径配置工具生成的Verilog文件来验证选择。例如,Verilog文件将通过下面的行指示累加器或PI选择 累加器选择——“SCYA0SRCYACC” PISSION——“SCA0A0SRCPIN” ——Sathya 以上来自于百度翻译 以下为原文 Hello, SRCA input to the ALU can come from either accumulator registers or Parallel In from routing fabric. The Accumulator selections are available in the SRCA dropdown for each of the 8 configuration selection of CFGRAM section in the Datapath tool. The Parallel In (PI) can be selected as input to ALU either statically or dynamically (PSoC 5 TRM Fig 23-25, pg 170). The static operation involves setting the PI SEL bit to PIN (CFG15-14) in the Datapath configuration tool. This forces the ALU ASRC to be PI for all 8 configurations in the CFGRAM section of the datapath tool. The dynamic operation involves enabling the CFB EN bit in the CFGRAM section and enabling PI DYN bit in CFG15-14 of the datapath tool. The CFB EN bit is set on each of the 8 configurations available in CFGRAM section. Note the SRCA input drop down selection in the CFGRAM section will have no bearing on the SRCA input if PI SEL or PI DYN (with CFB EN bit set) is enabled to use Parallel In selection. You can verify the selections by looking at the verilog file generated by the Datapath Configuration tool. For example, the verilog file will indicate an Accumulator or PI selection by the following line - Accumulator Selection - `SC_A0_SRC_ACC PI Selection -`SC_A0_SRC_PIN --Sathya |
|
|
|
请注意,PSoC 5不支持动态并行输入操作。
萨蒂亚 以上来自于百度翻译 以下为原文 Please note that the dynamic Parallel Input operation is not supported with PSoC 5. Sathya |
|
|
|
请注意,动态并行输入操作不支持PSoC 5。
萨蒂亚 谢谢你的回答。 澄清: PSoC 5这是不可能使用PI动态运行在TRM表示? 因此,为了使用并行输入我必须选择循环流化床EN位所有配置的cfgram? 以上来自于百度翻译 以下为原文 Please note that the dynamic Parallel Input operation is not supported with PSoC 5. Sathya Thanks for your answers. to clarify: for PSoC 5 it is not possible to use the PI dynamic operation as indicated in the TRM? therefore, in order to use parallel input do I have to select the CFB EN bit in all 8 configurations for the CFGRAM? |
|
|
|
SATH发布于24八月2012日下午1:40下午PSP柏树员工4论坛帖子请注意,动态并行输入操作不支持PSoC 5。
萨蒂亚 你从哪里得到这些信息?这对我来说真的很傻 以上来自于百度翻译 以下为原文
Sathya where do you have this information from? This would be really silly for me |
||
|
||
|
|
|
|
PSOC 3的工程样机和生产PSoC 5设备具有原来的UDB体系结构,在并行处理中使用有限。如果你使用这些芯片并联,然后有一点,你可以做自个输入到ALU总是在信号并行。这被理解为限制为PSoC 5lp udb进行了更新,使并联在一个动态切换功能的PSoC 3和生产版本。其他重要的新功能加入udb PSoC 3 / 5lp版本能力设置FIFO,可以读写由udb。这可以提供一些需要的存储的一些应用。以前一边一个FIFO必须连接到UDB和CPU的另一面。萨蒂亚
以上来自于百度翻译 以下为原文 The engineering samples of PSoC 3 and the production PSoC 5 devices had the original UDB architecture and it had limited usage for parallel in. In these chips if you used parallel in, then there was little that you could do since the A input to the ALU would always be the Parallel In signal. This was understood as a limitation and for the production version of PSoC 3 and for PSoC 5LP the UDB was updated to make Parallel In a dynamically switchable feature. The other significant new feature added with the PSoC 3 / 5LP version of the UDB is the ability to set a FIFO up so that it can be both read and written by the UDB. This can provide some much needed storage for some applications. Previously one side of a FIFO must be connected to the UDB and the other side to the CPU. Sathya |
|
|
|
|
|
|
|
需要一个证明,那psoc5不同于psoc5lp说到通路并行:TRM为家庭显示数据通路的部分是相同的。
以上来自于百度翻译 以下为原文 need a proof, that psoc5 is different from psoc5lp when it comes to datapath parallel in: TRM for both families shows that datapath part is identical. |
|
|
|
你在问什么?我想我在这里看到了一些信息,暗示了ppi在PSoC5上被破坏了。我从PSoC5LP开始加入PSoC世界。我可以验证它是否有效。我们使用它为一个8位并行总线使用DMA高速处理器间通信对一些分布式处理器设计在我们的几个产品。你需要看一个工作Verilog吗?
预计起飞时间 以上来自于百度翻译 以下为原文 what are you asking? I think I saw some info on here that said/implied that the PI was broken/unusable on the psoc5. I joined the psoc world starting with the psoc5lp. I can verify that it works on it. We use it for an 8bit parallel bus using dma for high speed interprocessor communication on some distributed processor designs in several of our products. Do you need to see a working verilog? Ed |
|
|
|
|
|
|
|
如果有人感兴趣的话,根据“平方根计算”,PSoC5和PSoC5LP之间的区别是寄存器FIFO。它不工作或存在于PSoC5中。
以上来自于百度翻译 以下为原文 well, if it's interesting to somebody -- according to "square root computation", the difference between psoc5 and psoc5lp is registers fifo. it doesn't work or exist in psoc5. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
361浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
858浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 07:48 , Processed in 1.300990 second(s), Total 98, Slave 82 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号