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

📄 speakera.fit

📁 本文介绍了乐曲演奏电路的设计与实现中涉及的CPLD/FPGA可编程逻辑控件,开发环境MAX+PLUSⅡ,硬件描述语言HDL以及介绍了在MAX+PLUSⅡ的EDA 软件平台上, 一种基于FPGA 的乐曲
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 05/17/2008 17:27:51      

-- Copyright (C) 1988-2000 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 "speakera"
BEGIN

    DEVICE = "EP1K100QC208-3";

    "clk"                          : INPUT_PIN  = 79     ;
    "tone0"                        : INPUT_PIN  = 78     ;
    "tone1"                        : INPUT_PIN  = 182    ;
    "tone2"                        : INPUT_PIN  = 184    ;
    "tone3"                        : INPUT_PIN  = 143    ;
    "tone4"                        : INPUT_PIN  = 80     ;
    "tone5"                        : INPUT_PIN  = 183    ;
    "tone6"                        : INPUT_PIN  = 11     ;
    "tone7"                        : INPUT_PIN  = 12     ;
    "tone8"                        : INPUT_PIN  = 13     ;
    "tone9"                        : INPUT_PIN  = 147    ;
    "tone10"                       : INPUT_PIN  = 144    ;
    "spks"                         : OUTPUT_PIN = 142    ;
    "|LPM_ADD_SUB:145|addcore:adder|:83" : LOCATION   = LC8_B30;
    "|LPM_ADD_SUB:145|addcore:adder|:87" : LOCATION   = LC7_B30;
    "|LPM_ADD_SUB:145|addcore:adder|:91" : LOCATION   = LC6_B30;
    "|LPM_ADD_SUB:145|addcore:adder|:95" : LOCATION   = LC1_B30;
    "|LPM_ADD_SUB:145|addcore:adder|:99" : LOCATION   = LC6_B29;
    "|LPM_ADD_SUB:145|addcore:adder|:103" : LOCATION   = LC5_B29;
    "|LPM_ADD_SUB:145|addcore:adder|:107" : LOCATION   = LC1_B29;
    "|LPM_ADD_SUB:145|addcore:adder|:111" : LOCATION   = LC5_B27;
    ":13"                          : LOCATION   = LC8_B27;
    ":16"                          : LOCATION   = LC6_B27;  -- fullspks
    ":18"                          : LOCATION   = LC2_B28;  -- c43
    ":19"                          : LOCATION   = LC3_B28;  -- c42
    ":20"                          : LOCATION   = LC4_B28;  -- c41
    ":21"                          : LOCATION   = LC5_B28;  -- c40
    ":27"                          : LOCATION   = LC1_B28;
    ":73"                          : LOCATION   = LC4_B27;  -- c1110
    ":74"                          : LOCATION   = LC2_B27;  -- c119
    ":75"                          : LOCATION   = LC3_B27;  -- c118
    ":76"                          : LOCATION   = LC2_B29;  -- c117
    ":77"                          : LOCATION   = LC3_B29;  -- c116
    ":78"                          : LOCATION   = LC4_B29;  -- c115
    ":79"                          : LOCATION   = LC2_B30;  -- c114
    ":80"                          : LOCATION   = LC3_B30;  -- c113
    ":81"                          : LOCATION   = LC4_B30;  -- c112
    ":82"                          : LOCATION   = LC5_B30;  -- c111
    ":83"                          : LOCATION   = LC1_B31;  -- c110
    ":98"                          : LOCATION   = LC1_B27;
    ":252"                         : LOCATION   = LC7_B27;  -- c2

END;

