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

📄 count24.fit

📁 很好的多功能数字钟的HDL代码不可多得的哦
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 08/30/2008 22:10:18      

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

    DEVICE = "EP1K10TC100-1";

    "clk"                          : INPUT_PIN  = 39     ;
    "clr"                          : INPUT_PIN  = 38     ;
    "en"                           : INPUT_PIN  = 40     ;
    "cout"                         : OUTPUT_PIN = 9      ;
    "one0"                         : OUTPUT_PIN = 7      ;
    "one1"                         : OUTPUT_PIN = 68     ;
    "one2"                         : OUTPUT_PIN = 71     ;
    "one3"                         : OUTPUT_PIN = 6      ;
    "ten0"                         : OUTPUT_PIN = 5      ;
    "ten1"                         : OUTPUT_PIN = 70     ;
    "ten2"                         : OUTPUT_PIN = 8      ;
    "ten3"                         : OUTPUT_PIN = 10     ;
    "clr~1"                        : LOCATION   = LC2_A18;
    "|LPM_ADD_SUB:47|addcore:adder|:55" : LOCATION   = LC5_A18;
    "|LPM_ADD_SUB:171|addcore:adder|:55" : LOCATION   = LC4_A20;
    "|LPM_ADD_SUB:171|addcore:adder|:69" : LOCATION   = LC6_A20;
    ":1"                           : LOCATION   = LC7_A20;
    ":14"                          : LOCATION   = LC8_A18;  -- cin
    ":17"                          : LOCATION   = LC1_A18;  -- cnt03
    ":18"                          : LOCATION   = LC4_A18;  -- cnt02
    ":19"                          : LOCATION   = LC6_A18;  -- cnt01
    ":20"                          : LOCATION   = LC3_A18;  -- cnt00
    ":36"                          : LOCATION   = LC7_A18;
    ":141"                         : LOCATION   = LC8_A20;  -- cnt13
    ":142"                         : LOCATION   = LC5_A20;  -- cnt12
    ":143"                         : LOCATION   = LC2_A20;  -- cnt11
    ":144"                         : LOCATION   = LC1_A20;  -- cnt10
    ":160"                         : LOCATION   = LC3_A20;

END;

INTERNAL_INFO "count24"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD5P39  : LORAX = "1:FB5->LC7_A20,->LC8_A18,->LC1_A18,->LC4_A18,->LC6_A18,->LC3_A18,->LC8_A20,->LC5_A20,->LC2_A20,->LC1_A20|";
    OD2P38  : LORAX = "1:FB2->LC1_A18,->LC4_A18,->LC6_A18,->LC3_A18,->LC8_A20,->LC5_A20,->LC2_A20,->LC1_A20|2:FH2R0,PA6R0C17->LC2_A18,->LC1_A18,->LC4_A18,->LC6_A18,->LC3_A18||";
    LC2_A18 : LORAX = "1:MSW1R0C17,HHR16R0,PA20R0C19->LC7_A20|";
    OD3P40  : LORAX = "1:FB3|2:FH3R0,PA5R0C17->LC8_A18,->LC1_A18,->LC4_A18,->LC6_A18,->LC3_A18||";
    LC7_A20 : LORAX = "1:MSW6R0C19,G67R0->OH6R0P9|";
    LC8_A18 : LORAX = "1:MSW4R0C16,G62R0,PA18R0C19->LC7_A20,->LC8_A20,->LC5_A20,->LC2_A20,->LC1_A20|";
    LC1_A18 : LORAX = "1:MSW1R0C16,HHR5R0->OH1R0P6|";
    LC4_A18 : LORAX = "1:MSW0R0C16,G41R0->OH8R0P71|";
    LC6_A18 : LORAX = "1:MSW6R0C16,G76R0->OH14R0P68|";
    LC3_A18 : LORAX = "1:MSW2R0C17,HHR15R0->OH2R0P7|";
    LC8_A20 : LORAX = "1:MSW7R0C19,HHR35R0->OH7R0P10|";
    LC5_A20 : LORAX = "1:MSW4R0C19,HHR36R0->OH4R0P8|";
    LC2_A20 : LORAX = "1:MSW2R0C18,G12R0->OH10R0P70|";
    LC1_A20 : LORAX = "1:MSW0R0C19,HHR23R0->OH0R0P5|";
	LC2_A18 : LORAX2 = "X, X, X, OD2P38";
	LC5_A18 : LORAX2 = "X, X, LC3_A18, LC6_A18";
	LC4_A20 : LORAX2 = "X, X, LC1_A20, LC2_A20";
	LC6_A20 : LORAX2 = "LC8_A20, LC5_A20, LC2_A20, LC1_A20";
	LC7_A20 : LORAX2 = "LC2_A18, LC8_A18, LC3_A20, LC7_A20";
	LC8_A18 : LORAX2 = "LC2_A18, LC8_A18, OD3P40, LC7_A18";
	LC1_A18 : LORAX2 = "OD3P40, LC5_A18, LC1_A18, LC4_A18";
	LC4_A18 : LORAX2 = "OD3P40, LC7_A18, LC5_A18, LC4_A18";
	LC6_A18 : LORAX2 = "OD3P40, LC7_A18, LC6_A18, LC3_A18";
	LC3_A18 : LORAX2 = "X, X, OD3P40, LC3_A18";
	LC7_A18 : LORAX2 = "X, LC5_A18, LC4_A18, LC1_A18";
	LC8_A20 : LORAX2 = "LC8_A18, LC6_A20, LC3_A20, LC8_A20";
	LC5_A20 : LORAX2 = "LC8_A18, LC4_A20, LC3_A20, LC5_A20";
	LC2_A20 : LORAX2 = "LC8_A18, LC3_A20, LC2_A20, LC1_A20";
	LC1_A20 : LORAX2 = "X, LC8_A18, LC3_A20, LC1_A20";
	LC3_A20 : LORAX2 = "LC1_A20, LC2_A20, LC8_A20, LC5_A20";
END;

⌨️ 快捷键说明

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