⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 control_unit.fit

📁 实现简单CPU功能的源码
💻 FIT
📖 第 1 页 / 共 2 页
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 04/09/2007 22:36:55      

-- Copyright (C) 1988-2000 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 "control_unit"
BEGIN

    DEVICE = "EPF10K10LC84-3";

    "clk"                          : INPUT_PIN  = 1      ;
    "cs4"                          : INPUT_PIN  = 42     ;
    "cs5"                          : INPUT_PIN  = 25     ;
    "cs6"                          : INPUT_PIN  = 2      ;
    "flag"                         : INPUT_PIN  = 79     ;
    "IR_out0"                      : INPUT_PIN  = 43     ;
    "IR_out1"                      : INPUT_PIN  = 44     ;
    "IR_out2"                      : INPUT_PIN  = 84     ;
    "IR_out3"                      : INPUT_PIN  = 22     ;
    "IR_out4"                      : INPUT_PIN  = 64     ;
    "IR_out5"                      : INPUT_PIN  = 24     ;
    "IR_out6"                      : INPUT_PIN  = 23     ;
    "IR_out7"                      : INPUT_PIN  = 21     ;
    "address_out0"                 : OUTPUT_PIN = 49     ;
    "address_out1"                 : OUTPUT_PIN = 50     ;
    "address_out2"                 : OUTPUT_PIN = 80     ;
    "address_out3"                 : OUTPUT_PIN = 51     ;
    "address_out4"                 : OUTPUT_PIN = 66     ;
    "address_out5"                 : OUTPUT_PIN = 48     ;
    "address_out6"                 : OUTPUT_PIN = 65     ;
    "address_out7"                 : OUTPUT_PIN = 67     ;
    "|LPM_ADD_SUB:284|addcore:adder|:125" : LOCATION   = LC8_B24;
    "|LPM_ADD_SUB:284|addcore:adder|:129" : LOCATION   = LC6_B18;
    "|LPM_ADD_SUB:284|addcore:adder|:141" : LOCATION   = LC6_B19;
    "|LPM_ADD_SUB:284|addcore:adder|:150" : LOCATION   = LC4_B24;
    "|LPM_ADD_SUB:284|addcore:adder|:153" : LOCATION   = LC4_B13;
    "|LPM_ADD_SUB:284|addcore:adder|:154" : LOCATION   = LC8_B19;
    ":43"                          : LOCATION   = LC1_B19;
    ":45"                          : LOCATION   = LC5_B15;
    ":47"                          : LOCATION   = LC3_B15;
    ":49"                          : LOCATION   = LC3_B13;
    ":51"                          : LOCATION   = LC4_B18;
    ":53"                          : LOCATION   = LC5_B24;
    ":55"                          : LOCATION   = LC1_B17;
    ":57"                          : LOCATION   = LC6_B15;
    ":59"                          : LOCATION   = LC7_B19;  -- address7
    ":60"                          : LOCATION   = LC7_B15;  -- address6
    ":61"                          : LOCATION   = LC1_B15;  -- address5
    ":62"                          : LOCATION   = LC8_B13;  -- address4
    ":63"                          : LOCATION   = LC8_B18;  -- address3
    ":64"                          : LOCATION   = LC7_B24;  -- address2
    ":65"                          : LOCATION   = LC6_B17;  -- address1
    ":66"                          : LOCATION   = LC4_B15;  -- address0
    ":392"                         : LOCATION   = LC8_B20;
    ":412"                         : LOCATION   = LC2_B20;
    ":432"                         : LOCATION   = LC1_B22;
    ":452"                         : LOCATION   = LC1_B20;
    ":472"                         : LOCATION   = LC8_B22;
    ":492"                         : LOCATION   = LC3_B23;
    ":512"                         : LOCATION   = LC3_B20;
    ":532"                         : LOCATION   = LC4_B20;
    "~532~1"                       : LOCATION   = LC2_B23;
    "~552~1"                       : LOCATION   = LC7_B23;
    ":572"                         : LOCATION   = LC6_B20;
    "~572~1"                       : LOCATION   = LC6_B23;
    "~572~2"                       : LOCATION   = LC1_B23;
    ":592"                         : LOCATION   = LC7_B20;
    ":612"                         : LOCATION   = LC5_B20;
    ":630"                         : LOCATION   = LC7_B16;
    ":675"                         : LOCATION   = LC5_B13;
    "~675~1"                       : LOCATION   = LC3_B22;
    ":713"                         : LOCATION   = LC1_B13;
    ":725"                         : LOCATION   = LC2_B13;
    ":732"                         : LOCATION   = LC6_B13;
    "~732~1"                       : LOCATION   = LC4_B23;
    ":752"                         : LOCATION   = LC2_B18;
    ":764"                         : LOCATION   = LC3_B18;
    ":780"                         : LOCATION   = LC2_B17;
    ":800"                         : LOCATION   = LC2_B22;
    ":807"                         : LOCATION   = LC2_B24;
    ":819"                         : LOCATION   = LC3_B17;
    ":828"                         : LOCATION   = LC5_B17;
    "~839~1"                       : LOCATION   = LC2_B16;
    "~840~1"                       : LOCATION   = LC5_B23;
    "~861~1"                       : LOCATION   = LC4_B17;
    "~861~2"                       : LOCATION   = LC1_B18;
    ":870"                         : LOCATION   = LC8_B16;
    ":882"                         : LOCATION   = LC1_B16;
    "~900~1"                       : LOCATION   = LC7_B22;
    "~900~2"                       : LOCATION   = LC3_B19;
    "~900~3"                       : LOCATION   = LC4_B19;
    ":914"                         : LOCATION   = LC5_B19;
    ":918"                         : LOCATION   = LC4_B16;
    "~919~1"                       : LOCATION   = LC1_B24;
    "~919~2"                       : LOCATION   = LC6_B16;
    ":930"                         : LOCATION   = LC3_B16;
    "~931~1"                       : LOCATION   = LC5_B16;
    "~931~2"                       : LOCATION   = LC2_B19;
    ":950"                         : LOCATION   = LC7_B13;
    ":955"                         : LOCATION   = LC5_B18;
    ":962"                         : LOCATION   = LC7_B18;
    ":966"                         : LOCATION   = LC3_B24;
    ":979"                         : LOCATION   = LC7_B17;
    "~979~1"                       : LOCATION   = LC1_B21;
    ":986"                         : LOCATION   = LC8_B17;
    "~986~1"                       : LOCATION   = LC2_B15;
    ":990"                         : LOCATION   = LC8_B15;
    "~991~1"                       : LOCATION   = LC6_B24;

