⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keypadscan.ucf

📁 适用于FPGA的SOPC方面的元器件添加
💻 UCF
字号:
################################################################
## 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -