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

📄 car.fit

📁 用VHDL编程的智能寻迹小车.驱动电机沿黑线运动,转弯的时候有灯显示.可以综合,实际硬件调试通过.是学习VHDL的很好实例
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.2 07/10/2002            
-- Compiled: 12/14/2004 18:30:12      

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

    DEVICE = "EPM7064SLC44-10";

    "clkin"                        : INPUT_PIN  = 43     ;
    "CLRn"                         : INPUT_PIN  = 1      ;
    "iSensorState0"                : INPUT_PIN  = 9      ; -- LC4
    "iSensorState1"                : INPUT_PIN  = 8      ; -- LC5
    "iSensorState2"                : INPUT_PIN  = 11     ; -- LC3
    "Cclkout"                      : OUTPUT_PIN = 12     ; -- LC1
    "Dclkout"                      : OUTPUT_PIN = 6      ; -- LC11
    "L_RUN"                        : OUTPUT_PIN = 37     ; -- LC53
    "LWC0"                         : OUTPUT_PIN = 27     ; -- LC37
    "LWC1"                         : OUTPUT_PIN = 26     ; -- LC36
    "LWC2"                         : OUTPUT_PIN = 25     ; -- LC35
    "LWC3"                         : OUTPUT_PIN = 24     ; -- LC33
    "R_RUN"                        : OUTPUT_PIN = 14     ; -- LC30
    "RWC0"                         : OUTPUT_PIN = 21     ; -- LC17
    "RWC1"                         : OUTPUT_PIN = 20     ; -- LC19
    "RWC2"                         : OUTPUT_PIN = 19     ; -- LC20
    "RWC3"                         : OUTPUT_PIN = 18     ; -- LC21
    "|LPM_ADD_SUB:68|addcore:adder|addcore:adder0|result_node1" : LOCATION   = LC13   ;
    "|LPM_ADD_SUB:68|addcore:adder|addcore:adder0|result_node3" : LOCATION   = LC5    ; -- PIN 8
    ":19"                          : LOCATION   = LC12   ;  -- clk1
    ":20"                          : LOCATION   = LC9    ;  -- WCCount2
    ":21"                          : LOCATION   = LC3    ; -- PIN 11  -- WCCount1
    ":22"                          : LOCATION   = LC2    ;  -- WCCount0
    ":24"                          : LOCATION   = LC50   ;  -- Sensorstate2
    ":25"                          : LOCATION   = LC52   ; -- PIN 36  -- Sensorstate1
    ":26"                          : LOCATION   = LC49   ; -- PIN 33  -- Sensorstate0
    ":37"                          : LOCATION   = LC10   ;  -- count13
    ":38"                          : LOCATION   = LC8    ; -- PIN 7  -- count12
    ":39"                          : LOCATION   = LC7    ;  -- count11
    ":40"                          : LOCATION   = LC4    ; -- PIN 9  -- count10
    ":226"                         : LOCATION   = LC16   ; -- PIN 4  -- count22
    ":227"                         : LOCATION   = LC15   ;  -- count21
    ":228"                         : LOCATION   = LC14   ; -- PIN 5  -- count20

END;

INTERNAL_INFO "car"
BEGIN
	DEVICE = EPM7064SLC44-10;
	LC11    : LORAX = "G68R0,PA24R0C3";
	LC1     : LORAX = "G17R0,PA5R0C0";
	LC21    : LORAX = "G21R0";
	LC20    : LORAX = "G57R0";
	LC19    : LORAX = "G56R0";
	LC17    : LORAX = "G54R0";
	LC33    : LORAX = "G58R0";
	LC35    : LORAX = "G60R0";
	LC36    : LORAX = "G61R0";
	LC37    : LORAX = "G25R0";
	LC30    : LORAX = "G71R0";
	LC53    : LORAX = "G62R0";
	OH66R0P1 : LORAX = "G49R0,PA17R0C0";
	LC16    : LORAX = "G102R0,PA34R0C0";
	LC15    : LORAX = "G101R0,PA32R0C0";
	LC14    : LORAX = "G100R0,PA30R0C0";
	LC12    : LORAX = "G69R0,PA25R0C0";
	LC9     : LORAX = "G66R0,PA19R0C0,PA19R0C1,PA19R0C2";
	LC3     : LORAX = "G19R0,PA3R0C0,PA3R0C2,PA3R0C1";
	LC2     : LORAX = "G18R0,PA0R0C0,PA0R0C1,PA0R0C2";
	LC10    : LORAX = "G67R0,PA22R0C0";
	LC8     : LORAX = "G53R0,PA15R0C0";
	LC7     : LORAX = "G52R0,PA12R0C0";
	LC4     : LORAX = "G20R0,PA2R0C0";
	LC13    : LORAX = "G99R0,PA29R0C0";
	LC5     : LORAX = "G50R0,PA13R0C0";
	LC50    : LORAX = "G30R0,PA6R0C3,PA6R0C1,PA6R0C2";
	OH2R0P11 : LORAX = "G85R0,PA23R0C3";
	LC49    : LORAX = "G29R0,PA8R0C3,PA8R0C2,PA8R0C1";
	OH3R0P9 : LORAX = "G86R0,PA22R0C3";
	LC52    : LORAX = "G32R0,PA1R0C1";
	OH4R0P8 : LORAX = "G116R0,PA27R0C3";
END;

⌨️ 快捷键说明

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