完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好;
我将设计一个基于同时计数倒计时操作的系统,所以我在寻找实施成本中受限制较少的方法: 是否使用牵引计数器:向上计数器和向下计数器或 使用向上计数器并将逆变器放入外部,将它们用作向下计数器和并联计数器; 谢谢大家 以上来自于谷歌翻译 以下为原文 Hello; I am going to design a system based on counting countdown operations simultaneously, so I am looking for the less constrained method in implementation cost: Is there to use tow counter: up counter and down counter or To use an up counter and put inverters in the out to use them as down counter and counter in parallel; Thanks for all |
|
相关推荐
6个回答
|
|
编写每种方法的示例并比较合成结果不应该花费很长时间。
我的猜测是,一个好的合成器会提出一个相当优化的解决方案 不管你如何编码。 在FPGA中要记住的一件事是LUT的成本是相同的,无论它是“满”的逻辑还是 用作简单的逆变器,因此不同的编码风格不太可能最终 非常不同的脚印。 事实上,当你试图用门来优化某些东西时, 你最终可以在FPGA中占用更大的空间(更多的LUT,每个LUT的逻辑更少)。 对于像Spartan 6这样的一些较新的架构,LUT也比它更“昂贵” 寄存器,因为片中每个LUT有两个寄存器。 所以使用LUT作为逆变器 避免使用寄存器不是一个很好的权衡。 另一方面,在完整实施中 其中计数器的输出在内部用于FPGA,输出反转可以 进入使用它的逻辑 - 所以“逆变器”实际上消失了。 玩的开心, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 It shouldn't take long to code up examples of each method and compare the synthesis results. My guess would be that a good synthesizer would come up with a fairly optimum solution regardless of how you code it. One thing to remember in FPGA's is that a LUT costs the same whether it is "full" of logic or used as a simple inverter, so it's not likely that the different coding styles will end up with very different footprints. In fact often when you try to optimize something in terms of gates, you can end up with a larger footprint in the FPGA (more LUT's with less logic per LUT). Also for some of the newer architectures like Spartan 6, LUT's are more "expensive" than registers since there are two registers per LUT in the slice. So using LUT's as inverters to avoid using registers is not a good trade-off. On the other hand, in a full implementation where the output of counters is used internally to the FPGA, the output inversion can get rolled into the logic that uses it - so the "inverters" actually disappear. Have fun, Gabor -- Gabor |
|
|
|
嗨,我知道你建议我使用另一个计数器,所以首先,我使用大型系统中的计数器,没有引脚连接到IO焊盘。
因此,计数器(CB8CLED)应该被实例化为virtex II中的宏(我使用原理图条目),包括8个FFD,17个mux,16个xor和8个逆变器,所以你认为这是最佳方式! 以上来自于谷歌翻译 以下为原文 Hi, I understand that you advice me to use another counter, so firstly, I used the counters within a large system and no pin is connected to the IO pads. Hence a counter (CB8CLED) should be instantiated as a macro in virtex II (I use the schematic entry) witch consist to 8 FFD, 17 mux, 16 xor and 8 inverters so do you think that this is the optimal way! |
|
|
|
没有使用原理图捕获是最佳的!
------------------------------------------“如果它不起作用 模拟,它不会在板上工作。“ 以上来自于谷歌翻译 以下为原文 Nothing using schematic capture is optimal! ------------------------------------------ "If it don't work in simulation, it won't work on the board." |
|
|
|
基本上,我尝试消耗较少的资源百分比,所以我相信可以在PAR步骤中优化实现,否则原理图捕获和hdl设计之间有什么区别?
以上来自于谷歌翻译 以下为原文 Basically, I try to consume the less percentage of resources, so I believe that is possible to optimize the implementation during PAR step, otherwise what’s the difference between the schematic capture and hdl design? |
|
|
|
Schematic Capture中使用的库元素已针对独立进行了预优化
使用。 它们由预先放置的基元组成,后端无法进一步优化 工具。 当您使用HDL时,合成器可以看到设计的连通性 它决定使用哪些原语。 这样可以更轻松地提出最佳选择 更高层次的设计。 无论如何,对资源产生最大影响的地方 useage在输入(HDL或原理图),在Map中有一些有限的优化 相。 PAR不会对资源使用进行任何进一步优化。 - Gabor - Gabor 以上来自于谷歌翻译 以下为原文 The library elements used in Schematic Capture have been pre-optimised for standalone use. They consist of pre-placed primitives that can't be further optimised by the back-end tools. When you use HDL, the synthesizer has a view of the connectivity of the design as it decides which primitives to use. This makes it easier to come up with an optimal design at a higher level. In any case, the place to have the greatest impact on resource useage is at the input (HDL or schematic), with some limited optimization in the Map phase. PAR does not apply any further optimization in resource usage. -- Gabor -- Gabor |
|
|
|
belkacem8086写道:
基本上,我尝试消耗较少的资源百分比,所以我相信可以在PAR步骤中优化实现,否则原理图捕获和hdl设计之间有什么区别? 哦,对于初学者来说,HDL之所以获胜,是因为它易于理解设计,跨设备系列的可移植性,与源代码控制系统的兼容性(与您的原理图分开!)以及每个人的最爱:当原理图格式被弃用时,您不会被击败。 ----------------------------是的,我这样做是为了谋生。 以上来自于谷歌翻译 以下为原文 belkacem8086 wrote:Oh, for starters, HDL wins due to ease of understanding the design, portability across device families, compatibility with source-code control systems (go diff your schematic!) and everyone's favorite: you're not fscked when the schematic format is deprecated. ----------------------------Yes, I do this for a living. |
|
|
|
只有小组成员才能发言,加入小组>>
2387 浏览 7 评论
2802 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2269 浏览 9 评论
3337 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2437 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
765浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
549浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
378浏览 1评论
1972浏览 0评论
689浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 08:55 , Processed in 1.545014 second(s), Total 87, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号