select_food2.fit

来自「这是一个自动售货机的vhdl源码」· FIT 代码 · 共 57 行

FIT
57
字号
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 12/07/2005 12:48:10      

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

    DEVICE = "EP1K10TC100-1";

    "reset"                        : INPUT_PIN  = 89     ;
    "s_dham"                       : INPUT_PIN  = 91     ;
    "s_dog"                        : INPUT_PIN  = 40     ;
    "s_ham"                        : INPUT_PIN  = 38     ;
    "led_dham"                     : OUTPUT_PIN = 16     ;
    "led_dog"                      : OUTPUT_PIN = 13     ;
    "led_ham"                      : OUTPUT_PIN = 14     ;
    ":97"                          : LOCATION   = LC1_B17;
    ":103"                         : LOCATION   = LC3_B17;
    ":109"                         : LOCATION   = LC7_B17;

END;

INTERNAL_INFO "select_food2"
BEGIN
	DEVICE = EP1K10TC100-1;
    OD1P89  : LORAX = "1:FB1|2:FH1R1,PA20R1C16->LC1_B17,->LC3_B17,->LC7_B17||";
    OD0P91  : LORAX = "1:FB0|2:FH0R1,PA0R1C16->LC1_B17,->LC3_B17,->LC7_B17||";
    OD3P40  : LORAX = "1:FB3|2:FH3R1,PA5R1C16->LC1_B17,->LC3_B17,->LC7_B17||";
    OD2P38  : LORAX = "1:FB2|2:FH2R1,PA6R1C16->LC1_B17,->LC3_B17,->LC7_B17||";
    LC1_B17 : LORAX = "1:MSW0R1C17,HHR20R1->OH0R1P13|";
    LC3_B17 : LORAX = "1:MSW2R1C16,HHR0R1->OH2R1P14|";
    LC7_B17 : LORAX = "1:MSW6R1C16,HHR31R1->OH6R1P16|";
	LC1_B17 : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
	LC3_B17 : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
	LC7_B17 : LORAX2 = "OD2P38, OD3P40, OD0P91, OD1P89";
END;

⌨️ 快捷键说明

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