decoder.fit

来自「利用一块芯片完成除时钟源、按键、扬声器和显示器(数码管)之外的所有数字电路功能。」· FIT 代码 · 共 89 行

FIT
89
字号
-- MAX+plus II Compiler Fit File      
-- Version 9.23 3/19/99               
-- Compiled: 04/28/2007 20:44:01      

-- Copyright (C) 1988-1999 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 = "EPM7032LC44-6";

    "d0"                           : INPUT_PIN  = 4      ; -- LC1
    "d1"                           : INPUT_PIN  = 5      ; -- LC2
    "d2"                           : INPUT_PIN  = 6      ; -- LC3
    "d3"                           : INPUT_PIN  = 7      ; -- LC4
    "q0"                           : OUTPUT_PIN = 38     ; -- LC20
    "q1"                           : OUTPUT_PIN = 33     ; -- LC24
    "q2"                           : OUTPUT_PIN = 31     ; -- LC26
    "q3"                           : OUTPUT_PIN = 29     ; -- LC27
    "q4"                           : OUTPUT_PIN = 28     ; -- LC28
    "q5"                           : OUTPUT_PIN = 25     ; -- LC31
    "q6"                           : OUTPUT_PIN = 24     ; -- LC32
    "~326~1"                       : LOCATION   = LC29   ; -- PIN 27
    "~350~1"                       : LOCATION   = LC18   ; -- PIN 40
    "~350~1~2"                     : LOCATION   = LC17   ; -- PIN 41
    "~380~1"                       : LOCATION   = LC1    ; -- PIN 4
    "~383~1"                       : LOCATION   = LC19   ; -- PIN 39
    "~413~1"                       : LOCATION   = LC2    ; -- PIN 5
    "~416~1"                       : LOCATION   = LC21   ; -- PIN 37
    "~446~1"                       : LOCATION   = LC4    ; -- PIN 7
    "~449~1"                       : LOCATION   = LC22   ; -- PIN 36
    "~479~1"                       : LOCATION   = LC5    ; -- PIN 8
    "~482~1"                       : LOCATION   = LC23   ; -- PIN 34
    "~512~1"                       : LOCATION   = LC6    ; -- PIN 9
    "~515~1"                       : LOCATION   = LC25   ; -- PIN 32
    "~545~1"                       : LOCATION   = LC8    ; -- PIN 12
    "~548~1"                       : LOCATION   = LC30   ; -- PIN 26

END;

INTERNAL_INFO "decoder"
BEGIN
	DEVICE = EPM7032LC44-6;
	LC32    : LORAX = "G58R0";
	LC31    : LORAX = "G57R0";
	LC28    : LORAX = "G41R0";
	LC27    : LORAX = "G40R0";
	LC26    : LORAX = "G39R0";
	LC24    : LORAX = "G33R0";
	LC20    : LORAX = "G16R0";
	OH3R0P7 : LORAX = "G46R0,PA24R0C1,PA24R0C0";
	OH2R0P6 : LORAX = "G45R0,PA22R0C1,PA22R0C0";
	OH1R0P5 : LORAX = "G44R0,PA19R0C1,PA19R0C0";
	OH0R0P4 : LORAX = "G43R0,PA20R0C1,PA20R0C0";
	LC29    : LORAX = "G55R0,PA27R0C1";
	LC18    : LORAX = "G14R0,PA5R0C1";
	LC1     : LORAX = "G9R0,PA2R0C1";
	LC19    : LORAX = "G15R0,PA3R0C0";
	LC2     : LORAX = "G10R0,PA1R0C1";
	LC21    : LORAX = "G30R0,PA16R0C0";
	LC4     : LORAX = "G12R0,PA0R0C1";
	LC22    : LORAX = "G31R0,PA14R0C0";
	LC5     : LORAX = "G26R0,PA11R0C1";
	LC23    : LORAX = "G32R0,PA12R0C0";
	LC6     : LORAX = "G27R0,PA10R0C1";
	LC25    : LORAX = "G38R0,PA18R0C0";
	LC8     : LORAX = "G29R0,PA9R0C1";
	LC30    : LORAX = "G56R0,PA30R0C0";
	LC17    : LORAX = "G13R0,PA7R0C1";
END;

⌨️ 快捷键说明

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