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

📄 i2c.fit

📁 这是我做的I2C的vhdl程序和仿真和下载文件
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 9.5 2/8/2000               
-- Compiled: 05/07/2003 10:01:50      

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

    DEVICE = "EPM7064SLC44-5";

    "clk"                          : INPUT_PIN  = 43     ;
    "nreset"                       : INPUT_PIN  = 4      ; -- LC16
    "read"                         : INPUT_PIN  = 17     ; -- LC24
    "start"                        : INPUT_PIN  = 16     ; -- LC25
    "stop"                         : INPUT_PIN  = 19     ; -- LC20
    "write"                        : INPUT_PIN  = 18     ; -- LC21
    "d0"                           : BIDIR_PIN  = 21     ; -- LC17
    "d1"                           : BIDIR_PIN  = 20     ; -- LC19
    "d2"                           : BIDIR_PIN  = 6      ; -- LC11
    "d3"                           : BIDIR_PIN  = 8      ; -- LC5
    "d4"                           : BIDIR_PIN  = 9      ; -- LC4
    "d5"                           : BIDIR_PIN  = 5      ; -- LC14
    "d6"                           : BIDIR_PIN  = 11     ; -- LC3
    "d7"                           : BIDIR_PIN  = 12     ; -- LC1
    "SCL"                          : BIDIR_PIN  = 14     ; -- LC30
    "SDA"                          : BIDIR_PIN  = 24     ; -- LC33
    "state~1"                      : LOCATION   = LC18   ;
    "state~1~1"                    : LOCATION   = LC48   ; -- PIN 32
    "state~2"                      : LOCATION   = LC36   ; -- PIN 26
    "state~2~1"                    : LOCATION   = LC27   ;
    "state~3"                      : LOCATION   = LC49   ; -- PIN 33
    "state~3~1"                    : LOCATION   = LC47   ;
    "state~4"                      : LOCATION   = LC20   ; -- PIN 19
    "state~4~1"                    : LOCATION   = LC46   ; -- PIN 31
    "state~5"                      : LOCATION   = LC38   ;
    "state~5~1"                    : LOCATION   = LC39   ;
    ":27"                          : LOCATION   = LC28   ;  -- sclo
    ":28"                          : LOCATION   = LC63   ;  -- sdao
    ":29"                          : LOCATION   = LC35   ; -- PIN 25  -- ishift
    ":30"                          : LOCATION   = LC34   ;  -- iload
    ":32"                          : LOCATION   = LC55   ;  -- shifter7
    ":33"                          : LOCATION   = LC53   ; -- PIN 37  -- shifter6
    ":34"                          : LOCATION   = LC2    ;  -- shifter5
    ":35"                          : LOCATION   = LC64   ; -- PIN 41  -- shifter4
    ":36"                          : LOCATION   = LC62   ; -- PIN 40  -- shifter3
    ":37"                          : LOCATION   = LC61   ;  -- shifter2
    ":38"                          : LOCATION   = LC60   ;  -- shifter1
    ":39"                          : LOCATION   = LC59   ;  -- shifter0
    ":40"                          : LOCATION   = LC56   ; -- PIN 38  -- state_p2s3
    ":41"                          : LOCATION   = LC54   ;  -- state_p2s2
    ":42"                          : LOCATION   = LC51   ; -- PIN 34  -- state_p2s1
    ":43"                          : LOCATION   = LC58   ;  -- state_p2s0
    ":44"                          : LOCATION   = LC57   ; -- PIN 39  -- sr
    ":45"                          : LOCATION   = LC22   ;  -- state_s2p3
    ":46"                          : LOCATION   = LC21   ; -- PIN 18  -- state_s2p2
    ":47"                          : LOCATION   = LC10   ;  -- state_s2p1
    ":48"                          : LOCATION   = LC9    ;  -- state_s2p0
    ":49"                          : LOCATION   = LC13   ;  -- shift7
    ":50"                          : LOCATION   = LC15   ;  -- shift6
    ":51"                          : LOCATION   = LC16   ; -- PIN 4  -- shift5
    ":52"                          : LOCATION   = LC6    ;  -- shift4
    ":53"                          : LOCATION   = LC7    ;  -- shift3
    ":54"                          : LOCATION   = LC8    ; -- PIN 7  -- shift2
    ":55"                          : LOCATION   = LC12   ;  -- shift1
    ":56"                          : LOCATION   = LC24   ; -- PIN 17  -- shift0
    ":109"                         : LOCATION   = LC25   ; -- PIN 16  -- iscl
    ":110"                         : LOCATION   = LC52   ; -- PIN 36  -- isda
    ":111"                         : LOCATION   = LC45   ;  -- idcnt2
    ":112"                         : LOCATION   = LC42   ;  -- idcnt1
    ":113"                         : LOCATION   = LC41   ; -- PIN 29  -- idcnt0
    "~752~1"                       : LOCATION   = LC26   ;
    "~824~1"                       : LOCATION   = LC23   ;
    "~896~1"                       : LOCATION   = LC44   ;
    "~968~1"                       : LOCATION   = LC43   ;
    "~1040~1"                      : LOCATION   = LC37   ; -- PIN 27
    "~2360~1"                      : LOCATION   = LC50   ;

