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

📄 elec_lock.fit

📁 vhdl代码写的一个密码锁程序
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 9.23 3/19/99               
-- Compiled: 04/05/2007 11:44:23      

-- Copyright (C) 1988-1999 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 "elec_lock"
BEGIN

    DEVICE = "EPM7064SLC44-10";

    "CLK_4M"                       : INPUT_PIN  = 43     ;
    "KEY_IN0"                      : INPUT_PIN  = 11     ; -- LC3
    "KEY_IN1"                      : INPUT_PIN  = 12     ; -- LC1
    "KEY_IN2"                      : INPUT_PIN  = 14     ; -- LC30
    "CLK_SCAN0"                    : OUTPUT_PIN = 9      ; -- LC4
    "CLK_SCAN1"                    : OUTPUT_PIN = 8      ; -- LC5
    "CLK_SCAN2"                    : OUTPUT_PIN = 6      ; -- LC11
    "CLK_SCAN3"                    : OUTPUT_PIN = 5      ; -- LC14
    "ENLOCK"                       : OUTPUT_PIN = 16     ; -- LC25
    "|debouncing:U1|dff1"          : LOCATION   = LC31   ;
    "|debouncing:U1|dff2"          : LOCATION   = LC30   ; -- PIN 14
    "|debouncing:U1|:8"            : LOCATION   = LC19   ; -- PIN 20  -- |debouncing:U1|d0
    "|debouncing:U1|:9"            : LOCATION   = LC8    ; -- PIN 7  -- |debouncing:U1|d1
    "|debouncing:U2|dff1"          : LOCATION   = LC20   ; -- PIN 19
    "|debouncing:U2|dff2"          : LOCATION   = LC21   ; -- PIN 18
    "|debouncing:U2|:8"            : LOCATION   = LC22   ;  -- |debouncing:U2|d0
    "|debouncing:U2|:9"            : LOCATION   = LC16   ; -- PIN 4  -- |debouncing:U2|d1
    "|debouncing:U3|dff1"          : LOCATION   = LC24   ; -- PIN 17
    "|debouncing:U3|dff2"          : LOCATION   = LC28   ;
    "|debouncing:U3|:8"            : LOCATION   = LC29   ;  -- |debouncing:U3|d0
    "|debouncing:U3|:9"            : LOCATION   = LC15   ;  -- |debouncing:U3|d1
    ":30"                          : LOCATION   = LC13   ;  -- Q4
    ":31"                          : LOCATION   = LC9    ;  -- Q3
    ":32"                          : LOCATION   = LC12   ;  -- Q2
    ":33"                          : LOCATION   = LC23   ;  -- Q1
    ":34"                          : LOCATION   = LC17   ; -- PIN 21  -- Q0
    ":61"                          : LOCATION   = LC3    ; -- PIN 11  -- N3
    ":62"                          : LOCATION   = LC6    ;  -- N2
    ":63"                          : LOCATION   = LC7    ;  -- N1
    ":64"                          : LOCATION   = LC1    ; -- PIN 12  -- N0
    ":66"                          : LOCATION   = LC2    ;  -- F2
    ":68"                          : LOCATION   = LC10   ;  -- F0
    ":71"                          : LOCATION   = LC27   ;  -- ACC15
    ":72"                          : LOCATION   = LC26   ;  -- ACC14
    ":73"                          : LOCATION   = LC63   ;  -- ACC13
    ":74"                          : LOCATION   = LC32   ; -- PIN 13  -- ACC12
    ":75"                          : LOCATION   = LC18   ;  -- ACC11
    ":76"                          : LOCATION   = LC33   ; -- PIN 24  -- ACC10
    ":77"                          : LOCATION   = LC47   ;  -- ACC9
    ":78"                          : LOCATION   = LC34   ;  -- ACC8
    ":79"                          : LOCATION   = LC38   ;  -- ACC7
    ":80"                          : LOCATION   = LC39   ;  -- ACC6
    ":81"                          : LOCATION   = LC64   ; -- PIN 41  -- ACC5
    ":82"                          : LOCATION   = LC55   ;  -- ACC4
    ":83"                          : LOCATION   = LC48   ; -- PIN 32  -- ACC3
    ":84"                          : LOCATION   = LC46   ; -- PIN 31  -- ACC2
    ":85"                          : LOCATION   = LC45   ;  -- ACC1
    ":86"                          : LOCATION   = LC43   ;  -- ACC0
    ":87"                          : LOCATION   = LC61   ;  -- REG15
    ":88"                          : LOCATION   = LC62   ; -- PIN 40  -- REG14
    ":89"                          : LOCATION   = LC56   ; -- PIN 38  -- REG13
    ":90"                          : LOCATION   = LC54   ;  -- REG12
    ":91"                          : LOCATION   = LC53   ; -- PIN 37  -- REG11
    ":92"                          : LOCATION   = LC52   ; -- PIN 36  -- REG10
    ":93"                          : LOCATION   = LC49   ; -- PIN 33  -- REG9
    ":94"                          : LOCATION   = LC50   ;  -- REG8
    ":95"                          : LOCATION   = LC51   ; -- PIN 34  -- REG7
    ":96"                          : LOCATION   = LC41   ; -- PIN 29  -- REG6
    ":97"                          : LOCATION   = LC36   ; -- PIN 26  -- REG5
    ":98"                          : LOCATION   = LC37   ; -- PIN 27  -- REG4
    ":99"                          : LOCATION   = LC35   ; -- PIN 25  -- REG3
    ":100"                         : LOCATION   = LC44   ;  -- REG2
    ":101"                         : LOCATION   = LC60   ;  -- REG1
    ":102"                         : LOCATION   = LC59   ;  -- REG0
    "~1229~1"                      : LOCATION   = LC58   ;
    "~1229~2"                      : LOCATION   = LC42   ;
    "~1229~3"                      : LOCATION   = LC40   ; -- PIN 28
    "~1229~4"                      : LOCATION   = LC57   ; -- PIN 39