INTERNAL_INFO "speakera"
BEGIN
	DEVICE = EP1K100QC208-3;
    OD5P79  : LORAX = "1:FB5->LC2_B28,->LC3_B28,->LC4_B28,->LC5_B28|";
    LC1_B30 : LORAX = "1:MSW1R1C28,HHR21R1,PA10R1C28->LC6_B29,->LC4_B29|";
    LC1_B29 : LORAX = "1:MSW0R1C29,HHR40R1,PA21R1C26->LC5_B27,->LC6_B27,->LC3_B27|";
    OD2P78  : LORAX = "1:FB2|2:FH2R1,PA14R1C30->LC1_B31||";
    OD1P182 : LORAX = "1:FB1|2:FH1R1,PA15R1C29->LC5_B30||";
    OD0P184 : LORAX = "1:FB0|2:FH0R1,PA16R1C29->LC4_B30||";
    OH13R1P143 : LORAX = "1:G84R1,PA0R1C29->LC3_B30|";
    OD3P80  : LORAX = "1:FB3|2:FH3R1,PA13R1C29->LC2_B30||";
    OD4P183 : LORAX = "1:FB4|2:CH0R1,PA12R1C28->LC4_B29||";
    OH0R1P11 : LORAX = "1:G113R1,PA24R1C28->LC3_B29|";
    OH3R1P12 : LORAX = "1:G147R1,PA7R1C28->LC2_B29|";
    OH7R1P13 : LORAX = "1:G83R1,PA1R1C26->LC3_B27|";
    OH8R1P147 : LORAX = "1:G79R1,PA5R1C26->LC2_B27|";
    OH11R1P144 : LORAX = "1:G86R1,PA23R1C26->LC4_B27|";
    LC8_B27 : LORAX = "1:MSW7R1C26,G110R1->OH15R1P142|";
    LC1_B28 : LORAX = "1:MSW1R1C26,HHR38R1|2:PA6R1C30->LC1_B31|,2:PA6R1C26->LC6_B27,->LC4_B27,->LC2_B27,->LC3_B27|,2:PA6R1C28->LC2_B29,->LC3_B29,->LC4_B29|,2:PA6R1C29->LC2_B30,->LC3_B30,->LC4_B30,->LC5_B30||";
    LC1_B31 : LORAX = "1:MSW0R1C30,HHR50R1,PA9R1C29->LC8_B30,->LC5_B30|";
    LC1_B27 : LORAX = "1:MSW0R1C26,HHR47R1|2:PA3R1C30->LC1_B31|,2:PA3R1C28->LC2_B29,->LC3_B29,->LC4_B29|,2:PA3R1C29->LC2_B30,->LC3_B30,->LC4_B30,->LC5_B30||";
	LC8_B30 : LORAX2 = "X, X, LC5_B30, LC1_B31";
	LC7_B30 : LORAX2 = "X, X, LC4_B30, LC8_B30";
	LC6_B30 : LORAX2 = "X, X, LC3_B30, LC7_B30";
	LC1_B30 : LORAX2 = "X, X, LC2_B30, LC6_B30";
	LC6_B29 : LORAX2 = "X, X, LC4_B29, LC1_B30";
	LC5_B29 : LORAX2 = "X, X, LC3_B29, LC6_B29";
	LC1_B29 : LORAX2 = "X, X, LC2_B29, LC5_B29";
	LC5_B27 : LORAX2 = "X, X, LC3_B27, LC1_B29";
	LC8_B27 : LORAX2 = "X, X, X, LC7_B27";
	LC6_B27 : LORAX2 = "LC4_B27, LC2_B27, LC3_B27, LC1_B29";
	LC2_B28 : LORAX2 = "LC5_B28, LC4_B28, LC2_B28, LC3_B28";
	LC3_B28 : LORAX2 = "X, LC4_B28, LC5_B28, LC3_B28";
	LC4_B28 : LORAX2 = "X, X, LC4_B28, LC5_B28";
	LC5_B28 : LORAX2 = "X, X, X, LC5_B28";
	LC1_B28 : LORAX2 = "X, X, LC2_B28, LC3_B28";
	LC4_B27 : LORAX2 = "OH11R1P144, LC4_B27, LC2_B27, LC5_B27";
	LC2_B27 : LORAX2 = "OH8R1P147, LC2_B27, LC1_B27, LC5_B27";
	LC3_B27 : LORAX2 = "OH7R1P13, LC3_B27, LC1_B27, LC1_B29";
	LC2_B29 : LORAX2 = "OH3R1P12, LC2_B29, LC1_B27, LC5_B29";
	LC3_B29 : LORAX2 = "OH0R1P11, LC3_B29, LC1_B27, LC6_B29";
	LC4_B29 : LORAX2 = "OD4P183, LC4_B29, LC1_B27, LC1_B30";
	LC2_B30 : LORAX2 = "OD3P80, LC2_B30, LC1_B27, LC6_B30";
	LC3_B30 : LORAX2 = "OH13R1P143, LC3_B30, LC1_B27, LC7_B30";
	LC4_B30 : LORAX2 = "OD0P184, LC4_B30, LC1_B27, LC8_B30";
	LC5_B30 : LORAX2 = "OD1P182, LC5_B30, LC1_B27, LC1_B31";
	LC1_B31 : LORAX2 = "X, OD2P78, LC1_B27, LC1_B31";
	LC1_B27 : LORAX2 = "X, LC4_B27, LC2_B27, LC5_B27";
	LC7_B27 : LORAX2 = "X, X, X, LC7_B27";
END;

⌨️ 快捷键说明

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