reg4.fit

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

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

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

    DEVICE = "EP1K100QC208-3";

    "CLR"                          : INPUT_PIN  = 78     ;
    "INCLK"                        : INPUT_PIN  = 79     ;
    "OUTCODE0"                     : INPUT_PIN  = 182    ;
    "OUTCODE1"                     : INPUT_PIN  = 80     ;
    "OUTCODE2"                     : INPUT_PIN  = 184    ;
    "OUTCODE3"                     : INPUT_PIN  = 183    ;
    "AIN0"                         : OUTPUT_PIN = 133    ;
    "AIN1"                         : OUTPUT_PIN = 144    ;
    "AIN2"                         : OUTPUT_PIN = 116    ;
    "AIN3"                         : OUTPUT_PIN = 111    ;
    "BIN0"                         : OUTPUT_PIN = 135    ;
    "BIN1"                         : OUTPUT_PIN = 11     ;
    "BIN2"                         : OUTPUT_PIN = 37     ;
    "BIN3"                         : OUTPUT_PIN = 45     ;
    "CIN0"                         : OUTPUT_PIN = 134    ;
    "CIN1"                         : OUTPUT_PIN = 70     ;
    "CIN2"                         : OUTPUT_PIN = 54     ;
    "CIN3"                         : OUTPUT_PIN = 47     ;
    "DIN0"                         : OUTPUT_PIN = 16     ;
    "DIN1"                         : OUTPUT_PIN = 13     ;
    "DIN2"                         : OUTPUT_PIN = 207    ;
    "DIN3"                         : OUTPUT_PIN = 67     ;
    "|reg1:1|:1"                   : LOCATION   = LC7_D7 ;  -- |reg1:1|Q0
    "|reg1:1|:3"                   : LOCATION   = LC3_B32;  -- |reg1:1|Q1
    "|reg1:1|:4"                   : LOCATION   = LC5_I51;  -- |reg1:1|Q2
    "|reg1:1|:5"                   : LOCATION   = LC5_L33;  -- |reg1:1|Q3
    "|reg1:2|:1"                   : LOCATION   = LC1_D7 ;  -- |reg1:2|Q0
    "|reg1:2|:3"                   : LOCATION   = LC1_B32;  -- |reg1:2|Q1
    "|reg1:2|:4"                   : LOCATION   = LC2_I51;  -- |reg1:2|Q2
    "|reg1:2|:5"                   : LOCATION   = LC3_L33;  -- |reg1:2|Q3
    "|reg1:3|:1"                   : LOCATION   = LC5_D7 ;  -- |reg1:3|Q0
    "|reg1:3|:3"                   : LOCATION   = LC6_B32;  -- |reg1:3|Q1
    "|reg1:3|:4"                   : LOCATION   = LC1_I51;  -- |reg1:3|Q2
    "|reg1:3|:5"                   : LOCATION   = LC8_L33;  -- |reg1:3|Q3
    "|reg1:4|:1"                   : LOCATION   = LC2_D7 ;  -- |reg1:4|Q0
    "|reg1:4|:3"                   : LOCATION   = LC8_B32;  -- |reg1:4|Q1
    "|reg1:4|:4"                   : LOCATION   = LC3_I51;  -- |reg1:4|Q2
    "|reg1:4|:5"                   : LOCATION   = LC1_L33;  -- |reg1:4|Q3

END;

INTERNAL_INFO "reg4"
BEGIN
	DEVICE = EP1K100QC208-3;
    OD2P78  : LORAX = "1:FB2->LC7_D7,->LC3_B32,->LC5_I51,->LC5_L33,->LC1_D7,->LC1_B32,->LC2_I51,->LC3_L33,->LC5_D7,->LC6_B32,->LC1_I51,->LC8_L33,->LC2_D7,->LC8_B32,->LC3_I51,->LC1_L33|";
    OD5P79  : LORAX = "1:FB5->LC7_D7,->LC3_B32,->LC5_I51,->LC5_L33,->LC1_D7,->LC1_B32,->LC2_I51,->LC3_L33,->LC5_D7,->LC6_B32,->LC1_I51,->LC8_L33,->LC2_D7,->LC8_B32,->LC3_I51,->LC1_L33|";
    OD1P182 : LORAX = "1:FB1|2:FH1R3,PA15R3C6->LC7_D7||";
    OD3P80  : LORAX = "1:FB3|2:FH3R1,PA13R1C31->LC3_B32||";
    OD0P184 : LORAX = "1:FB0|2:FH0R8,PA16R8C50->LC5_I51||";
    OD4P183 : LORAX = "1:FB4|2:CH0R11,PA12R11C32->LC5_L33||";
    LC7_D7  : LORAX = "1:MSW6R3C7,HHL77R3->OH14R3P133|";
    LC3_B32 : LORAX = "1:MSW3R1C30,G71R1->OH11R1P144|";
    LC5_I51 : LORAX = "1:MSW4R8C50,G181R8->OH12R8P116|";
    LC5_L33 : LORAX = "1:MSW4R11C32,G161R11->OH12R11P111|";
    LC1_D7  : LORAX = "1:MSW0R3C6,HHL51R3->OH8R3P135|";
    LC1_B32 : LORAX = "1:MSW0R1C31,HHR48R1->OH0R1P11|";
    LC2_I51 : LORAX = "1:MSW1R8C51,G16R8->OH1R8P37|";
    LC3_L33 : LORAX = "1:MSW2R11C32,HHR26R11->OH2R11P45|";
    LC5_D7  : LORAX = "1:MSW4R3C6,HHL80R3->OH12R3P134|";
    LC6_B32 : LORAX = "1:MSW6R1C30,V18C30->OV2C30P70|";
    LC1_I51 : LORAX = "1:MSW0R8C50,V1C50->OV2C50P54|";
    LC8_L33 : LORAX = "1:MSW7R11C32,HHR83R11->OH7R11P47|";
    LC2_D7  : LORAX = "1:MSW1R3C6,G10R3->OH1R3P16|";
    LC8_B32 : LORAX = "1:MSW7R1C31,G183R1->OH7R1P13|";
    LC3_I51 : LORAX = "1:MSW2R8C50,V8C50->OV0C50P207|";
    LC1_L33 : LORAX = "1:MSW0R11C32,V1C32->OV2C32P67|";
	LC7_D7  : LORAX2 = "OD1P182, X, X, X";
	LC3_B32 : LORAX2 = "OD3P80, X, X, X";
	LC5_I51 : LORAX2 = "OD0P184, X, X, X";
	LC5_L33 : LORAX2 = "OD4P183, X, X, X";
	LC1_D7  : LORAX2 = "X, X, X, LC7_D7";
	LC1_B32 : LORAX2 = "X, X, X, LC3_B32";
	LC2_I51 : LORAX2 = "X, X, X, LC5_I51";
	LC3_L33 : LORAX2 = "X, X, X, LC5_L33";
	LC5_D7  : LORAX2 = "X, X, X, LC1_D7";
	LC6_B32 : LORAX2 = "X, X, X, LC1_B32";
	LC1_I51 : LORAX2 = "X, X, X, LC2_I51";
	LC8_L33 : LORAX2 = "X, X, X, LC3_L33";
	LC2_D7  : LORAX2 = "X, X, X, LC5_D7";
	LC8_B32 : LORAX2 = "X, X, X, LC6_B32";
	LC3_I51 : LORAX2 = "X, X, X, LC1_I51";
	LC1_L33 : LORAX2 = "X, X, X, LC8_L33";
END;

⌨️ 快捷键说明

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