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

📄 kk.fit

📁 实现一个简单的电子钟
💻 FIT
📖 第 1 页 / 共 4 页
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 12/10/2005 21:19:27      

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

    DEVICE = "EPF10K20TC144-3";

    "cp"                           : INPUT_PIN  = 55     ;
    "key0"                         : INPUT_PIN  = 88     ;
    "key1"                         : INPUT_PIN  = 87     ;
    "key2"                         : INPUT_PIN  = 86     ;
    "segout0"                      : OUTPUT_PIN = 51     ;
    "segout1"                      : OUTPUT_PIN = 49     ;
    "segout2"                      : OUTPUT_PIN = 48     ;
    "segout3"                      : OUTPUT_PIN = 47     ;
    "segout4"                      : OUTPUT_PIN = 46     ;
    "segout5"                      : OUTPUT_PIN = 44     ;
    "segout6"                      : OUTPUT_PIN = 43     ;
    "segout7"                      : OUTPUT_PIN = 42     ;
    "selout0"                      : OUTPUT_PIN = 8      ;
    "selout1"                      : OUTPUT_PIN = 102    ;
    "selout2"                      : OUTPUT_PIN = 100    ;
    "selout3"                      : OUTPUT_PIN = 99     ;
    "selout4"                      : OUTPUT_PIN = 97     ;
    "selout5"                      : OUTPUT_PIN = 96     ;
    "|TIMER_SET:1|counter24:u3|LPM_ADD_SUB:78|addcore:adder|:59" : LOCATION   = LC6_B8 ;
    "|TIMER_SET:1|counter24:u3|LPM_ADD_SUB:78|addcore:adder|:63" : LOCATION   = LC7_B8 ;
    "|TIMER_SET:1|counter24:u3|LPM_ADD_SUB:78|addcore:adder|:67" : LOCATION   = LC8_B8 ;
    "|TIMER_SET:1|counter24:u3|:13" : LOCATION   = LC1_B8 ;  -- |TIMER_SET:1|counter24:u3|q4
    "|TIMER_SET:1|counter24:u3|:14" : LOCATION   = LC4_B8 ;  -- |TIMER_SET:1|counter24:u3|q3
    "|TIMER_SET:1|counter24:u3|:15" : LOCATION   = LC5_B8 ;  -- |TIMER_SET:1|counter24:u3|q2
    "|TIMER_SET:1|counter24:u3|:16" : LOCATION   = LC3_B8 ;  -- |TIMER_SET:1|counter24:u3|q1
    "|TIMER_SET:1|counter24:u3|:17" : LOCATION   = LC2_B8 ;  -- |TIMER_SET:1|counter24:u3|q0
    "|TIMER_SET:1|counter24:u3|:51" : LOCATION   = LC7_B7 ;
    "|TIMER_SET:1|counter24:u3|~216~1" : LOCATION   = LC4_B7 ;
    "|TIMER_SET:1|counter60:u1|LPM_ADD_SUB:83|addcore:adder|:67" : LOCATION   = LC6_B6 ;
    "|TIMER_SET:1|counter60:u1|LPM_ADD_SUB:83|addcore:adder|:71" : LOCATION   = LC7_B6 ;
    "|TIMER_SET:1|counter60:u1|:13" : LOCATION   = LC3_B6 ;  -- |TIMER_SET:1|counter60:u1|q5
    "|TIMER_SET:1|counter60:u1|:14" : LOCATION   = LC1_B6 ;  -- |TIMER_SET:1|counter60:u1|q4
    "|TIMER_SET:1|counter60:u1|:15" : LOCATION   = LC5_B6 ;  -- |TIMER_SET:1|counter60:u1|q3
    "|TIMER_SET:1|counter60:u1|:16" : LOCATION   = LC8_B6 ;  -- |TIMER_SET:1|counter60:u1|q2
    "|TIMER_SET:1|counter60:u1|:17" : LOCATION   = LC4_B6 ;  -- |TIMER_SET:1|counter60:u1|q1
    "|TIMER_SET:1|counter60:u1|:18" : LOCATION   = LC2_B6 ;  -- |TIMER_SET:1|counter60:u1|q0
    "|TIMER_SET:1|counter60:u1|:19" : LOCATION   = LC7_B1 ;  -- |TIMER_SET:1|counter60:u1|dly
    "|TIMER_SET:1|counter60:u1|~173~1" : LOCATION   = LC2_B3 ;
    "|TIMER_SET:1|counter60:u1|:180" : LOCATION   = LC8_B3 ;
    "|TIMER_SET:1|counter60:u2|LPM_ADD_SUB:83|addcore:adder|:67" : LOCATION   = LC7_B4 ;
    "|TIMER_SET:1|counter60:u2|LPM_ADD_SUB:83|addcore:adder|:71" : LOCATION   = LC8_B4 ;
    "|TIMER_SET:1|counter60:u2|:13" : LOCATION   = LC4_B4 ;  -- |TIMER_SET:1|counter60:u2|q5
    "|TIMER_SET:1|counter60:u2|:14" : LOCATION   = LC3_B4 ;  -- |TIMER_SET:1|counter60:u2|q4
    "|TIMER_SET:1|counter60:u2|:15" : LOCATION   = LC2_B4 ;  -- |TIMER_SET:1|counter60:u2|q3
    "|TIMER_SET:1|counter60:u2|:16" : LOCATION   = LC1_B4 ;  -- |TIMER_SET:1|counter60:u2|q2
    "|TIMER_SET:1|counter60:u2|:17" : LOCATION   = LC5_B4 ;  -- |TIMER_SET:1|counter60:u2|q1
    "|TIMER_SET:1|counter60:u2|:18" : LOCATION   = LC6_B4 ;  -- |TIMER_SET:1|counter60:u2|q0
    "|TIMER_SET:1|counter60:u2|:19" : LOCATION   = LC2_B1 ;  -- |TIMER_SET:1|counter60:u2|dly
    "|TIMER_SET:1|counter60:u2|~173~1" : LOCATION   = LC3_B7 ;
    "|TIMER_SET:1|counter60:u2|:180" : LOCATION   = LC5_B7 ;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:143" : LOCATION   = LC1_D11;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:151" : LOCATION   = LC2_D7 ;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:163" : LOCATION   = LC1_D7 ;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:175" : LOCATION   = LC1_D3 ;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:187" : LOCATION   = LC2_D3 ;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:195" : LOCATION   = LC2_B12;
    "|TIMER_SET:1|LPM_ADD_SUB:383|addcore:adder|:207" : LOCATION   = LC6_B12;
    "|TIMER_SET:1|:145"            : LOCATION   = LC1_B12;  -- |TIMER_SET:1|q21
    "|TIMER_SET:1|:146"            : LOCATION   = LC8_B12;  -- |TIMER_SET:1|q20
    "|TIMER_SET:1|:147"            : LOCATION   = LC7_B12;  -- |TIMER_SET:1|q19
    "|TIMER_SET:1|:148"            : LOCATION   = LC5_B12;  -- |TIMER_SET:1|q18
    "|TIMER_SET:1|:149"            : LOCATION   = LC4_B12;  -- |TIMER_SET:1|q17
    "|TIMER_SET:1|:150"            : LOCATION   = LC3_B12;  -- |TIMER_SET:1|q16
    "|TIMER_SET:1|:151"            : LOCATION   = LC1_B2 ;  -- |TIMER_SET:1|q15
    "|TIMER_SET:1|:152"            : LOCATION   = LC8_B2 ;  -- |TIMER_SET:1|q14
    "|TIMER_SET:1|:153"            : LOCATION   = LC4_D3 ;  -- |TIMER_SET:1|q13
    "|TIMER_SET:1|:154"            : LOCATION   = LC8_D3 ;  -- |TIMER_SET:1|q12
    "|TIMER_SET:1|:155"            : LOCATION   = LC7_D3 ;  -- |TIMER_SET:1|q11
    "|TIMER_SET:1|:156"            : LOCATION   = LC6_D3 ;  -- |TIMER_SET:1|q10
    "|TIMER_SET:1|:157"            : LOCATION   = LC5_D3 ;  -- |TIMER_SET:1|q9
    "|TIMER_SET:1|:158"            : LOCATION   = LC3_D3 ;  -- |TIMER_SET:1|q8
    "|TIMER_SET:1|:159"            : LOCATION   = LC7_D7 ;  -- |TIMER_SET:1|q7
    "|TIMER_SET:1|:160"            : LOCATION   = LC6_D7 ;  -- |TIMER_SET:1|q6
    "|TIMER_SET:1|:161"            : LOCATION   = LC5_D7 ;  -- |TIMER_SET:1|q5
    "|TIMER_SET:1|:162"            : LOCATION   = LC4_D7 ;  -- |TIMER_SET:1|q4
    "|TIMER_SET:1|:163"            : LOCATION   = LC3_D7 ;  -- |TIMER_SET:1|q3
    "|TIMER_SET:1|:164"            : LOCATION   = LC4_D11;  -- |TIMER_SET:1|q2
    "|TIMER_SET:1|:165"            : LOCATION   = LC2_D11;  -- |TIMER_SET:1|q1
    "|TIMER_SET:1|:166"            : LOCATION   = LC3_D11;  -- |TIMER_SET:1|q0
    "|TIMER_SET:1|:167"            : LOCATION   = LC4_B1 ;  -- |TIMER_SET:1|dly
    "|TIMER_SET:1|:168"            : LOCATION   = LC4_E12;  -- |TIMER_SET:1|sdly
    "|TIMER_SET:1|:187"            : LOCATION   = LC2_E12;  -- |TIMER_SET:1|d0
    "|TIMER_SET:1|:188"            : LOCATION   = LC3_E12;  -- |TIMER_SET:1|d1
    "|TIMER_SET:1|:189"            : LOCATION   = LC6_E12;  -- |TIMER_SET:1|s~194
    "|TIMER_SET:1|:190"            : LOCATION   = LC8_E12;  -- |TIMER_SET:1|r
    "|TIMER_SET:1|:194"            : LOCATION   = LC1_E11;  -- |TIMER_SET:1|d0~208
    "|TIMER_SET:1|:195"            : LOCATION   = LC2_E11;  -- |TIMER_SET:1|d1~210
    "|TIMER_SET:1|:198"            : LOCATION   = LC6_B5 ;  -- |TIMER_SET:1|q2~220
    "|TIMER_SET:1|:199"            : LOCATION   = LC2_B5 ;  -- |TIMER_SET:1|q1~220
    "|TIMER_SET:1|:200"            : LOCATION   = LC3_B5 ;  -- |TIMER_SET:1|q0~220
    "|TIMER_SET:1|:690"            : LOCATION   = LC5_E12;
    "|TIMER_SET:1|:696"            : LOCATION   = LC7_E12;
    "|TIMER_SET:1|:854"            : LOCATION   = LC4_D14;
    "|TIMER_SET:1|:888"            : LOCATION   = LC1_D14;
    "|TIMER_SET:1|:922"            : LOCATION   = LC2_D16;
    "|TIMER_SET:1|:956"            : LOCATION   = LC1_D16;
    "|TIMER_SET:1|:990"            : LOCATION   = LC1_D17;
    "|TIMER_SET:1|:1024"           : LOCATION   = LC5_D18;
    "|TIMER_SET:1|:1057"           : LOCATION   = LC7_B5 ;
    "|TIMER_SET:1|~1057~1"         : LOCATION   = LC8_B5 ;
    "|TIMER_SET:1|:1058"           : LOCATION   = LC2_D18;
    "|TIMER_SET:1|~1058~1"         : LOCATION   = LC3_D16;
    "|TIMER_SET:1|~1108~1"         : LOCATION   = LC1_B1 ;
    "|TIMER_SET:1|:1109"           : LOCATION   = LC4_B5 ;
    "|TIMER_SET:1|:1115"           : LOCATION   = LC1_B5 ;
    "|TIMER_SET:1|:1116"           : LOCATION   = LC8_B1 ;
    "|TIMER_SET:1|:1122"           : LOCATION   = LC6_B1 ;
    "|TIMER_SET:1|:1123"           : LOCATION   = LC5_B1 ;
    "|TIMER_SET:1|:1130"           : LOCATION   = LC3_B1 ;
    "|TIMER_SET:1|:1212"           : LOCATION   = LC8_B9 ;
    "|TIMER_SET:1|:1216"           : LOCATION   = LC3_B9 ;
    "|TIMER_SET:1|:1220"           : LOCATION   = LC6_B9 ;
    "|TIMER_SET:1|:1224"           : LOCATION   = LC1_B9 ;
    "|TIMER_SET:1|:1228"           : LOCATION   = LC4_A9 ;
    "|TIMER_SET:1|:1277"           : LOCATION   = LC6_A9 ;
    "|TIMER_SET:1|~1391~1"         : LOCATION   = LC1_B10;
    "|TIMER_SET:1|~1400~1"         : LOCATION   = LC7_B2 ;
    "|TIMER_SET:1|~1409~1"         : LOCATION   = LC3_B2 ;
    "|TIMER_SET:1|:1433"           : LOCATION   = LC4_B2 ;
    "|TIMER_SET:1|:1562"           : LOCATION   = LC2_B9 ;
    "|TIMER_SET:1|:1574"           : LOCATION   = LC3_B10;
    "|TIMER_SET:1|:1576"           : LOCATION   = LC4_B10;
    "|TIMER_SET:1|:1586"           : LOCATION   = LC8_B10;
    "|TIMER_SET:1|:1588"           : LOCATION   = LC2_B10;
    "|TIMER_SET:1|:1598"           : LOCATION   = LC6_A7 ;
    "|TIMER_SET:1|~1598~1"         : LOCATION   = LC5_B2 ;
    "|TIMER_SET:1|:1610"           : LOCATION   = LC6_B10;
    "|TIMER_SET:1|:1612"           : LOCATION   = LC7_B10;
    "|TIMER_SET:1|:1621"           : LOCATION   = LC5_B11;
    "|TIMER_SET:1|:1622"           : LOCATION   = LC3_B11;
    "|TIMER_SET:1|~1622~1"         : LOCATION   = LC8_B11;
    "|TIMER_SET:1|:1685"           : LOCATION   = LC1_A9 ;
    "|TIMER_SET:1|:1692"           : LOCATION   = LC7_A9 ;
    "|TIMER_SET:1|~1713~1"         : LOCATION   = LC5_A9 ;
    "|TIMER_SET:1|~1727~1"         : LOCATION   = LC8_A7 ;
    "|TIMER_SET:1|~1727~2"         : LOCATION   = LC7_A21;
    "|TIMER_SET:1|~1734~1"         : LOCATION   = LC7_A7 ;
    "|TIMER_SET:1|~1755~1"         : LOCATION   = LC6_A23;
    "|TIMER_SET:1|~1762~1"         : LOCATION   = LC7_A23;
    "|TIMER_SET:1|~1769~1"         : LOCATION   = LC3_A7 ;
    "|TIMER_SET:1|~1776~1"         : LOCATION   = LC2_A7 ;
    "|TIMER_SET:1|~1797~1"         : LOCATION   = LC1_A18;
    "|TIMER_SET:1|~1825~1"         : LOCATION   = LC8_A21;
    "|TIMER_SET:1|~1839~1"         : LOCATION   = LC4_A21;
    "|TIMER_SET:1|~1853~1"         : LOCATION   = LC5_B10;
    "|TIMER_SET:1|~1853~2"         : LOCATION   = LC1_A13;
    "|TIMER_SET:1|~1860~1"         : LOCATION   = LC3_A13;
    "|TIMER_SET:1|~1881~1"         : LOCATION   = LC7_A1 ;
    "|TIMER_SET:1|~1909~1"         : LOCATION   = LC5_A21;
    "|TIMER_SET:1|~1923~1"         : LOCATION   = LC6_A21;
    "|TIMER_SET:1|:2000"           : LOCATION   = LC6_A22;
    "|TIMER_SET:1|:2007"           : LOCATION   = LC1_A21;
    "|TIMER_SET:1|:2014"           : LOCATION   = LC5_A12;
    "|TIMER_SET:1|~2021~1"         : LOCATION   = LC3_A21;
    "|TIMER_SET:1|:2035"           : LOCATION   = LC5_A16;
    "|TIMER_SET:1|~2035~1"         : LOCATION   = LC2_A21;
    "|TIMER_SET:1|:2042"           : LOCATION   = LC1_A16;
    "|TIMER_SET:1|~2042~1"         : LOCATION   = LC4_A23;
    "|TIMER_SET:1|~2077~1"         : LOCATION   = LC5_A7 ;
    "|TIMER_SET:1|~2084~1"         : LOCATION   = LC4_A7 ;
    "|TIMER_SET:1|:2531"           : LOCATION   = LC1_A8 ;
    "|TIMER_SET:1|~2531~1"         : LOCATION   = LC6_A1 ;
    "|TIMER_SET:1|~2531~2"         : LOCATION   = LC6_A8 ;
    "|TIMER_SET:1|:2774"           : LOCATION   = LC3_A11;
    "|TIMER_SET:1|~2774~1"         : LOCATION   = LC1_A2 ;
    "|TIMER_SET:1|~2774~2"         : LOCATION   = LC6_A4 ;
    "|TIMER_SET:1|:2867"           : LOCATION   = LC5_A8 ;
    "|TIMER_SET:1|~2867~1"         : LOCATION   = LC3_A16;
    "|TIMER_SET:1|~2867~2"         : LOCATION   = LC7_A16;
    "|TIMER_SET:1|~2902~1"         : LOCATION   = LC7_A12;
    "|TIMER_SET:1|:2927"           : LOCATION   = LC2_A8 ;
    "|TIMER_SET:1|~2927~1"         : LOCATION   = LC4_A4 ;
    "|TIMER_SET:1|~2927~2"         : LOCATION   = LC1_A4 ;
    "|TIMER_SET:1|~2962~1"         : LOCATION   = LC1_A1 ;
    "|TIMER_SET:1|~2987~1"         : LOCATION   = LC5_A2 ;
    "|TIMER_SET:1|:3026"           : LOCATION   = LC2_A23;
    "|TIMER_SET:1|:3056"           : LOCATION   = LC7_A8 ;
    "|TIMER_SET:1|:3085"           : LOCATION   = LC4_A8 ;
    "|TIMER_SET:1|~3115~1"         : LOCATION   = LC5_A4 ;
    "|TIMER_SET:1|:3116"           : LOCATION   = LC1_A10;
    "|TIMER_SET:1|~3145~1"         : LOCATION   = LC1_A14;
    "|TIMER_SET:1|:3146"           : LOCATION   = LC8_A2 ;
    "|TIMER_SET:1|:3175"           : LOCATION   = LC4_A2 ;

⌨️ 快捷键说明

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