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

📄 key_scan.fit

📁 用verilog实现的四乘四键盘程序,在Quartus II上编译通过并成功
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 08/26/2005 22:46:07      

-- Copyright (C) 1988-2002 Altera Corporation
-- Any megafunction design, and related net list (encrypted or decrypted),
-- support information, device programming or simulation file, and any other
-- associated documentation or information provided by Altera or a partner
-- under Altera's Megafunction Partnership Program may be used only to
-- program PLD devices (but not masked PLD devices) from Altera.  Any other
-- use of such megafunction design, net list, support information, device
-- programming or simulation file, or any other related documentation or
-- information is prohibited for any other purpose, including, but not
-- limited to modification, reverse engineering, de-compiling, or use with
-- any other silicon devices, unless such use is explicitly licensed under
-- a separate agreement with Altera or a megafunction partner.  Title to
-- the intellectual property, including patents, copyrights, trademarks,
-- trade secrets, or maskworks, embodied in any such megafunction design,
-- net list, support information, device programming or simulation file, or
-- any other related documentation or information provided by Altera or a
-- megafunction partner, remains with Altera, the megafunction partner, or
-- their respective licensors.  No other licenses, including any licenses
-- needed under any third party's intellectual property, are provided herein.

CHIP "key_scan"
BEGIN

    DEVICE = "EP1K10TC100-1";

    "clk_scan"                     : INPUT_PIN  = 39     ;
    "retn_in0"                     : INPUT_PIN  = 89     ;
    "retn_in1"                     : INPUT_PIN  = 91     ;
    "retn_in2"                     : INPUT_PIN  = 38     ;
    "retn_in3"                     : INPUT_PIN  = 40     ;
    "int"                          : OUTPUT_PIN = 22     ;
    "qout0"                        : OUTPUT_PIN = 23     ;
    "qout1"                        : OUTPUT_PIN = 19     ;
    "qout2"                        : OUTPUT_PIN = 55     ;
    "qout3"                        : OUTPUT_PIN = 58     ;
    "scan_out0"                    : OUTPUT_PIN = 20     ;
    "scan_out1"                    : OUTPUT_PIN = 57     ;
    "scan_out2"                    : OUTPUT_PIN = 56     ;
    "scan_out3"                    : OUTPUT_PIN = 21     ;
    ":25"                          : LOCATION   = LC8_C24;
    ":31"                          : LOCATION   = LC6_C3 ;  -- q1
    ":32"                          : LOCATION   = LC8_C3 ;  -- q0
    ":73"                          : LOCATION   = LC4_C3 ;
    ":74"                          : LOCATION   = LC5_C3 ;
    ":75"                          : LOCATION   = LC3_C3 ;
    ":76"                          : LOCATION   = LC2_C3 ;
    "~117~1"                       : LOCATION   = LC3_C24;
    ":122"                         : LOCATION   = LC2_C24;
    ":131"                         : LOCATION   = LC5_C24;  -- retn_out1
    ":132"                         : LOCATION   = LC4_C24;  -- retn_out0
    ":137"                         : LOCATION   = LC1_C3 ;
    ":138"                         : LOCATION   = LC7_C3 ;
    ":139"                         : LOCATION   = LC1_C24;
    ":140"                         : LOCATION   = LC6_C24;

END;

INTERNAL_INFO "key_scan"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD5P39  : LORAX = "1:FB5->LC6_C3,->LC8_C3,->LC5_C24,->LC4_C24|";
    OD1P89  : LORAX = "1:FB1|2:FH1R2,PA20R2C23->LC8_C24,->LC5_C24,->LC4_C24||";
    OD0P91  : LORAX = "1:FB0|2:FH0R2,PA0R2C23->LC8_C24,->LC2_C24,->LC5_C24||";
    OD2P38  : LORAX = "1:FB2|2:FH2R2,PA6R2C23->LC3_C24,->LC2_C24||";
    OD3P40  : LORAX = "1:FB3|2:FH3R2,PA5R2C23->LC3_C24,->LC2_C24||";
    LC8_C24 : LORAX = "1:MSW4R2C22|2:G85R2,PA13R2C2->LC6_C3,->LC8_C3,->LC1_C3,->LC7_C3|,2:HHR44R2->OH4R2P22||";
    LC4_C3  : LORAX = "1:MSW3R2C2,G23R2->OH3R2P21|";
    LC5_C3  : LORAX = "1:MSW4R2C3,HHL38R2->OH12R2P56|";
    LC3_C3  : LORAX = "1:MSW2R2C3,HHL14R2->OH10R2P57|";
    LC2_C3  : LORAX = "1:MSW1R2C3,G35R2->OH1R2P20|";
    LC1_C3  : LORAX = "1:MSW0R2C3,HHL19R2->OH8R2P58|";
    LC7_C3  : LORAX = "1:MSW6R2C2,HHL40R2->OH14R2P55|";
    LC1_C24 : LORAX = "1:MSW0R2C23,HHR20R2->OH0R2P19|";
    LC6_C24 : LORAX = "1:MSW6R2C22,HHR31R2->OH6R2P23|";
	LC8_C24 : LORAX2 = "X, OD1P89, OD0P91, LC3_C24";
	LC6_C3  : LORAX2 = "LC8_C24, X, LC8_C3, LC6_C3";
	LC8_C3  : LORAX2 = "LC8_C24, X, X, LC8_C3";
	LC4_C3  : LORAX2 = "X, X, LC8_C3, LC6_C3";
	LC5_C3  : LORAX2 = "X, X, LC8_C3, LC6_C3";
	LC3_C3  : LORAX2 = "X, X, LC8_C3, LC6_C3";
	LC2_C3  : LORAX2 = "X, X, LC8_C3, LC6_C3";
	LC3_C24 : LORAX2 = "X, X, OD2P38, OD3P40";
	LC2_C24 : LORAX2 = "OD0P91, LC4_C24, OD2P38, OD3P40";
	LC5_C24 : LORAX2 = "OD1P89, LC5_C24, OD0P91, LC3_C24";
	LC4_C24 : LORAX2 = "LC2_C24, LC4_C24, OD1P89, LC8_C24";
	LC1_C3  : LORAX2 = "X, LC6_C3, LC8_C24, LC1_C3";
	LC7_C3  : LORAX2 = "X, LC8_C3, LC8_C24, LC7_C3";
	LC1_C24 : LORAX2 = "X, LC5_C24, LC8_C24, LC1_C24";
	LC6_C24 : LORAX2 = "X, LC4_C24, LC8_C24, LC6_C24";
END;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -