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

📄 60.fit

📁 实现一个简单的电子钟
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.23 07/09/2003           
-- Compiled: 12/02/2005 22:13:33      

-- Copyright (C) 1988-2003 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 "60"
BEGIN

    DEVICE = "EPF10K10LC84-3";

    "clr"                          : INPUT_PIN  = 44     ;
    "cp"                           : INPUT_PIN  = 1      ;
    "ec"                           : INPUT_PIN  = 42     ;
    "s"                            : INPUT_PIN  = 2      ;
    "bin0"                         : OUTPUT_PIN = 17     ;
    "bin1"                         : OUTPUT_PIN = 19     ;
    "bin2"                         : OUTPUT_PIN = 71     ;
    "bin3"                         : OUTPUT_PIN = 69     ;
    "bin4"                         : OUTPUT_PIN = 18     ;
    "bin5"                         : OUTPUT_PIN = 16     ;
    "cy60"                         : OUTPUT_PIN = 72     ;
    "|COUNTER60:1|LPM_ADD_SUB:83|addcore:adder|:67" : LOCATION   = LC7_A4 ;
    "|COUNTER60:1|LPM_ADD_SUB:83|addcore:adder|:71" : LOCATION   = LC1_A4 ;
    "|COUNTER60:1|:13"             : LOCATION   = LC7_A6 ;  -- |COUNTER60:1|q5
    "|COUNTER60:1|:14"             : LOCATION   = LC4_A6 ;  -- |COUNTER60:1|q4
    "|COUNTER60:1|:15"             : LOCATION   = LC4_A4 ;  -- |COUNTER60:1|q3
    "|COUNTER60:1|:16"             : LOCATION   = LC5_A4 ;  -- |COUNTER60:1|q2
    "|COUNTER60:1|:17"             : LOCATION   = LC3_A4 ;  -- |COUNTER60:1|q1
    "|COUNTER60:1|:18"             : LOCATION   = LC6_A4 ;  -- |COUNTER60:1|q0
    "|COUNTER60:1|:19"             : LOCATION   = LC8_A6 ;  -- |COUNTER60:1|dly
    "|COUNTER60:1|:169"            : LOCATION   = LC2_A6 ;
    "|COUNTER60:1|~173~1"          : LOCATION   = LC8_A4 ;
    "|COUNTER60:1|:180"            : LOCATION   = LC3_A6 ;
    "|COUNTER60:1|:204"            : LOCATION   = LC1_A6 ;
    "|COUNTER60:1|:210"            : LOCATION   = LC5_A6 ;
    "|COUNTER60:1|:216"            : LOCATION   = LC8_A10;
    "|COUNTER60:1|:222"            : LOCATION   = LC4_A10;
    "|COUNTER60:1|:228"            : LOCATION   = LC6_A6 ;
    "|COUNTER60:1|:234"            : LOCATION   = LC2_A4 ;

END;

INTERNAL_INFO "60"
BEGIN
	DEVICE = EPF10K10LC84-3;
    OD2P44  : LORAX = "1:FB2|2:FH2R0,PA6R0C5->LC3_A6||";
    LC1_A4  : LORAX = "1:MSW0R0C3,HHL19R0,PA12R0C5->LC7_A6,->LC4_A6|";
    LC4_A4  : LORAX = "1:MSW3R0C3,HHL17R0,PA19R0C9->LC8_A10|";
    LC5_A4  : LORAX = "1:MSW4R0C3,HHL38R0,PA11R0C9->LC4_A10|";
    LC3_A4  : LORAX = "1:MSW2R0C3,HHL14R0,PA1R0C5->LC6_A6|";
    LC2_A6  : LORAX = "1:MSW2R0C4,G13R0->OH2R0P72|";
    LC8_A4  : LORAX = "1:MSW7R0C3,HHL27R0,PA8R0C5->LC3_A6|";
    LC3_A6  : LORAX = "1:MSW2R0C5,HHL15R0,PA0R0C3->LC4_A4,->LC5_A4,->LC3_A4,->LC6_A4|";
    LC1_A6  : LORAX = "1:MSW0R0C5,HHL20R0->OH8R0P16|";
    LC5_A6  : LORAX = "1:MSW4R0C5,G77R0->OH12R0P18|";
    LC8_A10 : LORAX = "1:MSW7R0C9,G65R0->OH7R0P69|";
    LC4_A10 : LORAX = "1:MSW3R0C9,G33R0->OH3R0P71|";
    LC6_A6  : LORAX = "1:MSW6R0C4,G76R0->OH14R0P19|";
    LC2_A4  : LORAX = "1:MSW2R0C2,HHL1R0->OH10R0P17|";
    OD4P1   : LORAX = "1:FB4->LC7_A6,->LC4_A6,->LC4_A4,->LC5_A4,->LC3_A4,->LC6_A4,->LC8_A6|";
    OD3P42  : LORAX = "1:FB3|2:FH3R0|3:PA5R0C3->LC4_A4,->LC5_A4,->LC3_A4,->LC6_A4|,3:PA5R0C5->LC7_A6,->LC4_A6|||";
    OD1P2   : LORAX = "1:FB1|2:FH1R0|3:PA20R0C3->LC2_A4|,3:PA20R0C5->LC1_A6,->LC5_A6,->LC6_A6|,3:PA20R0C9->LC8_A10,->LC4_A10|||";
	LC7_A4  : LORAX2 = "X, LC5_A4, LC6_A4, LC3_A4";
	LC1_A4  : LORAX2 = "LC4_A4, LC5_A4, LC3_A4, LC6_A4";
	LC7_A6  : LORAX2 = "OD3P42, LC1_A4, LC4_A6, LC7_A6";
	LC4_A6  : LORAX2 = "X, OD3P42, LC1_A4, LC4_A6";
	LC4_A4  : LORAX2 = "X, OD3P42, LC7_A4, LC4_A4";
	LC5_A4  : LORAX2 = "OD3P42, LC5_A4, LC3_A4, LC6_A4";
	LC3_A4  : LORAX2 = "X, OD3P42, LC3_A4, LC6_A4";
	LC6_A4  : LORAX2 = "X, X, OD3P42, LC6_A4";
	LC8_A6  : LORAX2 = "LC3_A6, X, X, LC7_A6";
	LC2_A6  : LORAX2 = "X, X, LC8_A6, LC7_A6";
	LC8_A4  : LORAX2 = "LC6_A4, LC3_A4, LC4_A4, LC5_A4";
	LC3_A6  : LORAX2 = "OD2P44, LC4_A6, LC7_A6, LC8_A4";
	LC1_A6  : LORAX2 = "X, X, OD1P2, LC7_A6";
	LC5_A6  : LORAX2 = "X, X, OD1P2, LC4_A6";
	LC8_A10 : LORAX2 = "X, X, OD1P2, LC4_A4";
	LC4_A10 : LORAX2 = "X, X, OD1P2, LC5_A4";
	LC6_A6  : LORAX2 = "X, X, OD1P2, LC3_A4";
	LC2_A4  : LORAX2 = "X, X, OD1P2, LC6_A4";
END;

⌨️ 快捷键说明

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