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

📄 display.fit

📁 点阵显示实验示例使用说明 使用模块有:时钟源模块、点阵显示模块
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 09/07/2004 17:27:03      

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

    DEVICE = "EP1K10TC100-1";

    "CLK1"                         : INPUT_PIN  = 39     ;
    "CLK2"                         : INPUT_PIN  = 90     ;
    "RESET"                        : INPUT_PIN  = 38     ;
    "A0"                           : OUTPUT_PIN = 6      ;
    "A1"                           : OUTPUT_PIN = 8      ;
    "A2"                           : OUTPUT_PIN = 70     ;
    "A3"                           : OUTPUT_PIN = 10     ;
    "A4"                           : OUTPUT_PIN = 65     ;
    "A5"                           : OUTPUT_PIN = 63     ;
    "A6"                           : OUTPUT_PIN = 61     ;
    "A7"                           : OUTPUT_PIN = 62     ;
    "LEDW0"                        : OUTPUT_PIN = 15     ;
    "LEDW1"                        : OUTPUT_PIN = 9      ;
    "LEDW2"                        : OUTPUT_PIN = 5      ;
    "LEDW3"                        : OUTPUT_PIN = 96     ;
    ":16"                          : LOCATION   = LC8_A21;  -- counter3
    "~16~1"                        : LOCATION   = LC4_A21;  -- counter3~1
    ":17"                          : LOCATION   = LC3_A21;  -- counter2
    "~17~1"                        : LOCATION   = LC1_A21;  -- counter2~1
    ":18"                          : LOCATION   = LC5_A21;  -- counter1
    "~18~1"                        : LOCATION   = LC7_A21;  -- counter1~1
    ":19"                          : LOCATION   = LC2_A21;  -- counter0
    "~19~1"                        : LOCATION   = LC5_B19;  -- counter0~1
    ":22"                          : LOCATION   = LC2_B2 ;  -- vv0
    ":24"                          : LOCATION   = LC6_B2 ;  -- PAGE3
    ":25"                          : LOCATION   = LC8_B2 ;  -- PAGE2
    ":26"                          : LOCATION   = LC4_B2 ;  -- PAGE1
    ":27"                          : LOCATION   = LC1_B2 ;  -- PAGE0

END;

INTERNAL_INFO "display"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD5P39  : LORAX = "1:FB5->LC2_B2|";
    OD4P90  : LORAX = "1:FB4->LC4_A21,->LC8_A21,->LC1_A21,->LC3_A21,->LC7_A21,->LC5_A21,->LC5_B19,->LC2_A21|";
    OD2P38  : LORAX = "1:FB2->LC4_A21,->LC8_A21,->LC1_A21,->LC3_A21,->LC7_A21,->LC5_A21,->LC5_B19,->LC2_A21|";
    LC4_A21 : LORAX = "1:MSW3R0C21,V9C21->OV0C21P96|";
    LC8_A21 : LORAX = "1:MSW7R0C20,G91R0->OH7R0P10|";
    LC1_A21 : LORAX = "1:MSW0R0C21,HHR19R0->OH0R0P5|";
    LC3_A21 : LORAX = "1:MSW2R0C20,G7R0->OH10R0P70|";
    LC7_A21 : LORAX = "1:MSW6R0C21,HHR26R0->OH6R0P9|";
    LC5_A21 : LORAX = "1:MSW4R0C21,HHR38R0->OH4R0P8|";
    LC5_B19 : LORAX = "1:MSW4R1C19,HHR36R1->OH4R1P15|";
    LC2_A21 : LORAX = "1:MSW1R0C21,HHR12R0->OH1R0P6|";
    LC6_B2  : LORAX = "1:MSW5R1C1,HHL28R1->OH13R1P62|";
    LC8_B2  : LORAX = "1:MSW7R1C1,G58R1->OH15R1P61|";
    LC4_B2  : LORAX = "1:MSW3R1C1,HHL13R1->OH11R1P63|";
    LC1_B2  : LORAX = "1:MSW0R1C1,HHL23R1->OH8R1P65|";
	LC4_A21 : LORAX2 = "LC4_A21, LC3_A21, LC5_A21, LC2_A21";
	LC8_A21 : LORAX2 = "LC8_A21, LC3_A21, LC5_A21, LC2_A21";
	LC1_A21 : LORAX2 = "X, LC1_A21, LC2_A21, LC5_A21";
	LC3_A21 : LORAX2 = "X, LC3_A21, LC2_A21, LC5_A21";
	LC7_A21 : LORAX2 = "X, X, LC2_A21, LC7_A21";
	LC5_A21 : LORAX2 = "X, X, LC2_A21, LC5_A21";
	LC5_B19 : LORAX2 = "X, X, X, LC5_B19";
	LC2_A21 : LORAX2 = "X, X, X, LC2_A21";
	LC2_B2  : LORAX2 = "X, X, X, LC2_B2";
	LC6_B2  : LORAX2 = "LC6_B2, LC8_B2, LC4_B2, LC1_B2";
	LC8_B2  : LORAX2 = "X, LC8_B2, LC4_B2, LC1_B2";
	LC4_B2  : LORAX2 = "X, X, LC4_B2, LC1_B2";
	LC1_B2  : LORAX2 = "X, X, X, LC1_B2";
END;

⌨️ 快捷键说明

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