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

📄 decoder.fit

📁 一个用VHDL编写的在CPLD上实现模拟交通灯的程序源代码
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 07/16/2005 19:33:14      

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

    DEVICE = "EP1K10TC100-1";

    "din0"                         : INPUT_PIN  = 40     ;
    "din1"                         : INPUT_PIN  = 38     ;
    "din2"                         : INPUT_PIN  = 91     ;
    "din3"                         : INPUT_PIN  = 89     ;
    "a"                            : OUTPUT_PIN = 63     ;
    "b"                            : OUTPUT_PIN = 65     ;
    "c"                            : OUTPUT_PIN = 15     ;
    "d"                            : OUTPUT_PIN = 13     ;
    "e"                            : OUTPUT_PIN = 14     ;
    "f"                            : OUTPUT_PIN = 61     ;
    "g"                            : OUTPUT_PIN = 62     ;
    "~444~1"                       : LOCATION   = LC2_B3 ;
    ":456"                         : LOCATION   = LC8_B1 ;
    ":492"                         : LOCATION   = LC3_B1 ;
    ":528"                         : LOCATION   = LC5_B20;
    ":540"                         : LOCATION   = LC3_B20;
    ":543"                         : LOCATION   = LC4_B1 ;
    ":591"                         : LOCATION   = LC1_B3 ;
    ":638"                         : LOCATION   = LC7_B20;
    ":639"                         : LOCATION   = LC8_B20;
    ":687"                         : LOCATION   = LC1_B20;
    "~687~1"                       : LOCATION   = LC5_B1 ;
    "~687~2"                       : LOCATION   = LC7_B1 ;
    "~687~3"                       : LOCATION   = LC1_B1 ;
    ":729"                         : LOCATION   = LC4_B20;
    ":735"                         : LOCATION   = LC2_B20;
    "~771~1"                       : LOCATION   = LC2_B1 ;
    ":783"                         : LOCATION   = LC8_B3 ;
    "~825~1"                       : LOCATION   = LC6_B20;
    ":833"                         : LOCATION   = LC6_B1 ;

END;

INTERNAL_INFO "decoder"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD3P40  : LORAX = "1:FB3|2:FH3R1|3:PA5R1C0->LC8_B1,->LC3_B1,->LC4_B1,->LC5_B1,->LC2_B1,->LC6_B1|,3:PA5R1C2->LC1_B3,->LC8_B3|,3:PA5R1C19->LC5_B20,->LC3_B20,->LC7_B20,->LC4_B20|||";
    OD2P38  : LORAX = "1:FB2|2:FH2R1|3:PA6R1C0->LC8_B1,->LC3_B1,->LC4_B1,->LC5_B1,->LC7_B1,->LC2_B1,->LC6_B1|,3:PA6R1C2->LC1_B3,->LC8_B3|,3:PA6R1C19->LC5_B20,->LC3_B20,->LC7_B20,->LC4_B20,->LC6_B20|||";
    OD0P91  : LORAX = "1:FB0|2:FH0R1|3:PA0R1C0->LC8_B1,->LC3_B1,->LC4_B1,->LC5_B1,->LC2_B1,->LC6_B1|,3:PA0R1C2->LC2_B3,->LC1_B3,->LC8_B3|,3:PA0R1C19->LC5_B20,->LC3_B20,->LC7_B20,->LC4_B20,->LC6_B20|||";
    OD1P89  : LORAX = "1:FB1|2:FH1R1|3:PA20R1C0->LC8_B1,->LC3_B1,->LC4_B1,->LC5_B1,->LC2_B1,->LC6_B1|,3:PA20R1C2->LC2_B3,->LC1_B3,->LC8_B3|,3:PA20R1C19->LC5_B20,->LC3_B20,->LC7_B20,->LC4_B20,->LC6_B20|||";
    LC2_B3  : LORAX = "1:MSW1R1C3,HHL12R1,PA3R1C0->LC7_B1|";
    LC4_B1  : LORAX = "1:MSW3R1C1,HHL13R1->OH11R1P63|";
    LC1_B3  : LORAX = "1:MSW0R1C3,HHL19R1->OH8R1P65|";
    LC8_B20 : LORAX = "1:MSW4R1C18,HHR41R1->OH4R1P15|";
    LC1_B1  : LORAX = "1:MSW0R1C1,G44R1,PA21R1C19->LC1_B20|";
    LC1_B20 : LORAX = "1:MSW0R1C19,HHR23R1->OH0R1P13|";
    LC2_B20 : LORAX = "1:MSW2R1C18,HHR3R1->OH2R1P14|";
    LC8_B3  : LORAX = "1:MSW7R1C3,G63R1->OH15R1P61|";
    LC6_B1  : LORAX = "1:MSW5R1C0,HHL34R1->OH13R1P62|";
	LC2_B3  : LORAX2 = "X, X, OD0P91, OD1P89";
	LC8_B1  : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
	LC3_B1  : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC5_B20 : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
	LC3_B20 : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC4_B1  : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC1_B3  : LORAX2 = "OD1P89, OD0P91, OD2P38, OD3P40";
	LC7_B20 : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
	LC8_B20 : LORAX2 = "X, LC7_B20, LC3_B20, LC5_B20";
	LC5_B1  : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
	LC7_B1  : LORAX2 = "X, LC5_B1, OD2P38, LC2_B3";
	LC1_B1  : LORAX2 = "LC3_B1, LC2_B1, LC8_B1, LC7_B1";
	LC1_B20 : LORAX2 = "LC3_B20, LC5_B20, LC6_B20, LC1_B1";
	LC4_B20 : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
	LC2_B20 : LORAX2 = "X, LC4_B20, LC3_B20, LC5_B20";
	LC2_B1  : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC8_B3  : LORAX2 = "OD3P40, OD2P38, OD1P89, OD0P91";
	LC6_B20 : LORAX2 = "X, OD1P89, OD0P91, OD2P38";
	LC6_B1  : LORAX2 = "OD0P91, OD1P89, OD2P38, OD3P40";
END;

⌨️ 快捷键说明

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