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

📄 alarm2.fit

📁 数字钟的VHDL源程序
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 03/26/2008 11:53:24      

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

    DEVICE = "EP1K10TC100-1";

    "freq_l"                       : INPUT_PIN  = 32     ;
    "hourhdis0"                    : INPUT_PIN  = 57     ;
    "hourhdis1"                    : INPUT_PIN  = 22     ;
    "hourldis0"                    : INPUT_PIN  = 21     ;
    "hourldis1"                    : INPUT_PIN  = 90     ;
    "hourldis2"                    : INPUT_PIN  = 89     ;
    "hourldis3"                    : INPUT_PIN  = 91     ;
    "minhdis0"                     : INPUT_PIN  = 97     ;
    "minhdis1"                     : INPUT_PIN  = 58     ;
    "minhdis2"                     : INPUT_PIN  = 55     ;
    "minldis0"                     : INPUT_PIN  = 19     ;
    "minldis1"                     : INPUT_PIN  = 40     ;
    "minldis2"                     : INPUT_PIN  = 39     ;
    "minldis3"                     : INPUT_PIN  = 23     ;
    "sechdis0"                     : INPUT_PIN  = 79     ;
    "sechdis1"                     : INPUT_PIN  = 56     ;
    "sechdis2"                     : INPUT_PIN  = 30     ;
    "settime"                      : INPUT_PIN  = 38     ;
    "ALARM"                        : OUTPUT_PIN = 20     ;
    ":438"                         : LOCATION   = LC2_C19;
    "~438~1"                       : LOCATION   = LC1_C19;
    "~438~2"                       : LOCATION   = LC7_C4 ;
    "~438~3"                       : LOCATION   = LC7_C3 ;
    "~438~4"                       : LOCATION   = LC8_C3 ;
    "~438~5"                       : LOCATION   = LC1_C4 ;
    "~438~6"                       : LOCATION   = LC1_C3 ;
    "~438~7"                       : LOCATION   = LC8_C4 ;
    "~438~8"                       : LOCATION   = LC4_C4 ;
    "~438~9"                       : LOCATION   = LC7_C19;
    "~438~10"                      : LOCATION   = LC8_C19;
    ":486"                         : LOCATION   = LC3_C4 ;
    ":492"                         : LOCATION   = LC5_C3 ;
    ":498"                         : LOCATION   = LC2_C3 ;
    ":504"                         : LOCATION   = LC2_C4 ;
    ":510"                         : LOCATION   = LC5_C4 ;
    ":516"                         : LOCATION   = LC4_C19;
    ":522"                         : LOCATION   = LC3_C19;
    ":528"                         : LOCATION   = LC4_C3 ;
    ":534"                         : LOCATION   = LC3_C3 ;
    ":540"                         : LOCATION   = LC6_C3 ;
    ":546"                         : LOCATION   = LC6_C4 ;
    ":552"                         : LOCATION   = LC6_C19;
    ":558"                         : LOCATION   = LC5_C19;

END;