END;

INTERNAL_INFO "elec_lock"
BEGIN
	DEVICE = EPM7064SLC44-10;
	LC14    : LORAX = "G100R0";
	LC11    : LORAX = "G68R0";
	LC5     : LORAX = "G50R0";
	LC4     : LORAX = "G20R0";
	LC25    : LORAX = "G103R0,PA27R0C2,PA27R0C1,PA27R0C3";
	LC13    : LORAX = "G99R0,PA29R0C0";
	LC9     : LORAX = "G66R0,PA20R0C0";
	LC12    : LORAX = "G69R0,PA25R0C0";
	LC23    : LORAX = "G23R0,PA5R0C0";
	LC17    : LORAX = "G54R0,PA13R0C2,PA16R0C0,PA13R0C1,PA16R0C3";
	LC10    : LORAX = "G67R0,PA22R0C1";
	LC19    : LORAX = "G56R0,PA11R0C0";
	LC30    : LORAX = "G71R0,PA25R0C1";
	LC31    : LORAX = "G72R0,PA19R0C1";
	OH2R0P11 : LORAX = "G85R0,PA21R0C1";
	LC8     : LORAX = "G53R0,PA15R0C0";
	LC22    : LORAX = "G22R0,PA1R0C0";
	LC21    : LORAX = "G21R0,PA4R0C1";
	LC20    : LORAX = "G57R0,PA9R0C1";
	OH0R0P12 : LORAX = "G83R0,PA18R0C1";
	LC29    : LORAX = "G70R0,PA18R0C0";
	LC28    : LORAX = "G106R0,PA31R0C1";
	LC24    : LORAX = "G24R0,PA0R0C1";
	OH29R0P14 : LORAX = "G5R0,PA3R0C1";
	LC15    : LORAX = "G101R0,PA32R0C0";
	LC16    : LORAX = "G102R0,PA34R0C0";
	LC58    : LORAX = "G79R0,PA26R0C1";
	LC43    : LORAX = "G109R0,PA28R0C3";
	LC1     : LORAX = "G17R0,PA5R0C2,PA5R0C3,PA5R0C1";
	LC3     : LORAX = "G19R0,PA3R0C3,PA8R0C2,PA8R0C1";
	LC6     : LORAX = "G51R0,PA9R0C2,PA9R0C3,PA16R0C1";
	LC7     : LORAX = "G52R0,PA12R0C1,PA12R0C3,PA17R0C2";
	LC59    : LORAX = "G80R0,PA18R0C3";
	LC2     : LORAX = "G18R0,PA0R0C2,PA7R0C3,PA7R0C1";
	LC46    : LORAX = "G75R0,PA20R0C2";
	LC44    : LORAX = "G110R0,PA34R0C2";
	LC48    : LORAX = "G77R0,PA22R0C2";
	LC35    : LORAX = "G60R0,PA16R0C2";
	LC55    : LORAX = "G64R0,PA12R0C2";
	LC37    : LORAX = "G25R0,PA4R0C2";
	LC64    : LORAX = "G114R0,PA31R0C2";
	LC45    : LORAX = "G74R0,PA26R0C3";
	LC36    : LORAX = "G61R0,PA14R0C2";
	LC39    : LORAX = "G27R0,PA7R0C2";
	LC41    : LORAX = "G107R0,PA35R0C2";
	LC38    : LORAX = "G26R0,PA1R0C1,PA1R0C3";
	LC51    : LORAX = "G31R0,PA4R0C3";
	LC34    : LORAX = "G59R0,PA15R0C1,PA15R0C3";
	LC50    : LORAX = "G30R0,PA6R0C3";
	LC47    : LORAX = "G76R0,PA19R0C3";
	LC49    : LORAX = "G29R0,PA8R0C3";
	LC33    : LORAX = "G58R0,PA11R0C1,PA13R0C3";
	LC52    : LORAX = "G32R0,PA2R0C3";
	LC18    : LORAX = "G55R0,PA10R0C1,PA10R0C3";
	LC53    : LORAX = "G62R0,PA17R0C3";
	LC32    : LORAX = "G73R0,PA20R0C3";
	LC54    : LORAX = "G63R0,PA14R0C3";
	LC63    : LORAX = "G113R0,PA34R0C3";
	LC56    : LORAX = "G65R0,PA11R0C3";
	LC26    : LORAX = "G104R0,PA30R0C3";
	LC62    : LORAX = "G112R0,PA35R0C3";
	LC27    : LORAX = "G105R0,PA33R0C3";
	LC61    : LORAX = "G111R0,PA29R0C3";
	LC60    : LORAX = "G81R0,PA22R0C3";
	LC42    : LORAX = "G108R0,PA32R0C3";
	LC40    : LORAX = "G28R0,PA0R0C3";
	LC57    : LORAX = "G78R0,PA24R0C3";
END;

⌨️ 快捷键说明

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