keypadscan.ucf
来自「一个veriloghdl编写的键盘扫描程序」· UCF 代码 · 共 49 行
UCF
49 行
################################################################
## KeypadScan User Constraints file (UCF)
##
## The following constraints are intended to be used with the
## design KeypadScan.
##
## mike gulotta, 3/3/05
################################################################
##
##
################################################################
## Set clock frequency.
################################################################
NET "clk" TNM_NET = "clk";
TIMESPEC "TS_clk" = PERIOD "clk" 1 MHz HIGH 50 %;
##
##
##
################################################################
## Map the net "clk" to a global clock resource.
################################################################
##
##
################################################################
## Add an internal pullup resistor to column inputs.
################################################################
NET "column<0>" PULLUP;
NET "column<1>" PULLUP;
NET "column<2>" PULLUP;
NET "column<3>" PULLUP;
NET "column<4>" PULLUP;
NET "column<5>" PULLUP;
NET "column<6>" PULLUP;
NET "column<7>" PULLUP;
##
##
################################################################
## Initialize bit 7 of the shift register to a logic 0 and all
## other bits to logice 1s.
################################################################
INST "shiftreg_0/Q" INIT=S;
INST "shiftreg_1/Q" INIT=S;
INST "shiftreg_2/Q" INIT=S;
INST "shiftreg_3/Q" INIT=S;
INST "shiftreg_4/Q" INIT=S;
INST "shiftreg_5/Q" INIT=S;
INST "shiftreg_6/Q" INIT=S;
INST "shiftreg_7/Q" INIT=R;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?