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

📄 lcd.fit

📁 用chdl编写液晶块驱动程序。有详细的说明
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 11/26/2008 20:47:48      

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

    DEVICE = "EPM7032SLC44-5";

    "BUSY"                         : INPUT_PIN  = 43     ;
    "CLEAN"                        : INPUT_PIN  = 6      ; -- LC3
    "CLK"                          : INPUT_PIN  = 2      ;
    "DOWN"                         : INPUT_PIN  = 4      ; -- LC1
    "LEFT"                         : INPUT_PIN  = 5      ; -- LC2
    "RIGHT"                        : INPUT_PIN  = 8      ; -- LC5
    "UP"                           : INPUT_PIN  = 9      ; -- LC6
    "DOUT0"                        : OUTPUT_PIN = 14     ; -- LC10
    "DOUT1"                        : OUTPUT_PIN = 12     ; -- LC8
    "DOUT2"                        : OUTPUT_PIN = 31     ; -- LC26
    "DOUT3"                        : OUTPUT_PIN = 33     ; -- LC24
    "DOUT4"                        : OUTPUT_PIN = 11     ; -- LC7
    "DOUT5"                        : OUTPUT_PIN = 34     ; -- LC23
    "DOUT6"                        : OUTPUT_PIN = 36     ; -- LC22
    "DOUT7"                        : OUTPUT_PIN = 28     ; -- LC28
    "REQ"                          : OUTPUT_PIN = 29     ; -- LC27
    "|LPM_ADD_SUB:824|addcore:adder|addcore:adder0|result_node2" : LOCATION   = LC25   ; -- PIN 32
    ":34"                          : LOCATION   = LC5    ; -- PIN 8  -- CNT22
    ":35"                          : LOCATION   = LC4    ; -- PIN 7  -- CNT21
    ":36"                          : LOCATION   = LC21   ; -- PIN 37  -- CNT20
    ":37"                          : LOCATION   = LC20   ; -- PIN 38  -- CNT13
    ":38"                          : LOCATION   = LC19   ; -- PIN 39  -- CNT12
    ":39"                          : LOCATION   = LC17   ; -- PIN 41  -- CNT11
    ":40"                          : LOCATION   = LC18   ; -- PIN 40  -- CNT10
    "~644~1"                       : LOCATION   = LC6    ; -- PIN 9
    "~656~1"                       : LOCATION   = LC3    ; -- PIN 6
    "~656~2"                       : LOCATION   = LC32   ; -- PIN 24
    "~668~1"                       : LOCATION   = LC2    ; -- PIN 5
    "~668~2"                       : LOCATION   = LC1    ; -- PIN 4
    "~674~1"                       : LOCATION   = LC29   ; -- PIN 27
    "~674~2"                       : LOCATION   = LC31   ; -- PIN 25
    "~680~1"                       : LOCATION   = LC12   ; -- PIN 17
    "~680~2"                       : LOCATION   = LC14   ; -- PIN 19
    "~680~3"                       : LOCATION   = LC30   ; -- PIN 26

END;

INTERNAL_INFO "lcd"
BEGIN
	DEVICE = EPM7032SLC44-5;
	LC27    : LORAX = "G40R0";
	LC28    : LORAX = "G41R0";
	LC22    : LORAX = "G31R0";
	LC23    : LORAX = "G32R0";
	LC7     : LORAX = "G28R0";
	LC24    : LORAX = "G33R0";
	LC26    : LORAX = "G39R0";
	LC8     : LORAX = "G29R0";
	LC10    : LORAX = "G35R0";
	OH32R0P43 : LORAX = "G59R0,PA27R0C1,PA35R0C0";
	LC4     : LORAX = "G12R0,PA0R0C0,PA0R0C1";
	LC21    : LORAX = "G30R0,PA16R0C0,PA16R0C1";
	LC5     : LORAX = "G26R0,PA11R0C0,PA11R0C1";
	LC25    : LORAX = "G38R0,PA18R0C0";
	LC20    : LORAX = "G16R0,PA1R0C0,PA2R0C1";
	LC19    : LORAX = "G15R0,PA3R0C1,PA4R0C0";
	LC17    : LORAX = "G13R0,PA7R0C1,PA7R0C0";
	LC18    : LORAX = "G14R0,PA5R0C0,PA5R0C1";
	OH4R0P8 : LORAX = "G60R0,PA32R0C0,PA29R0C1";
	OH1R0P5 : LORAX = "G44R0,PA19R0C0,PA19R0C1";
	OH2R0P6 : LORAX = "G45R0,PA22R0C1,PA22R0C0";
	OH5R0P9 : LORAX = "G61R0,PA28R0C0,PA28R0C1";
	OH0R0P4 : LORAX = "G43R0,PA20R0C0,PA20R0C1";
	LC12    : LORAX = "G37R0,PA26R0C0";
	LC29    : LORAX = "G55R0,PA27R0C0";
	LC2     : LORAX = "G10R0,PA1R0C1";
	LC14    : LORAX = "G52R0,PA31R0C0";
	LC3     : LORAX = "G11R0,PA3R0C0";
	LC31    : LORAX = "G57R0,PA33R0C0";
	LC1     : LORAX = "G9R0,PA4R0C1";
	LC30    : LORAX = "G56R0,PA34R0C0";
	LC6     : LORAX = "G27R0,PA10R0C1";
	LC32    : LORAX = "G58R0,PA29R0C0";
END;

⌨️ 快捷键说明

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