an_switch.fit

来自「消抖程序」· FIT 代码 · 共 55 行

FIT
55
字号
-- MAX+plus II Compiler Fit File      
-- Version 10.1 06/12/2001            
-- Compiled: 03/30/2008 21:14:56      

-- Copyright (C) 1988-2001 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 "an_switch"
BEGIN

    DEVICE = "EPF10K10LC84-3";

    "star_in"                      : INPUT_PIN  = 2      ;
    "switch_in"                    : INPUT_PIN  = 1      ;
    "waiten_in"                    : INPUT_PIN  = 43     ;
    "star"                         : OUTPUT_PIN = 70     ;
    "switch"                       : OUTPUT_PIN = 60     ;
    "wait_en"                      : OUTPUT_PIN = 16     ;
    ":7"                           : LOCATION   = LC5_A17;  -- flag0
    ":8"                           : LOCATION   = LC1_A8 ;  -- flag1
    ":9"                           : LOCATION   = LC4_C20;  -- flag2

END;

INTERNAL_INFO "an_switch"
BEGIN
	DEVICE = EPF10K10LC84-3;
    OD1P2   : LORAX = "1:FB1->LC5_A17|";
    OD4P1   : LORAX = "1:FB4->LC4_C20|";
    OD5P43  : LORAX = "1:FB5->LC1_A8|";
    LC5_A17 : LORAX = "1:MSW4R0C16,G62R0->OH4R0P70|";
    LC1_A8  : LORAX = "1:MSW0R0C7,HHL23R0->OH8R0P16|";
    LC4_C20 : LORAX = "1:MSW3R2C19,HHR13R2->OH3R2P60|";
	LC5_A17 : LORAX2 = "X, X, X, LC5_A17";
	LC1_A8  : LORAX2 = "X, X, X, LC1_A8";
	LC4_C20 : LORAX2 = "X, X, X, LC4_C20";
END;

⌨️ 快捷键说明

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