完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我正在vhdl中写一个向上/向下计数器。当我模拟行为时这是正确的但是RTLschematic似乎是错误的。
似乎没有信号连接到计数器(图中的m_buf1)。为什么会发生这种情况? 图书馆IEEE; 使用IEEE.STD_LOGIC_1164.ALL; 使用ieee.std_logic_arith.all; 使用ieee.std_logic_unsigned.all; 实体counter8是 端口(数据:输入STD_LOGIC_VECTOR(7 downto 0); reset:在STD_LOGIC中; EN:在STD_LOGIC中; load:在STD_LOGIC中; up:in bit; clk:在STD_LOGIC中); 结束计数器8; 架构行为的反8是 signal m_buf:std_logic_vector(7 downto 0):=“00000000”; 开始 过程(CLK,复位) 开始 如果reset ='0'则 - 重置计数器 m_buf 以上来自于谷歌翻译 以下为原文 Hi, I am writing an up/down counter in vhdl.It is correct when I simulated behaviorally but RTL schematic seems wrong. It seems that no signals connect to the counter(m_buf1 in the figure).Why did it happen? library IEEE;use IEEE.STD_LOGIC_1164.ALL;use ieee.std_logic_arith.all;use ieee.std_logic_unsigned.all;entity counter8 is Port ( data : inout STD_LOGIC_VECTOR (7 downto 0); reset : in STD_LOGIC; en : in STD_LOGIC; load : in STD_LOGIC; up : in bit; clk : in STD_LOGIC);end counter8;architecture Behavioral of counter8 issignal m_buf:std_logic_vector(7 downto 0):="00000000";beginprocess(clk,reset)beginif reset='0' then --reset the counterm_buf<="00000000";elsif (clk'event and clk='1' ) then --rising edge if load='0' then m_buf<=data;--load dataelse --enable the counter if up='1' then m_buf<=m_buf+1; else m_buf<=m_buf-1; end if; end if;end if;end process;process(m_buf,load) beginif(load='1') then---data<=m_buf;elsedata<="ZZZZZZZZ";end if; end process;end Behavioral; |
|
相关推荐
5个回答
|
|
|
嗨,
因为RTL-Viewer过度优化了原理图,因此并未显示所有连接。 这是你在许多线程中发现的常见问题。 这很烦人,但只是忽略了RTL视图。 至于现在这个工具比初学者更有帮助。 最好看一下合成报告,了解有关合成硬件的信息。 如果您的模拟运行良好,一切都很好。 有一个很好的综合。 eilert 在原帖中查看解决方案 以上来自于谷歌翻译 以下为原文 Hi, because the RTL-Viewer is overoptimizing the schematic, and thus not all connections are shown. It's a common problem you find in a number of threads. It's annoying, but simply ignore the RTL view. As for now this tool is more confusing than helpful for beginners. Better take a look at the synthesis report for informations about the synthesized hardware. If your simulation runs well, everything is fine. Have a nice synthesis. eilert View solution in original post |
|
|
|
|
|
嗨,
因为RTL-Viewer过度优化了原理图,因此并未显示所有连接。 这是你在许多线程中发现的常见问题。 这很烦人,但只是忽略了RTL视图。 至于现在这个工具比初学者更有帮助。 最好看一下合成报告,了解有关合成硬件的信息。 如果您的模拟运行良好,一切都很好。 有一个很好的综合。 eilert 以上来自于谷歌翻译 以下为原文 Hi, because the RTL-Viewer is overoptimizing the schematic, and thus not all connections are shown. It's a common problem you find in a number of threads. It's annoying, but simply ignore the RTL view. As for now this tool is more confusing than helpful for beginners. Better take a look at the synthesis report for informations about the synthesized hardware. If your simulation runs well, everything is fine. Have a nice synthesis. eilert |
|
|
|
|
|
这很烦人,但只是忽略了RTL视图。
我在这些论坛中看到了技术视图(而不是RTL视图)更有用的建议。 技术视图原理图有何不同? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 It's annoying, but simply ignore the RTL view. I've read suggestions in these forums that the technology view (rather than the RTL view) is more useful. Any difference in the technology view schematic? -- 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. |
|
|
|
|
|
|
|
|
|
|
|
嗨鲍勃,
确认后,技术视图会创建一个包含所有连接的正确方案。 但是因为它只显示了一堆LUT和FF,所以它不提供您想要在RTL视图中看到的信息。 RTL查看器的第一个版本工作得很好,也许Xilinx程序员应该将他们的存储库回滚到这些版本并重新开始。 亲切的问候 Eilert 以上来自于谷歌翻译 以下为原文 Hi Bob, confirmed, the Technology view creates a proper schemetic with all connections in it. But since it only shows you a bunch of LUTs and FFs it does not provide the informations you want to see in the RTL view. The first versions of the RTL viewer worked quite good, maybe the Xilinx programmers should roll back their repositories to these versions and start over. Kind Regards Eilert |
|
|
|
|
只有小组成员才能发言,加入小组>>
3118 浏览 7 评论
3407 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2874 浏览 9 评论
3966 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
3057 浏览 15 评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
1325浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
1167浏览 1评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 10:13 , Processed in 3.511081 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2608
