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

📄 count60.fit

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

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

    DEVICE = "EP1K10TC100-1";

    "clk"                          : INPUT_PIN  = 39     ;
    "clr"                          : INPUT_PIN  = 38     ;
    "en"                           : INPUT_PIN  = 40     ;
    "cout"                         : OUTPUT_PIN = 5      ;
    "qout10"                       : OUTPUT_PIN = 10     ;
    "qout11"                       : OUTPUT_PIN = 7      ;
    "qout12"                       : OUTPUT_PIN = 9      ;
    "qout13"                       : OUTPUT_PIN = 6      ;
    "qout20"                       : OUTPUT_PIN = 69     ;
    "qout21"                       : OUTPUT_PIN = 71     ;
    "qout22"                       : OUTPUT_PIN = 68     ;
    "qout23"                       : OUTPUT_PIN = 94     ;
    "clr~1"                        : LOCATION   = LC1_A21;
    "|LPM_ADD_SUB:47|addcore:adder|:55" : LOCATION   = LC4_A19;
    "|LPM_ADD_SUB:47|addcore:adder|:69" : LOCATION   = LC6_A19;
    "|LPM_ADD_SUB:171|addcore:adder|:55" : LOCATION   = LC5_A22;
    "|LPM_ADD_SUB:171|addcore:adder|:69" : LOCATION   = LC8_A22;
    ":1"                           : LOCATION   = LC1_A22;
    ":14"                          : LOCATION   = LC3_A19;  -- cin
    ":17"                          : LOCATION   = LC8_A19;  -- cnt03
    ":18"                          : LOCATION   = LC7_A19;  -- cnt02
    ":19"                          : LOCATION   = LC1_A19;  -- cnt01
    ":20"                          : LOCATION   = LC5_A19;  -- cnt00
    ":36"                          : LOCATION   = LC2_A19;
    ":141"                         : LOCATION   = LC2_A22;  -- cnt13
    ":142"                         : LOCATION   = LC6_A22;  -- cnt12
    ":143"                         : LOCATION   = LC3_A22;  -- cnt11
    ":144"                         : LOCATION   = LC7_A22;  -- cnt10
    ":160"                         : LOCATION   = LC4_A22;

END;

INTERNAL_INFO "count60"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD5P39  : LORAX = "1:FB5->LC1_A22,->LC3_A19,->LC8_A19,->LC7_A19,->LC1_A19,->LC5_A19,->LC2_A22,->LC6_A22,->LC3_A22,->LC7_A22|";
    OD2P38  : LORAX = "1:FB2->LC8_A19,->LC7_A19,->LC1_A19,->LC5_A19,->LC2_A22,->LC6_A22,->LC3_A22,->LC7_A22|2:FH2R0,PA6R0C20->LC1_A21||";
    LC1_A21 : LORAX = "1:MSW0R0C20,HHR21R0|2:PA14R0C18->LC3_A19|,2:PA14R0C21->LC1_A22||";
    OD3P40  : LORAX = "1:FB3|2:FH3R0,PA5R0C18->LC3_A19,->LC8_A19,->LC7_A19,->LC1_A19,->LC5_A19||";
    LC1_A22 : LORAX = "1:MSW0R0C21,HHR19R0->OH0R0P5|";
    LC3_A19 : LORAX = "1:MSW2R0C18,G12R0,PA3R0C21->LC1_A22,->LC2_A22,->LC6_A22,->LC3_A22,->LC7_A22|";
    LC8_A19 : LORAX = "1:MSW7R0C18,V21C18->OV1C18P94|";
    LC7_A19 : LORAX = "1:MSW6R0C18,G92R0->OH14R0P68|";
    LC1_A19 : LORAX = "1:MSW0R0C19,G38R0->OH8R0P71|";
    LC5_A19 : LORAX = "1:MSW4R0C19,G59R0->OH12R0P69|";
    LC2_A22 : LORAX = "1:MSW1R0C21,HHR12R0->OH1R0P6|";
    LC6_A22 : LORAX = "1:MSW6R0C20,HHR40R0->OH6R0P9|";
    LC3_A22 : LORAX = "1:MSW2R0C21,HHR14R0->OH2R0P7|";
    LC7_A22 : LORAX = "1:MSW7R0C20,HHR37R0->OH7R0P10|";
	LC1_A21 : LORAX2 = "X, X, X, OD2P38";
	LC4_A19 : LORAX2 = "X, X, LC5_A19, LC1_A19";
	LC6_A19 : LORAX2 = "LC8_A19, LC7_A19, LC1_A19, LC5_A19";
	LC5_A22 : LORAX2 = "X, X, LC7_A22, LC3_A22";
	LC8_A22 : LORAX2 = "LC2_A22, LC6_A22, LC3_A22, LC7_A22";
	LC1_A22 : LORAX2 = "LC1_A21, LC3_A19, LC4_A22, LC1_A22";
	LC3_A19 : LORAX2 = "LC1_A21, OD3P40, LC3_A19, LC2_A19";
	LC8_A19 : LORAX2 = "OD3P40, LC6_A19, LC2_A19, LC8_A19";
	LC7_A19 : LORAX2 = "OD3P40, LC4_A19, LC2_A19, LC7_A19";
	LC1_A19 : LORAX2 = "OD3P40, LC2_A19, LC1_A19, LC5_A19";
	LC5_A19 : LORAX2 = "X, X, OD3P40, LC5_A19";
	LC2_A19 : LORAX2 = "LC5_A19, LC1_A19, LC8_A19, LC7_A19";
	LC2_A22 : LORAX2 = "LC3_A19, LC8_A22, LC4_A22, LC2_A22";
	LC6_A22 : LORAX2 = "LC3_A19, LC5_A22, LC4_A22, LC6_A22";
	LC3_A22 : LORAX2 = "LC3_A19, LC4_A22, LC3_A22, LC7_A22";
	LC7_A22 : LORAX2 = "X, X, LC3_A19, LC7_A22";
	LC4_A22 : LORAX2 = "LC7_A22, LC3_A22, LC2_A22, LC6_A22";
END;

⌨️ 快捷键说明

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