INTERNAL_INFO "alarm2"
BEGIN
	DEVICE = EP1K10TC100-1;
    OV3C15P32 : LORAX = "1:V18C15,HHR26R2,PA9R2C18->LC8_C19|";
    OH10R2P57 : LORAX = "1:G41R2,PA13R2C18->LC7_C19,->LC5_C19|";
    OH4R2P22 : LORAX = "1:G47R2,PA3R2C18->LC7_C19,->LC6_C19|";
    OH3R2P21 : LORAX = "1:G37R2,PA1R2C3->LC8_C4,->LC6_C4|";
    OD4P90  : LORAX = "1:FB4|2:CH0R2,PA19R2C2->LC8_C3,->LC6_C3||";
    OD1P89  : LORAX = "1:FB1|2:FH1R2,PA20R2C2->LC7_C3,->LC3_C3||";
    OD0P91  : LORAX = "1:FB0|2:FH0R2,PA0R2C2->LC7_C3,->LC4_C3||";
    OV0C22P97 : LORAX = "1:V1C22,HHR18R2,PA18R2C18->LC1_C19,->LC3_C19|";
    OH8R2P58 : LORAX = "1:G13R2,PA0R2C18->LC1_C19,->LC4_C19|";
    OH14R2P55 : LORAX = "1:G44R2,PA6R2C3->LC8_C4,->LC5_C4|";
    OH0R2P19 : LORAX = "1:G10R2,PA10R2C3->LC1_C4,->LC2_C4|";
    OD3P40  : LORAX = "1:FB3|2:FH3R2|3:PA5R2C2->LC2_C3|,3:PA5R2C3->LC1_C4|||";
    OD5P39  : LORAX = "1:FB5|2:CH1R2,PA7R2C2->LC8_C3,->LC5_C3||";
    OH6R2P23 : LORAX = "1:G45R2,PA7R2C3->LC7_C4,->LC3_C4|";
    OV1C1P79 : LORAX = "1:V8C1,HHL4R2,PA18R2C3->LC7_C4|";
    OH12R2P56 : LORAX = "1:G40R2,PA19R2C3->LC7_C4|";
    OV2C17P30 : LORAX = "1:V14C17,HHR30R2,PA5R2C18->LC8_C19|";
    OD2P38  : LORAX = "1:FB2|2:FH2R2|3:PA6R2C2->LC5_C3,->LC2_C3,->LC4_C3,->LC3_C3,->LC6_C3|,3:PA8R2C3->LC3_C4,->LC2_C4,->LC5_C4,->LC6_C4|,3:PA6R2C18->LC8_C19,->LC2_C19,->LC4_C19,->LC3_C19,->LC6_C19,->LC5_C19|||";
    LC1_C19 : LORAX = "1:MSW0R2C19,G38R2,PA0R2C3->LC4_C4|";
    LC1_C4  : LORAX = "1:MSW0R2C3,HHL19R2,PA17R2C2->LC1_C3|";
    LC1_C3  : LORAX = "1:MSW0R2C2,HHL21R2,PA14R2C3->LC4_C4|";
    LC4_C4  : LORAX = "1:MSW3R2C3,G15R2,PA19R2C18->LC2_C19|";
    LC2_C19 : LORAX = "1:MSW1R2C19,G8R2->OH1R2P20|";
    LC2_C3  : LORAX = "1:MSW1R2C3,HHL12R2,PA3R2C3->LC1_C4|";
	LC1_C19 : LORAX2 = "OV0C22P97, OH8R2P58, LC3_C19, LC4_C19";
	LC7_C4  : LORAX2 = "OH12R2P56, OV1C1P79, OH6R2P23, LC3_C4";
	LC7_C3  : LORAX2 = "OD1P89, OD0P91, LC3_C3, LC4_C3";
	LC8_C3  : LORAX2 = "OD5P39, OD4P90, LC5_C3, LC6_C3";
	LC1_C4  : LORAX2 = "OH0R2P19, OD3P40, LC2_C4, LC2_C3";
	LC1_C3  : LORAX2 = "X, LC7_C3, LC8_C3, LC1_C4";
	LC8_C4  : LORAX2 = "OH14R2P55, OH3R2P21, LC5_C4, LC6_C4";
	LC4_C4  : LORAX2 = "LC1_C19, LC7_C4, LC8_C4, LC1_C3";
	LC7_C19 : LORAX2 = "OH10R2P57, OH4R2P22, LC5_C19, LC6_C19";
	LC8_C19 : LORAX2 = "OV2C17P30, OV3C15P32, OD2P38, LC7_C19";
	LC2_C19 : LORAX2 = "LC8_C19, OD2P38, LC4_C4, LC2_C19";
	LC3_C4  : LORAX2 = "X, OH6R2P23, OD2P38, LC3_C4";
	LC5_C3  : LORAX2 = "X, OD5P39, OD2P38, LC5_C3";
	LC2_C3  : LORAX2 = "X, OD3P40, OD2P38, LC2_C3";
	LC2_C4  : LORAX2 = "X, OH0R2P19, OD2P38, LC2_C4";
	LC5_C4  : LORAX2 = "X, OH14R2P55, OD2P38, LC5_C4";
	LC4_C19 : LORAX2 = "X, OH8R2P58, OD2P38, LC4_C19";
	LC3_C19 : LORAX2 = "X, OV0C22P97, OD2P38, LC3_C19";
	LC4_C3  : LORAX2 = "X, OD0P91, OD2P38, LC4_C3";
	LC3_C3  : LORAX2 = "X, OD1P89, OD2P38, LC3_C3";
	LC6_C3  : LORAX2 = "X, OD4P90, OD2P38, LC6_C3";
	LC6_C4  : LORAX2 = "X, OH3R2P21, OD2P38, LC6_C4";
	LC6_C19 : LORAX2 = "X, OH4R2P22, OD2P38, LC6_C19";
	LC5_C19 : LORAX2 = "X, OH10R2P57, OD2P38, LC5_C19";
END;

⌨️ 快捷键说明

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