一旦我设置reg_reset 以下为原文
As soon as I set the reg_reset<='1' FSM output of tt_reset goes high. FSM does not wait for 5sec to do this. I am trying to figure out another way to reset the FSM
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,
我试图检测1pps 20us上升沿3.3 LVTTLsignal的上升沿。 。 我的状态机等待第5个上升沿并输出逻辑高电平。 我移位寄存器信号并检测上升沿。 模拟工作正常。 但是当在FPGA中尝试信号时立即变高。 不等待5秒。 我想找到我做错了什么? 我可以将3.3VLVTTL信号连接到3.3V CMOS输入电路吗? 我认为两者的逻辑水平相同。 谢谢, 以上来自于谷歌翻译 以下为原文 Hi, I am trying to detect rising edge of 1pps 20us rising edge 3.3 LVTTLsignal. . My state machine wait for 5th rising edge and outputs a logic high. I do shift register signal and detect the rising edge. Simulation works fine. But when tried in FPGA signal goes high right away. does not wait for 5sec. I am trying to find what i am doing wrong? Can i interface 3.3VLVTTL signal to 3.3V CMOS input circuit? i think logic levels are same for both. Thanks, |
|
相关推荐
9个回答
|
|
|
如果您发布了代码,我们可能会为您提供更多直接帮助。
因为它与你提供的信息一致,我们都只是在猜测。 我的第一个猜测:您使用什么频率的时钟来检测输入信号的上升沿? 输入信号是否与此时钟正确同步? ----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 May be if you posted your code, we'd be able to give you more direct assistance. As it stands with the information you've provided, we're all just guessing. For my first guess: what frequency of clock are you using to detect the incoming signal's rising edge? Is the incoming signal correctly synchronised to this clock? ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
|
|
嗨,
你只检查过行为模拟吗? 检查所有后期综合和后期实施模拟,您可能会知道哪里出错了。 在比较所有三种模拟时,检查FSM变量的变化,即下一个状态和当前状态。这是它可能不匹配的最大可能性。 希望这可以帮助 谢谢 Shreyas -------------------------------------------------- --------------------------------------------请注意 - 请注明 如果提供的信息有用,请回答“接受为解决方案”。 将Kudos发送给您认为有用且回复的帖子.------------------------------------ -------------------------------------------------- -------- -------------------------------------------------- --------------------------------------------尝试搜索你的答案 在发布新帖子之前在论坛或xilinx用户指南中发出问题。请注意 - 如果提供的信息解决了您的问题,请将答案标记为“接受为解决方案”。给予您认为有用的帖子给予荣誉(右边提供的星号) 并回复.---------------------------------------------- ------------------------------------------------ 以上来自于谷歌翻译 以下为原文 Hi, Have you checked only behavioral simulation? check all post synthesis and post implementation simulation, you might get an idea where is it going wrong. while comparing all three simulations, check for variations in your FSM variables i.e. next state and current state.that is maximum possibility where it can mismatch. hope this helps Thanks Shreyas ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful and reply oriented. ---------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------- Try to search answer for your issue in forums or xilinx user guides before you post a new thread. Kindly note- Please mark the Answer as "Accept as solution" if information provided solves your query. Give Kudos (star provided in right) to a post which you think is helpful and reply oriented. ---------------------------------------------------------------------------------------------- |
|
|
|
|
|
嗨,
从数据表的特性看,我们可以接口LVTTL,LVCMOS。 但是我会建议你在继续之前进行IO模拟。 当你说时钟的第5个上升沿时,这是否意味着时钟的周期为1秒? 你能展示模拟输出和代码,以便我更容易理解。 Chipscope的结果是什么? 查看chipcope以了解它出错的地方。 谢谢,AnirudhPS:请将此标记作为答案,以防它有助于解决您的问题。如果帖子引导您找到解决方案,请给予赞誉。 以上来自于谷歌翻译 以下为原文 Hi, From the datasheet characteristics it looks like we can interface LVTTL, LVCMOS. However i would recommend you to do IO simulation before proceeding. When you say 5th rising edge of the clock, does that mean the period of the clock is 1 sec? Can you show the simulation output and the code so that i should be easier to understand. What is the result in Chipscope? CHeck in chipscope to know where it is going wrong. Thanks, Anirudh PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution. |
|
|
|
|
|
我只做过行为模拟。
我在50MHz时钟运行。 输入脉冲在第二个开始时具有20us宽的上升沿。 1PPS synch reset.txt 2 KB 以上来自于谷歌翻译 以下为原文 I have only done beharvioral simulation. I am running at 50MHz clock. Input pulse is have 20us wide rising edge at the start of second. |
|
|
|
|
|
您确定您的FSM正确重置吗?
----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 Are you sure that your FSM is being reset properly? ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
|
|
一旦我设置reg_reset 以下为原文 As soon as I set the reg_reset<='1' FSM output of tt_reset goes high. FSM does not wait for 5sec to do this. I am trying to figure out another way to reset the FSM |
|
|
|
|
|
我真正的意思是,你能确定当你释放重置时FSM处于你认为应该是的状态吗?
确切地说,FSM的重置源自何处? 如果它在模拟中运行良好,则需要使用其他形式的调试(如chipscope)来查看逻辑并查看发生的情况。 ----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 What I really meant was, can you be sure that the FSM is in the state you believe it should be when you release the reset? Precisely where does the reset to the FSM originate? If it all works nicely in simulation, you'll need to use some other form of debug (like chipscope) to look into the logic and see what is happening. ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
|
|
Chipscope不是XILINX ISE工具包的一部分。
我需要单独购买它。 以上来自于谷歌翻译 以下为原文 Chipscope is not part of XILINX ISE tool kit right. I need to purchase it seperately. |
|
|
|
|
|
sunimal123写道:
Chipscope不是XILINX ISE工具包的一部分。 我需要单独购买它。 是。 ----------------------------是的,我这样做是为了谋生。 以上来自于谷歌翻译 以下为原文 sunimal123 wrote:Yes. ----------------------------Yes, I do this for a living. |
|
|
|
|
只有小组成员才能发言,加入小组>>
3150 浏览 7 评论
3437 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2900 浏览 9 评论
4109 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
3083 浏览 15 评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
1366浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
1205浏览 1评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-18 04:53 , Processed in 0.948862 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1842
