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

📄 speaker.fit

📁 可以轻松实现秒表计数流水灯计数功能控制器
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 12/11/2008 16:48:12      

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

    DEVICE = "EPF10K10LC84-3";

    "clk"                          : INPUT_PIN  = 1      ;
    "tone0"                        : INPUT_PIN  = 42     ;
    "tone1"                        : INPUT_PIN  = 2      ;
    "tone2"                        : INPUT_PIN  = 44     ;
    "tone3"                        : INPUT_PIN  = 84     ;
    "tone4"                        : INPUT_PIN  = 43     ;
    "tone5"                        : INPUT_PIN  = 17     ;
    "tone6"                        : INPUT_PIN  = 69     ;
    "tone7"                        : INPUT_PIN  = 18     ;
    "tone8"                        : INPUT_PIN  = 73     ;
    "tone9"                        : INPUT_PIN  = 16     ;
    "tone10"                       : INPUT_PIN  = 71     ;
    "spks"                         : OUTPUT_PIN = 19     ;
    "|LPM_ADD_SUB:166|addcore:adder|:87" : LOCATION   = LC1_A9 ;
    "|LPM_ADD_SUB:166|addcore:adder|:91" : LOCATION   = LC3_A9 ;
    "|LPM_ADD_SUB:166|addcore:adder|:95" : LOCATION   = LC2_A9 ;
    "|LPM_ADD_SUB:166|addcore:adder|:99" : LOCATION   = LC2_A5 ;
    "|LPM_ADD_SUB:166|addcore:adder|:103" : LOCATION   = LC1_A10;
    "|LPM_ADD_SUB:166|addcore:adder|:107" : LOCATION   = LC7_A10;
    "|LPM_ADD_SUB:166|addcore:adder|:111" : LOCATION   = LC2_A1 ;
    "|LPM_ADD_SUB:166|addcore:adder|:115" : LOCATION   = LC3_A1 ;
    ":13"                          : LOCATION   = LC7_A7 ;
    ":16"                          : LOCATION   = LC6_A1 ;  -- fullspks
    ":18"                          : LOCATION   = LC5_A10;  -- count43
    ":19"                          : LOCATION   = LC6_A10;  -- count42
    ":20"                          : LOCATION   = LC2_A10;  -- count41
    ":21"                          : LOCATION   = LC1_A6 ;  -- count40
    ":27"                          : LOCATION   = LC8_A10;
    ":82"                          : LOCATION   = LC8_A1 ;  -- count1110
    ":83"                          : LOCATION   = LC7_A1 ;  -- count119
    ":84"                          : LOCATION   = LC5_A1 ;  -- count118
    ":85"                          : LOCATION   = LC4_A1 ;  -- count117
    ":86"                          : LOCATION   = LC4_A10;  -- count116
    ":87"                          : LOCATION   = LC3_A10;  -- count115
    ":88"                          : LOCATION   = LC1_A5 ;  -- count114
    ":89"                          : LOCATION   = LC7_A9 ;  -- count113
    ":90"                          : LOCATION   = LC6_A9 ;  -- count112
    ":91"                          : LOCATION   = LC4_A9 ;  -- count111
    ":92"                          : LOCATION   = LC5_A9 ;  -- count110
    ":107"                         : LOCATION   = LC1_A1 ;
    ":284"                         : LOCATION   = LC1_A7 ;  -- count2

END;

