reg.fit

来自「ProtelDXp 实现计算器功能」· FIT 代码 · 共 113 行

FIT
113
字号
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 06/27/2007 11:49:41      

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

    DEVICE = "EP1K100QC208-3";

    "CLR"                          : INPUT_PIN  = 78     ;
    "INCLK"                        : INPUT_PIN  = 79     ;
    "OUTCODE0"                     : INPUT_PIN  = 80     ;
    "OUTCODE1"                     : INPUT_PIN  = 182    ;
    "OUTCODE2"                     : INPUT_PIN  = 184    ;
    "OUTCODE3"                     : INPUT_PIN  = 183    ;
    "A0"                           : OUTPUT_PIN = 11     ;
    "A1"                           : OUTPUT_PIN = 127    ;
    "A2"                           : OUTPUT_PIN = 120    ;
    "A3"                           : OUTPUT_PIN = 18     ;
    "B0"                           : OUTPUT_PIN = 13     ;
    "B1"                           : OUTPUT_PIN = 125    ;
    "B2"                           : OUTPUT_PIN = 119    ;
    "B3"                           : OUTPUT_PIN = 17     ;
    "C0"                           : OUTPUT_PIN = 204    ;
    "C1"                           : OUTPUT_PIN = 162    ;
    "C2"                           : OUTPUT_PIN = 87     ;
    "C3"                           : OUTPUT_PIN = 16     ;
    "D0"                           : OUTPUT_PIN = 12     ;
    "D1"                           : OUTPUT_PIN = 126    ;
    "D2"                           : OUTPUT_PIN = 36     ;
    "D3"                           : OUTPUT_PIN = 19     ;
    "|reg4:11|reg1:1|:1"           : LOCATION   = LC1_B49;  -- |reg4:11|reg1:1|Q0
    "|reg4:11|reg1:1|:3"           : LOCATION   = LC2_F14;  -- |reg4:11|reg1:1|Q1
    "|reg4:11|reg1:1|:4"           : LOCATION   = LC1_H21;  -- |reg4:11|reg1:1|Q2
    "|reg4:11|reg1:1|:5"           : LOCATION   = LC6_D31;  -- |reg4:11|reg1:1|Q3
    "|reg4:11|reg1:2|:1"           : LOCATION   = LC8_B49;  -- |reg4:11|reg1:2|Q0
    "|reg4:11|reg1:2|:3"           : LOCATION   = LC7_F14;  -- |reg4:11|reg1:2|Q1
    "|reg4:11|reg1:2|:4"           : LOCATION   = LC5_H21;  -- |reg4:11|reg1:2|Q2
    "|reg4:11|reg1:2|:5"           : LOCATION   = LC4_D31;  -- |reg4:11|reg1:2|Q3
    "|reg4:11|reg1:3|:1"           : LOCATION   = LC6_B49;  -- |reg4:11|reg1:3|Q0
    "|reg4:11|reg1:3|:3"           : LOCATION   = LC3_F14;  -- |reg4:11|reg1:3|Q1
    "|reg4:11|reg1:3|:4"           : LOCATION   = LC6_H21;  -- |reg4:11|reg1:3|Q2
    "|reg4:11|reg1:3|:5"           : LOCATION   = LC2_D31;  -- |reg4:11|reg1:3|Q3
    "|reg4:11|reg1:4|:1"           : LOCATION   = LC4_B49;  -- |reg4:11|reg1:4|Q0
    "|reg4:11|reg1:4|:3"           : LOCATION   = LC5_F14;  -- |reg4:11|reg1:4|Q1
    "|reg4:11|reg1:4|:4"           : LOCATION   = LC8_H21;  -- |reg4:11|reg1:4|Q2
    "|reg4:11|reg1:4|:5"           : LOCATION   = LC7_D31;  -- |reg4:11|reg1:4|Q3

END;