END;

INTERNAL_INFO "control_unit"
BEGIN
	DEVICE = EPF10K10LC84-3;
    OD4P1   : LORAX = "1:FB4->LC1_B19,->LC5_B15,->LC3_B15,->LC3_B13,->LC4_B18,->LC5_B24,->LC1_B17,->LC6_B15,->LC7_B19,->LC7_B15,->LC1_B15,->LC8_B13,->LC8_B18,->LC7_B24,->LC6_B17,->LC4_B15|";
    OD3P42  : LORAX = "1:FB3|2:FH3R1|3:PA5R1C12->LC3_B13,->LC8_B13|,3:PA5R1C14->LC5_B15,->LC3_B15,->LC6_B15,->LC7_B15,->LC1_B15,->LC4_B15,->LC2_B15|,3:PA5R1C16->LC1_B17,->LC6_B17|,3:PA5R1C17->LC4_B18,->LC8_B18|,3:PA5R1C18->LC1_B19,->LC7_B19|,3:PA5R1C23->LC5_B24,->LC7_B24|||";
    OH15R1P25 : LORAX = "1:G39R1|2:PA20R1C14->LC5_B15,->LC3_B15,->LC6_B15,->LC4_B15,->LC2_B15|,2:PA11R1C23->LC5_B24||";

⌨️ 快捷键说明

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