scanner.fit

来自「鍵盤掃描verilog硬體驗證可以將開發版鍵盤功能使用」· FIT 代码 · 共 100 行

FIT
100
字号
-- MAX+plus II Compiler Fit File      
-- Version 10.1 06/12/2001            
-- Compiled: 05/24/2007 00:15:01      

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

    DEVICE = "EP1K100FC484-3";

    "clk"                          : INPUT_PIN  = D12    ;
    "kd"                           : INPUT_PIN  = H11    ;
    "k"                            : INPUT_PIN  = E12    ;
    "col0"                         : OUTPUT_PIN = N22    ;
    "col1"                         : OUTPUT_PIN = W6     ;
    "col2"                         : OUTPUT_PIN = N7     ;
    "col3"                         : OUTPUT_PIN = G14    ;
    "v"                            : OUTPUT_PIN = P7     ;
    ":16"                          : LOCATION   = LC5_H19;
    ":111"                         : LOCATION   = LC2_H15;
    ":145"                         : LOCATION   = LC7_H15;
    ":153"                         : LOCATION   = LC6_H5 ;
    "~158~1"                       : LOCATION   = LC1_H15;
    "~159~1"                       : LOCATION   = LC2_H19;
    "~160~1"                       : LOCATION   = LC4_H15;
    "~160~2"                       : LOCATION   = LC5_H15;
    ":164"                         : LOCATION   = LC3_H15;  -- state0
    ":165"                         : LOCATION   = LC4_H19;  -- state1
    ":166"                         : LOCATION   = LC8_H15;  -- state2
    ":201"                         : LOCATION   = LC3_H19;
    ":202"                         : LOCATION   = LC5_H5 ;
    "~202~1"                       : LOCATION   = LC1_H19;
    ":203"                         : LOCATION   = LC1_H5 ;
    "~203~1"                       : LOCATION   = LC7_H5 ;
    ":204"                         : LOCATION   = LC4_H5 ;
    "~204~1"                       : LOCATION   = LC3_H5 ;
    "~217~1"                       : LOCATION   = LC2_H5 ;
    ":218"                         : LOCATION   = LC8_H5 ;

END;

INTERNAL_INFO "scanner"
BEGIN
	DEVICE = EP1K100FC484-3;
    OD4PD12 : LORAX = "1:FB4->LC3_H15,->LC4_H19,->LC8_H15|";
    OD0PE12 : LORAX = "1:FB0|2:FH0R7|3:PA25R7C14->LC7_H15,->LC1_H15,->LC3_H15,->LC8_H15|,3:PA16R7C18->LC2_H19|||";
    OD1PH11 : LORAX = "1:FB1|2:FH1R7|3:PA15R7C14->LC7_H15,->LC4_H15,->LC5_H15,->LC3_H15|,3:PA15R7C18->LC4_H19|||";
    LC2_H15 : LORAX = "1:MSW1R7C14,G21R7,PA18R7C4->LC6_H5,->LC5_H5,->LC1_H5,->LC4_H5,->LC8_H5|";
    LC7_H15 : LORAX = "1:MSW6R7C14,G154R7,PA0R7C18->LC4_H19|";
    LC6_H5  : LORAX = "1:MSW5R7C4,G189R7,PA7R7C14->LC8_H15|";
    LC3_H15 : LORAX = "1:MSW2R7C14,G26R7|2:PA2R7C4->LC7_H5,->LC3_H5,->LC2_H5|,2:PA2R7C18->LC5_H19,->LC2_H19,->LC3_H19,->LC1_H19||";
    LC4_H19 : LORAX = "1:|2:MSW3R7C18,G51R7,PA16R7C4->LC7_H5,->LC3_H5,->LC2_H5|,2:MSW3R7C19,G38R7,PA14R7C14->LC2_H15,->LC1_H15,->LC4_H15,->LC5_H15||";
    LC8_H15 : LORAX = "1:MSW7R7C14,G149R7|2:PA5R7C4->LC7_H5,->LC3_H5,->LC2_H5|,2:PA5R7C18->LC5_H19,->LC2_H19,->LC3_H19,->LC1_H19||";
    LC3_H19 : LORAX = "1:MSW2R7C18,G29R7->OH2R7PN22|";
    LC1_H19 : LORAX = "1:MSW0R7C18,G82R7,PA10R7C4->LC5_H5|";
    LC5_H5  : LORAX = "1:MSW4R7C5,V14C5->OV3C5PW6|";
    LC1_H5  : LORAX = "1:MSW0R7C4,HHL50R7->OH8R7PN7|";
    LC4_H5  : LORAX = "1:MSW3R7C4,G71R7->OH3R7PG14|";
    LC8_H5  : LORAX = "1:MSW7R7C4,HHL69R7->OH15R7PP7|";
	LC5_H19 : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC2_H15 : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC7_H15 : LORAX2 = "X, OD1PH11, OD0PE12, LC2_H15";
	LC6_H5  : LORAX2 = "X, X, LC2_H5, LC2_H15";
	LC1_H15 : LORAX2 = "OD0PE12, LC8_H15, LC4_H19, LC3_H15";
	LC2_H19 : LORAX2 = "OD0PE12, LC8_H15, LC4_H19, LC3_H15";
	LC4_H15 : LORAX2 = "OD1PH11, LC8_H15, LC4_H19, LC3_H15";
	LC5_H15 : LORAX2 = "OD1PH11, LC8_H15, LC4_H19, LC3_H15";
	LC3_H15 : LORAX2 = "OD0PE12, OD1PH11, LC1_H15, LC2_H15";
	LC4_H19 : LORAX2 = "OD1PH11, LC5_H19, LC2_H19, LC7_H15";
	LC8_H15 : LORAX2 = "OD0PE12, LC5_H15, LC4_H15, LC6_H5";
	LC3_H19 : LORAX2 = "LC8_H15, LC4_H19, LC3_H19, LC3_H15";
	LC1_H19 : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC5_H5  : LORAX2 = "LC1_H19, LC2_H5, LC2_H15, LC5_H5";
	LC7_H5  : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC1_H5  : LORAX2 = "LC7_H5, LC2_H5, LC2_H15, LC1_H5";
	LC3_H5  : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC4_H5  : LORAX2 = "LC3_H5, LC2_H5, LC2_H15, LC4_H5";
	LC2_H5  : LORAX2 = "X, LC8_H15, LC4_H19, LC3_H15";
	LC8_H5  : LORAX2 = "X, LC2_H5, LC2_H15, LC8_H5";
END;

⌨️ 快捷键说明

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