INTERNAL_INFO "reg"
BEGIN
	DEVICE = EP1K100QC208-3;
    OD2P78  : LORAX = "1:FB2->LC1_B49,->LC2_F14,->LC1_H21,->LC6_D31,->LC8_B49,->LC7_F14,->LC5_H21,->LC4_D31,->LC6_B49,->LC3_F14,->LC6_H21,->LC2_D31,->LC4_B49,->LC5_F14,->LC8_H21,->LC7_D31|";
    OD5P79  : LORAX = "1:FB5->LC1_B49,->LC2_F14,->LC1_H21,->LC6_D31,->LC8_B49,->LC7_F14,->LC5_H21,->LC4_D31,->LC6_B49,->LC3_F14,->LC6_H21,->LC2_D31,->LC4_B49,->LC5_F14,->LC8_H21,->LC7_D31|";
    OD3P80  : LORAX = "1:FB3|2:FH3R1,PA13R1C48->LC1_B49||";
    OD1P182 : LORAX = "1:FB1|2:FH1R5,PA15R5C13->LC2_F14||";
    OD0P184 : LORAX = "1:FB0|2:FH0R7,PA16R7C20->LC1_H21||";
    OD4P183 : LORAX = "1:FB4|2:CH0R3,PA12R3C30->LC6_D31||";
    LC1_B49 : LORAX = "1:MSW0R1C48,HHR49R1->OH0R1P11|";
    LC2_F14 : LORAX = "1:MSW2R5C12,G77R5->OH10R5P127|";
    LC1_H21 : LORAX = "1:MSW0R7C20,HHL51R7->OH8R7P120|";
    LC6_D31 : LORAX = "1:MSW5R3C30,HHR91R3->OH5R3P18|";
    LC8_B49 : LORAX = "1:MSW7R1C48,HHR87R1->OH7R1P13|";
    LC7_F14 : LORAX = "1:MSW6R5C13,G171R5->OH14R5P125|";
    LC5_H21 : LORAX = "1:MSW4R7C21,HHL70R7->OH12R7P119|";
    LC4_D31 : LORAX = "1:MSW3R3C30,HHR32R3->OH3R3P17|";
    LC6_B49 : LORAX = "1:MSW5R1C48,V15C48->OV0C48P204|";
    LC3_F14 : LORAX = "1:MSW3R5C12,V11C12->OV0C12P162|";
    LC6_H21 : LORAX = "1:MSW5R7C20,V15C20->OV2C20P87|";
    LC2_D31 : LORAX = "1:MSW1R3C31,HHR28R3->OH1R3P16|";
    LC4_B49 : LORAX = "1:MSW3R1C49,HHR19R1->OH3R1P12|";
    LC5_F14 : LORAX = "1:MSW4R5C13,HHL94R5->OH12R5P126|";
    LC8_H21 : LORAX = "1:MSW7R7C20,G146R7->OH7R7P36|";
    LC7_D31 : LORAX = "1:MSW6R3C31,HHR63R3->OH6R3P19|";
	LC1_B49 : LORAX2 = "OD3P80, X, X, X";
	LC2_F14 : LORAX2 = "OD1P182, X, X, X";
	LC1_H21 : LORAX2 = "OD0P184, X, X, X";
	LC6_D31 : LORAX2 = "OD4P183, X, X, X";
	LC8_B49 : LORAX2 = "X, X, X, LC1_B49";
	LC7_F14 : LORAX2 = "X, X, X, LC2_F14";
	LC5_H21 : LORAX2 = "X, X, X, LC1_H21";
	LC4_D31 : LORAX2 = "X, X, X, LC6_D31";
	LC6_B49 : LORAX2 = "X, X, X, LC8_B49";
	LC3_F14 : LORAX2 = "X, X, X, LC7_F14";
	LC6_H21 : LORAX2 = "X, X, X, LC5_H21";
	LC2_D31 : LORAX2 = "X, X, X, LC4_D31";
	LC4_B49 : LORAX2 = "X, X, X, LC6_B49";
	LC5_F14 : LORAX2 = "X, X, X, LC3_F14";
	LC8_H21 : LORAX2 = "X, X, X, LC6_H21";
	LC7_D31 : LORAX2 = "X, X, X, LC2_D31";
END;

⌨️ 快捷键说明

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