2612 views|3 replies

42

Posts

0

Resources
The OP
 

FPGA button problem [Copy link]

file:///C:\Users\Suqing\AppData\Roaming\Tencent\Users\1161848701\TIM\WinTemp\RichOle\()@}D}%KV00@P4$H)JORZ41.png Is there any difference between turning on and off the comment? Why can the reset signal be written like this but the key signal cannot (key is the signal after shaping)



TIM图片20190411094351.png (5.68 KB, downloads: 0)

TIM图片20190411094351.png
This post is from FPGA/CPLD

Latest reply

It is not recommended to write like this. It is better to connect the clock port of the register to the clock.  Details Published on 2019-4-14 10:57
 

2113

Posts

0

Resources
2
 
Brother, your key is equivalent to a clock signal, which means that when the KEY changes, the program below will be executed once. Why is the program writing so weird?
This post is from FPGA/CPLD
 
 

122

Posts

0

Resources
3
 
If you comment it out, the circuit will refresh the new value every time the button is pressed. If you add it, the register will not be formed. The writing method for forming a register requires that only one of the signals in the signal sensitive list is not used in the circuit.
This post is from FPGA/CPLD
 
 
 

122

Posts

0

Resources
4
 
It is not recommended to write like this. It is better to connect the clock port of the register to the clock.
This post is from FPGA/CPLD
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list