END;

INTERNAL_INFO "i2c"
BEGIN
	DEVICE = EPM7064SLC44-5;
	LC1     : LORAX = "G17R0";
	LC3     : LORAX = "G19R0";
	LC14    : LORAX = "G100R0";
	LC4     : LORAX = "G20R0";
	LC5     : LORAX = "G50R0";
	LC11    : LORAX = "G68R0";
	LC19    : LORAX = "G56R0";
	LC17    : LORAX = "G54R0";
	LC30    : LORAX = "G71R0";
	LC33    : LORAX = "G58R0";
	LC35    : LORAX = "G60R0,PA12R0C2,PA16R0C0,PA12R0C1";
	OH19R0P19 : LORAX = "G123R0,PA33R0C1,PA34R0C2";
	OH23R0P17 : LORAX = "G90R0,PA25R0C2,PA24R0C1";
	OH20R0P18 : LORAX = "G87R0,PA20R0C2,PA20R0C1";
	LC18    : LORAX = "G55R0,PA10R0C2,PA10R0C1,PA12R0C3";
	LC49    : LORAX = "G29R0,PA7R0C1,PA7R0C2,PA7R0C3";
	OH15R0P4 : LORAX = "G36R0,PA17R0C1,PA17R0C2,PA17R0C3,PA17R0C0";
	OH24R0P16 : LORAX = "G37R0,PA16R0C2";
	LC36    : LORAX = "G61R0,PA14R0C1,PA14R0C2,PA14R0C3";
	LC45    : LORAX = "G74R0,PA18R0C2";
	LC20    : LORAX = "G57R0,PA9R0C1,PA9R0C2,PA9R0C3";
	LC38    : LORAX = "G26R0,PA1R0C2,PA6R0C1,PA1R0C3";
	LC42    : LORAX = "G108R0,PA29R0C2";
	LC41    : LORAX = "G107R0,PA35R0C2";
	LC22    : LORAX = "G22R0,PA1R0C0,PA3R0C1";
	LC21    : LORAX = "G21R0,PA4R0C0,PA4R0C1";
	LC10    : LORAX = "G67R0,PA21R0C0,PA21R0C1";
	LC9     : LORAX = "G66R0,PA19R0C0,PA19R0C1";
	LC13    : LORAX = "G99R0,PA29R0C0";
	LC15    : LORAX = "G101R0,PA32R0C0";
	LC16    : LORAX = "G102R0,PA34R0C0";
	LC6     : LORAX = "G51R0,PA9R0C0";
	LC7     : LORAX = "G52R0,PA12R0C0";
	LC8     : LORAX = "G53R0,PA11R0C0";
	LC12    : LORAX = "G69R0,PA25R0C0,PA25R0C1";
	LC24    : LORAX = "G24R0,PA0R0C1";
	LC28    : LORAX = "G106R0,PA31R0C1";
	LC25    : LORAX = "G103R0,PA27R0C1";
	LC63    : LORAX = "G113R0,PA27R0C2";
	LC57    : LORAX = "G78R0,PA20R0C3";
	LC55    : LORAX = "G64R0,PA13R0C3";
	LC34    : LORAX = "G59R0,PA15R0C2,PA15R0C0,PA10R0C3";
	LC53    : LORAX = "G62R0,PA16R0C3";
	LC2     : LORAX = "G18R0,PA0R0C0,PA0R0C3";
	LC64    : LORAX = "G114R0,PA31R0C3";
	LC62    : LORAX = "G112R0,PA30R0C3";
	LC61    : LORAX = "G111R0,PA33R0C3";
	LC60    : LORAX = "G81R0,PA22R0C3";
	LC56    : LORAX = "G65R0,PA11R0C3";
	LC54    : LORAX = "G63R0,PA15R0C3";
	LC51    : LORAX = "G31R0,PA4R0C3";
	LC58    : LORAX = "G79R0,PA21R0C3";
	LC59    : LORAX = "G80R0,PA25R0C3";
	LC52    : LORAX = "G32R0,PA1R0C1";
	LC50    : LORAX = "G30R0,PA5R0C3";
	LC27    : LORAX = "G105R0,PA33R0C2";
	LC48    : LORAX = "G77R0,PA22R0C1";
	LC39    : LORAX = "G27R0,PA3R0C2";
	LC46    : LORAX = "G75R0,PA23R0C1";
	LC26    : LORAX = "G104R0,PA30R0C1";
	LC37    : LORAX = "G25R0,PA2R0C2";
	LC43    : LORAX = "G109R0,PA30R0C2";
	LC44    : LORAX = "G110R0,PA31R0C2";
	LC47    : LORAX = "G76R0,PA19R0C3";
	LC23    : LORAX = "G23R0,PA2R0C3";
END;

⌨️ 快捷键说明

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