INTERNAL_INFO "speaker"
BEGIN
	DEVICE = EPF10K10LC84-3;
    OD4P1   : LORAX = "1:FB4->LC5_A10,->LC6_A10,->LC2_A10,->LC1_A6|";
    LC2_A9  : LORAX = "1:MSW1R0C8,HHL2R0,PA20R0C4->LC2_A5,->LC1_A5|";
    LC2_A5  : LORAX = "1:MSW1R0C4,HHL5R0,PA17R0C9->LC1_A10,->LC3_A10|";
    LC7_A10 : LORAX = "1:MSW6R0C9,HHL26R0,PA9R0C0->LC2_A1,->LC4_A1|";
    OD3P42  : LORAX = "1:FB3|2:FH3R0,PA5R0C8->LC5_A9||";
    OD1P2   : LORAX = "1:FB1|2:FH1R0,PA20R0C8->LC4_A9||";
    OD2P44  : LORAX = "1:FB2|2:FH2R0,PA6R0C8->LC6_A9||";
    OD0P84  : LORAX = "1:FB0|2:FH0R0,PA0R0C8->LC7_A9||";
    OD5P43  : LORAX = "1:FB5|2:CH1R0,PA7R0C4->LC1_A5||";
    OH10R0P17 : LORAX = "1:G41R0,PA18R0C9->LC3_A10|";
    OH7R0P69 : LORAX = "1:G5R0,PA16R0C9->LC4_A10|";
    OH12R0P18 : LORAX = "1:G40R0,PA19R0C0->LC4_A1|";
    OH0R0P73 : LORAX = "1:G10R0,PA11R0C0->LC5_A1|";
    OH8R0P16 : LORAX = "1:G13R0,PA0R0C0->LC7_A1|";
    OH3R0P71 : LORAX = "1:G37R0,PA1R0C0->LC8_A1|";
    LC7_A7  : LORAX = "1:MSW6R0C6,HHL29R0->OH14R0P19|";
    LC6_A1  : LORAX = "1:MSW5R0C0,G94R0,PA4R0C6->LC7_A7,->LC1_A7|";
    LC1_A6  : LORAX = "1:MSW0R0C5,HHL20R0,PA13R0C9->LC5_A10,->LC6_A10,->LC2_A10|";
    LC8_A10 : LORAX = "1:|2:MSW4R0C8,HHL43R0|3:PA6R0C0->LC6_A1,->LC8_A1,->LC7_A1,->LC5_A1,->LC4_A1|,3:PA18R0C8->LC7_A9,->LC6_A9,->LC4_A9,->LC5_A9||,2:MSW7R0C9,HHL27R0|3:PA8R0C4->LC1_A5|,3:PA8R0C5->LC1_A6|||";
    LC1_A1  : LORAX = "1:|2:MSW0R0C1,HHL23R0|3:PA1R0C4->LC1_A5|,3:PA1R0C8->LC7_A9,->LC6_A9,->LC4_A9,->LC5_A9||,2:MSW0R0C0,HHL22R0,PA2R0C9->LC4_A10,->LC3_A10||";
	LC1_A9  : LORAX2 = "X, X, LC4_A9, LC5_A9";
	LC3_A9  : LORAX2 = "X, X, LC6_A9, LC1_A9";
	LC2_A9  : LORAX2 = "X, X, LC7_A9, LC3_A9";
	LC2_A5  : LORAX2 = "X, X, LC1_A5, LC2_A9";
	LC1_A10 : LORAX2 = "X, X, LC3_A10, LC2_A5";
	LC7_A10 : LORAX2 = "X, X, LC4_A10, LC1_A10";
	LC2_A1  : LORAX2 = "X, X, LC4_A1, LC7_A10";
	LC3_A1  : LORAX2 = "X, X, LC5_A1, LC2_A1";
	LC7_A7  : LORAX2 = "X, X, X, LC1_A7";
	LC6_A1  : LORAX2 = "LC8_A1, LC7_A1, LC5_A1, LC2_A1";
	LC5_A10 : LORAX2 = "LC1_A6, LC2_A10, LC5_A10, LC6_A10";
	LC6_A10 : LORAX2 = "X, LC2_A10, LC1_A6, LC6_A10";
	LC2_A10 : LORAX2 = "X, X, LC2_A10, LC1_A6";
	LC1_A6  : LORAX2 = "X, X, X, LC1_A6";
	LC8_A10 : LORAX2 = "X, X, LC5_A10, LC6_A10";
	LC8_A1  : LORAX2 = "OH3R0P71, LC8_A1, LC7_A1, LC3_A1";
	LC7_A1  : LORAX2 = "OH8R0P16, LC7_A1, LC1_A1, LC3_A1";
	LC5_A1  : LORAX2 = "OH0R0P73, LC5_A1, LC1_A1, LC2_A1";
	LC4_A1  : LORAX2 = "OH12R0P18, LC4_A1, LC1_A1, LC7_A10";
	LC4_A10 : LORAX2 = "OH7R0P69, LC4_A10, LC1_A1, LC1_A10";
	LC3_A10 : LORAX2 = "OH10R0P17, LC3_A10, LC1_A1, LC2_A5";
	LC1_A5  : LORAX2 = "OD5P43, LC1_A5, LC1_A1, LC2_A9";
	LC7_A9  : LORAX2 = "OD0P84, LC7_A9, LC1_A1, LC3_A9";
	LC6_A9  : LORAX2 = "OD2P44, LC6_A9, LC1_A1, LC1_A9";
	LC4_A9  : LORAX2 = "OD1P2, LC4_A9, LC1_A1, LC5_A9";
	LC5_A9  : LORAX2 = "X, OD3P42, LC1_A1, LC5_A9";
	LC1_A1  : LORAX2 = "X, LC8_A1, LC7_A1, LC3_A1";
	LC1_A7  : LORAX2 = "X, X, X, LC1_A7";
END;

⌨️ 快捷键说明

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