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

📄 addbcd.fit

📁 利用FPGA编写的键盘译码程序
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.1 06/12/2001            
-- Compiled: 06/24/2008 23:37:04      

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

    DEVICE = "EPM7032LC44-6";

    "clk"                          : INPUT_PIN  = 43     ;
    "num10"                        : INPUT_PIN  = 13     ; -- LC9
    "num11"                        : INPUT_PIN  = 12     ; -- LC8
    "num12"                        : INPUT_PIN  = 11     ; -- LC7
    "num13"                        : INPUT_PIN  = 9      ; -- LC6
    "num20"                        : INPUT_PIN  = 8      ; -- LC5
    "num21"                        : INPUT_PIN  = 7      ; -- LC4
    "num22"                        : INPUT_PIN  = 6      ; -- LC3
    "num23"                        : INPUT_PIN  = 5      ; -- LC2
    "start"                        : INPUT_PIN  = 4      ; -- LC1
    "outnum0"                      : OUTPUT_PIN = 18     ; -- LC13
    "outnum1"                      : OUTPUT_PIN = 28     ; -- LC28
    "outnum2"                      : OUTPUT_PIN = 34     ; -- LC23
    "outnum3"                      : OUTPUT_PIN = 36     ; -- LC22
    "outnum4"                      : OUTPUT_PIN = 37     ; -- LC21
    "outnum5"                      : OUTPUT_PIN = 14     ; -- LC10
    "outnum6"                      : OUTPUT_PIN = 16     ; -- LC11
    "outnum7"                      : OUTPUT_PIN = 17     ; -- LC12
    "|LPM_ADD_SUB:61|addcore:adder|addcore:adder0|gcp2" : LOCATION   = LC24   ; -- PIN 33
    "|LPM_ADD_SUB:61|addcore:adder|addcore:adder0|g4" : LOCATION   = LC25   ; -- PIN 32
    "|LPM_ADD_SUB:61|addcore:adder|addcore:adder0|result_node0" : LOCATION   = LC29   ; -- PIN 27
    "|LPM_ADD_SUB:61|addcore:adder|addcore:adder0|result_node2" : LOCATION   = LC27   ; -- PIN 29
    "|LPM_ADD_SUB:61|addcore:adder|addcore:adder0|result_node3" : LOCATION   = LC30   ; -- PIN 26
    "|LPM_ADD_SUB:232|addcore:adder|addcore:adder0|g4" : LOCATION   = LC31   ; -- PIN 25
    "|LPM_ADD_SUB:232|addcore:adder|addcore:adder0|result_node3" : LOCATION   = LC32   ; -- PIN 24
    "|LPM_ADD_SUB:232|addcore:adder|addcore:adder0|result_node4" : LOCATION   = LC26   ; -- PIN 31
    ":27"                          : LOCATION   = LC17   ; -- PIN 41  -- q34
    ":28"                          : LOCATION   = LC18   ; -- PIN 40  -- q33
    ":29"                          : LOCATION   = LC19   ; -- PIN 39  -- q32
    ":30"                          : LOCATION   = LC20   ; -- PIN 38  -- q31
    ":31"                          : LOCATION   = LC4    ; -- PIN 7  -- q30

END;

INTERNAL_INFO "addbcd"
BEGIN
	DEVICE = EPM7032LC44-6;
	LC12    : LORAX = "G37R0";
	LC11    : LORAX = "G36R0";
	LC10    : LORAX = "G35R0";
	LC21    : LORAX = "G30R0";
	LC22    : LORAX = "G31R0";
	LC23    : LORAX = "G32R0";
	LC28    : LORAX = "G41R0";
	LC13    : LORAX = "G51R0,PA28R0C0";
	LC17    : LORAX = "G13R0,PA7R0C1";
	OH0R0P4 : LORAX = "G43R0,PA20R0C0,PA23R0C1";
	LC25    : LORAX = "G38R0,PA18R0C1";
	OH8R0P13 : LORAX = "G0R0,PA6R0C1";
	OH4R0P8 : LORAX = "G60R0,PA32R0C1";
	OH5R0P9 : LORAX = "G61R0,PA28R0C1";
	OH1R0P5 : LORAX = "G44R0,PA19R0C1";
	OH6R0P11 : LORAX = "G62R0,PA34R0C1";
	OH2R0P6 : LORAX = "G45R0,PA22R0C1";
	OH7R0P12 : LORAX = "G63R0,PA29R0C1";
	OH3R0P7 : LORAX = "G46R0,PA20R0C1";
	LC19    : LORAX = "G15R0,PA3R0C1";
	LC27    : LORAX = "G40R0,PA24R0C1";
	LC20    : LORAX = "G16R0,PA1R0C1";
	LC26    : LORAX = "G39R0,PA21R0C1";
	LC31    : LORAX = "G57R0,PA33R0C1";
	LC18    : LORAX = "G14R0,PA5R0C1";
	LC30    : LORAX = "G56R0,PA30R0C1";
	LC24    : LORAX = "G33R0,PA10R0C1";
	LC32    : LORAX = "G58R0,PA31R0C1,PA29R0C0";
	LC4     : LORAX = "G12R0,PA0R0C0";
	LC29    : LORAX = "G55R0,PA27R0C0";
END;

⌨️ 快捷键说明

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