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

📄 7seg.fit

📁 veriloghdl 交通灯veriloghdl 交通灯veriloghdl 交通灯veriloghdl 交通灯veriloghdl 交通灯veriloghdl 交通灯veriloghdl 交通灯
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 03/30/2009 18:14:01      

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

    DEVICE = "EP1K10TC100-1";

    "i0"                           : INPUT_PIN  = 89     ;
    "i1"                           : INPUT_PIN  = 91     ;
    "i2"                           : INPUT_PIN  = 40     ;
    "i3"                           : INPUT_PIN  = 38     ;
    "a"                            : OUTPUT_PIN = 64     ;
    "b"                            : OUTPUT_PIN = 15     ;
    "c"                            : OUTPUT_PIN = 62     ;
    "d"                            : OUTPUT_PIN = 63     ;
    "dp"                           : OUTPUT_PIN = 61     ;
    "e"                            : OUTPUT_PIN = 14     ;
    "f"                            : OUTPUT_PIN = 65     ;
    "g"                            : OUTPUT_PIN = 16     ;
    ":59"                          : LOCATION   = LC6_B4 ;
    ":81"                          : LOCATION   = LC1_B4 ;
    "~92~1"                        : LOCATION   = LC1_B16;
    "~102~1"                       : LOCATION   = LC2_B16;
    ":104"                         : LOCATION   = LC8_B16;
    ":114"                         : LOCATION   = LC3_B4 ;
    ":118"                         : LOCATION   = LC4_B4 ;
    ":120"                         : LOCATION   = LC6_B16;
    ":135"                         : LOCATION   = LC2_B4 ;
    ":137"                         : LOCATION   = LC8_B4 ;
    "~137~1"                       : LOCATION   = LC5_B4 ;
    "~137~2"                       : LOCATION   = LC7_B4 ;

END;

INTERNAL_INFO "7seg"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD1P89  : LORAX = "1:FB1|2:FH1R1|3:PA20R1C3->LC6_B4,->LC1_B4,->LC4_B4,->LC5_B4,->LC7_B4|,3:PA20R1C15->LC1_B16,->LC2_B16,->LC6_B16|||";
    OD0P91  : LORAX = "1:FB0|2:FH0R1|3:PA0R1C3->LC6_B4,->LC1_B4,->LC3_B4,->LC4_B4,->LC2_B4,->LC5_B4,->LC7_B4|,3:PA0R1C15->LC8_B16,->LC6_B16|||";
    OD3P40  : LORAX = "1:FB3|2:FH3R1|3:PA5R1C3->LC6_B4,->LC1_B4,->LC4_B4,->LC5_B4,->LC7_B4|,3:PA5R1C15->LC1_B16,->LC2_B16,->LC6_B16|||";
    OD2P38  : LORAX = "1:FB2|2:FH2R1|3:PA6R1C3->LC6_B4,->LC1_B4,->LC4_B4,->LC5_B4,->LC7_B4|,3:PA6R1C15->LC1_B16,->LC2_B16,->LC6_B16|||";
    LC6_B4  : LORAX = "1:MSW5R1C3,HHL33R1->OH13R1P62|";
    LC1_B4  : LORAX = "1:MSW1R1C2,HHL2R1->OH9R1P64|";
    LC1_B16 : LORAX = "1:MSW0R1C15,G42R1,PA17R1C3->LC3_B4,->LC2_B4|";
    LC8_B16 : LORAX = "1:MSW4R1C14,HHR43R1->OH4R1P15|";
    LC3_B4  : LORAX = "1:MSW3R1C2,HHL6R1->OH11R1P63|";
    LC4_B4  : LORAX = "1:MSW0R1C2,HHL21R1->OH8R1P65|";
    LC6_B16 : LORAX = "1:MSW6R1C14,HHR40R1->OH6R1P16|";
    LC2_B4  : LORAX = "1:MSW2R1C2,G14R1->OH2R1P14|";
    LC8_B4  : LORAX = "1:MSW7R1C3,HHL27R1->OH15R1P61|";
	LC6_B4  : LORAX2 = "OD3P40, OD2P38, OD0P91, OD1P89";
	LC1_B4  : LORAX2 = "OD3P40, OD2P38, OD0P91, OD1P89";
	LC1_B16 : LORAX2 = "X, OD2P38, OD3P40, OD1P89";
	LC2_B16 : LORAX2 = "X, OD2P38, OD3P40, OD1P89";
	LC8_B16 : LORAX2 = "X, LC2_B16, OD0P91, LC1_B16";
	LC3_B4  : LORAX2 = "X, LC1_B4, OD0P91, LC1_B16";
	LC4_B4  : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
	LC6_B16 : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
	LC2_B4  : LORAX2 = "LC5_B4, OD0P91, LC1_B16, LC3_B4";
	LC5_B4  : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC7_B4  : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
	LC8_B4  : LORAX2 = "X, LC7_B4, LC5_B4, LC3_B4";
END;

⌨️ 快捷键说明

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