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

📄 control.fit

📁 vhdl实现时钟和闹钟功能
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 03/26/2008 11:20:57      

-- 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 "control"
BEGIN

    DEVICE = "EPM7064LC68-7";

    "begend"                       : INPUT_PIN  = 15     ; -- LC4
    "enter"                        : INPUT_PIN  = 17     ; -- LC3
    "keyup"                        : INPUT_PIN  = 67     ;
    "mode"                         : INPUT_PIN  = 18     ; -- LC1
    "alarm_hourhset0"              : OUTPUT_PIN = 13     ; -- LC6
    "alarm_hourhset1"              : OUTPUT_PIN = 64     ; -- LC62
    "alarm_hourlset0"              : OUTPUT_PIN = 57     ; -- LC56
    "alarm_hourlset1"              : OUTPUT_PIN = 59     ; -- LC57
    "alarm_hourlset2"              : OUTPUT_PIN = 60     ; -- LC59
    "alarm_hourlset3"              : OUTPUT_PIN = 61     ; -- LC60
    "alarm_minhset0"               : OUTPUT_PIN = 54     ; -- LC52
    "alarm_minhset1"               : OUTPUT_PIN = 55     ; -- LC53
    "alarm_minhset2"               : OUTPUT_PIN = 65     ; -- LC64
    "alarm_minlset0"               : OUTPUT_PIN = 56     ; -- LC54
    "alarm_minlset1"               : OUTPUT_PIN = 51     ; -- LC49
    "alarm_minlset2"               : OUTPUT_PIN = 52     ; -- LC51
    "alarm_minlset3"               : OUTPUT_PIN = 62     ; -- LC61
    "hourhset0"                    : OUTPUT_PIN = 30     ; -- LC20
    "hourhset1"                    : OUTPUT_PIN = 49     ; -- LC46
    "hourlset0"                    : OUTPUT_PIN = 42     ; -- LC40
    "hourlset1"                    : OUTPUT_PIN = 44     ; -- LC41
    "hourlset2"                    : OUTPUT_PIN = 46     ; -- LC44
    "hourlset3"                    : OUTPUT_PIN = 39     ; -- LC36
    "minhset0"                     : OUTPUT_PIN = 41     ; -- LC38
    "minhset1"                     : OUTPUT_PIN = 40     ; -- LC37
    "minhset2"                     : OUTPUT_PIN = 50     ; -- LC48
    "minlset0"                     : OUTPUT_PIN = 37     ; -- LC35
    "minlset1"                     : OUTPUT_PIN = 32     ; -- LC19
    "minlset2"                     : OUTPUT_PIN = 33     ; -- LC17
    "minlset3"                     : OUTPUT_PIN = 27     ; -- LC24
    "sechset0"                     : OUTPUT_PIN = 36     ; -- LC33
    "sechset1"                     : OUTPUT_PIN = 25     ; -- LC25
    "sechset2"                     : OUTPUT_PIN = 19     ; -- LC32
    "seclset0"                     : OUTPUT_PIN = 45     ; -- LC43
    "seclset1"                     : OUTPUT_PIN = 28     ; -- LC22
    "seclset2"                     : OUTPUT_PIN = 29     ; -- LC21
    "seclset3"                     : OUTPUT_PIN = 20     ; -- LC30
    "settime"                      : OUTPUT_PIN = 14     ; -- LC5
    "weekset0"                     : OUTPUT_PIN = 47     ; -- LC45
    "weekset1"                     : OUTPUT_PIN = 23     ; -- LC28
    "weekset2"                     : OUTPUT_PIN = 24     ; -- LC27
    "weekset3"                     : OUTPUT_PIN = 22     ; -- LC29
    ":44"                          : LOCATION   = LC39   ;  -- adjsta2
    ":45"                          : LOCATION   = LC42   ;  -- adjsta1
    ":46"                          : LOCATION   = LC34   ;  -- adjsta0
    ":47"                          : LOCATION   = LC55   ;  -- alarm_adjsta2
    ":48"                          : LOCATION   = LC50   ;  -- alarm_adjsta1
    ":49"                          : LOCATION   = LC58   ;  -- alarm_adjsta0

END;

INTERNAL_INFO "control"
BEGIN
	DEVICE = EPM7064LC68-7;
	LC5     : LORAX = "G50R0";
	LC29    : LORAX = "G70R0";
	LC27    : LORAX = "G105R0,PA33R0C1";
	LC28    : LORAX = "G106R0,PA31R0C1";
	LC45    : LORAX = "G74R0,PA26R0C1";
	LC46    : LORAX = "G75R0";
	LC20    : LORAX = "G57R0,PA17R0C2";
	LC36    : LORAX = "G61R0";
	LC44    : LORAX = "G110R0,PA31R0C2";
	LC41    : LORAX = "G107R0,PA27R0C2";
	LC40    : LORAX = "G28R0,PA0R0C2";
	LC48    : LORAX = "G77R0";
	LC37    : LORAX = "G25R0,PA2R0C2";
	LC38    : LORAX = "G26R0,PA1R0C2";
	LC24    : LORAX = "G24R0";
	LC17    : LORAX = "G54R0,PA16R0C1";
	LC19    : LORAX = "G56R0,PA14R0C1";
	LC35    : LORAX = "G60R0,PA12R0C1";
	LC32    : LORAX = "G73R0";
	LC25    : LORAX = "G103R0,PA32R0C1";
	LC33    : LORAX = "G58R0,PA11R0C1";
	LC30    : LORAX = "G71R0";
	LC21    : LORAX = "G21R0,PA7R0C1";
	LC22    : LORAX = "G22R0,PA1R0C1";
	LC43    : LORAX = "G109R0,PA28R0C1";
	LC62    : LORAX = "G112R0";
	LC6     : LORAX = "G51R0,PA9R0C3";
	LC60    : LORAX = "G81R0";
	LC59    : LORAX = "G80R0,PA25R0C3";
	LC57    : LORAX = "G78R0,PA20R0C3";
	LC56    : LORAX = "G65R0,PA10R0C3";
	LC64    : LORAX = "G114R0";
	LC53    : LORAX = "G62R0,PA17R0C3";
	LC52    : LORAX = "G32R0,PA1R0C3";
	LC61    : LORAX = "G111R0";
	LC51    : LORAX = "G31R0,PA3R0C3";
	LC49    : LORAX = "G29R0,PA7R0C3";
	LC54    : LORAX = "G63R0,PA15R0C3";
	OH3R0P15 : LORAX = "G86R0,PA22R0C0";
	OH0R0P18 : LORAX = "G83R0,PA18R0C0,PA18R0C2,PA18R0C3,PA18R0C1";
	LC39    : LORAX = "G27R0,PA3R0C1,PA3R0C2";
	LC42    : LORAX = "G108R0,PA29R0C1,PA29R0C2";
	LC34    : LORAX = "G59R0,PA10R0C1,PA10R0C2";
	OH2R0P17 : LORAX = "G85R0,PA23R0C3,PA21R0C2";
	LC55    : LORAX = "G64R0,PA12R0C0,PA12R0C3";
	LC50    : LORAX = "G30R0,PA5R0C0,PA5R0C3";
	LC58    : LORAX = "G79R0,PA21R0C0,PA21R0C3";
END;

⌨️ 快捷键说明

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