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

📄 pwm.fit

📁 本软件在CPLD上实现数字PWM控制
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.1 06/12/2001            
-- Compiled: 03/17/2006 16:31:26      

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

    DEVICE = "EPM7128STC100-10";

    "clock"                        : INPUT_PIN  = 87     ;
    "curr_in"                      : INPUT_PIN  = 96     ; -- LC11
    "data_in0"                     : INPUT_PIN  = 1      ; -- LC3
    "data_in1"                     : INPUT_PIN  = 2      ; -- LC1
    "data_in2"                     : INPUT_PIN  = 5      ; -- LC30
    "data_in3"                     : INPUT_PIN  = 6      ; -- LC29
    "data_in4"                     : INPUT_PIN  = 7      ; -- LC27
    "data_in5"                     : INPUT_PIN  = 8      ; -- LC25
    "data_in6"                     : INPUT_PIN  = 9      ; -- LC24
    "data_in7"                     : INPUT_PIN  = 10     ; -- LC22
    "heat_in"                      : INPUT_PIN  = 97     ; -- LC9
    "vol_in"                       : INPUT_PIN  = 98     ; -- LC8
    "pwm_A_out"                    : OUTPUT_PIN = 16     ; -- LC46
    "pwm_B_out"                    : OUTPUT_PIN = 17     ; -- LC45
    "|filter:U1|:8"                : LOCATION   = LC35   ; -- PIN 24  -- |filter:U1|q1
    "|filter:U1|:9"                : LOCATION   = LC103  ;  -- |filter:U1|q0
    "|filter:U2|:8"                : LOCATION   = LC34   ;  -- |filter:U2|q1
    "|filter:U2|:9"                : LOCATION   = LC79   ;  -- |filter:U2|q0
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node1" : LOCATION   = LC83   ; -- PIN 53
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node2" : LOCATION   = LC110  ; -- PIN 72
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node3" : LOCATION   = LC102  ; -- PIN 67
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node4" : LOCATION   = LC112  ; -- PIN 73
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node5" : LOCATION   = LC111  ;
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node6" : LOCATION   = LC125  ; -- PIN 83
    "|lpm_add_sub:346|addcore:adder|addcore:adder0|result_node7" : LOCATION   = LC118  ; -- PIN 78
    "|lpm_add_sub:346|addcore:adder|addcore:adder1|result_node0" : LOCATION   = LC128  ; -- PIN 85
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node2" : LOCATION   = LC96   ; -- PIN 62
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node3" : LOCATION   = LC92   ;
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node4" : LOCATION   = LC91   ; -- PIN 58
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node5" : LOCATION   = LC87   ;
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node6" : LOCATION   = LC126  ; -- PIN 84
    "|lpm_add_sub:347|addcore:adder|addcore:adder0|result_node7" : LOCATION   = LC127  ;
    "|protect:U3|lpm_add_sub:130|addcore:adder|addcore:adder0|result_node2" : LOCATION   = LC89   ; -- PIN 57
    "|protect:U3|:59"              : LOCATION   = LC93   ; -- PIN 60  -- |protect:U3|counter3
    "|protect:U3|:60"              : LOCATION   = LC95   ;  -- |protect:U3|counter2
    "|protect:U3|:61"              : LOCATION   = LC74   ;  -- |protect:U3|counter1
    "|protect:U3|:62"              : LOCATION   = LC65   ; -- PIN 40  -- |protect:U3|counter0
    "|protect:U3|:69"              : LOCATION   = LC75   ; -- PIN 47  -- |protect:U3|divi_cp
    "|protect:U3|:71"              : LOCATION   = LC90   ;  -- |protect:U3|clk
    "|protect:U3|:76"              : LOCATION   = LC85   ; -- PIN 54  -- |protect:U3|q1
    "|protect:U3|:77"              : LOCATION   = LC94   ; -- PIN 61  -- |protect:U3|q0
    "|protect:U3|:126"             : LOCATION   = LC81   ; -- PIN 52
    ":94"                          : LOCATION   = LC106  ;  -- counter28
    ":95"                          : LOCATION   = LC105  ; -- PIN 69  -- counter27
    ":96"                          : LOCATION   = LC104  ; -- PIN 68  -- counter26
    ":97"                          : LOCATION   = LC98   ;  -- counter25
    ":98"                          : LOCATION   = LC100  ;  -- counter24
    ":99"                          : LOCATION   = LC99   ; -- PIN 64  -- counter23
    ":100"                         : LOCATION   = LC97   ; -- PIN 63  -- counter22
    ":101"                         : LOCATION   = LC101  ; -- PIN 65  -- counter21
    ":102"                         : LOCATION   = LC113  ; -- PIN 75  -- counter20
    ":218"                         : LOCATION   = LC124  ;  -- counter18
    ":219"                         : LOCATION   = LC122  ;  -- counter17
    ":220"                         : LOCATION   = LC120  ; -- PIN 79  -- counter16
    ":221"                         : LOCATION   = LC123  ; -- PIN 81  -- counter15
    ":222"                         : LOCATION   = LC114  ;  -- counter14
    ":223"                         : LOCATION   = LC115  ; -- PIN 76  -- counter13
    ":224"                         : LOCATION   = LC116  ;  -- counter12
    ":225"                         : LOCATION   = LC117  ; -- PIN 77  -- counter11
    ":226"                         : LOCATION   = LC119  ;  -- counter10
    ":233"                         : LOCATION   = LC121  ; -- PIN 80  -- flag
    "~245~1"                       : LOCATION   = LC107  ; -- PIN 70
    "~257~1"                       : LOCATION   = LC109  ; -- PIN 71
    "~258~1"                       : LOCATION   = LC82   ;
    "~291~1"                       : LOCATION   = LC108  ;
    "~299~1"                       : LOCATION   = LC68   ;
    "~311~1"                       : LOCATION   = LC67   ; -- PIN 41
    "~312~1"                       : LOCATION   = LC86   ; -- PIN 55
    "~344~1"                       : LOCATION   = LC66   ;

END;

INTERNAL_INFO "pwm"
BEGIN
	DEVICE = EPM7128STC100-10;
	LC46    : LORAX = "G180R0";
	LC45    : LORAX = "G179R0";
	LC35    : LORAX = "G35R0,PA0R0C2";
	LC103   : LORAX = "G51R0,PA7R0C2";
	OH21R0P10 : LORAX = "G151R0,PA21R0C4,PA21R0C6";
	LC106   : LORAX = "G196R0,PA35R0C6,PA35R0C7";
	LC98    : LORAX = "G107R0,PA10R0C7,PA15R0C6";
	LC100   : LORAX = "G109R0,PA9R0C5,PA9R0C7,PA9R0C6";
	LC99    : LORAX = "G108R0,PA12R0C5,PA12R0C6,PA16R0C7";
	LC101   : LORAX = "G49R0,PA2R0C5,PA2R0C7,PA4R0C6";
	LC113   : LORAX = "G53R0,PA7R0C5,PA7R0C7,PA8R0C6";
	LC97    : LORAX = "G106R0,PA11R0C5,PA11R0C6,PA13R0C7";
	LC110   : LORAX = "G139R0,PA19R0C6";
	LC105   : LORAX = "G195R0,PA33R0C7,PA33R0C6";
	LC118   : LORAX = "G111R0,PA14R0C6";
	LC104   : LORAX = "G52R0,PA0R0C7,PA0R0C6";
	LC125   : LORAX = "G199R0,PA28R0C6";
	LC121   : LORAX = "G142R0,PA25R0C7,PA25R0C4,PA25R0C6";
	LC122   : LORAX = "G143R0,PA26R0C4,PA23R0C7";
	LC120   : LORAX = "G113R0,PA10R0C4,PA11R0C7";
	LC116   : LORAX = "G56R0,PA1R0C5,PA1R0C7";
	LC124   : LORAX = "G145R0,PA24R0C4,PA24R0C7";
	LC123   : LORAX = "G144R0,PA18R0C7,PA21R0C5,PA18R0C4";
	LC114   : LORAX = "G54R0,PA6R0C5,PA5R0C7";
	LC115   : LORAX = "G55R0,PA3R0C5,PA3R0C7";
	LC92    : LORAX = "G137R0,PA19R0C7";
	LC117   : LORAX = "G110R0,PA17R0C5,PA17R0C7";
	LC119   : LORAX = "G112R0,PA13R0C5,PA12R0C7";
	LC91    : LORAX = "G136R0,PA21R0C7";
	LC87    : LORAX = "G104R0,PA14R0C7";
	LC96    : LORAX = "G194R0,PA28R0C7";
	LC126   : LORAX = "G200R0,PA32R0C7";
	LC127   : LORAX = "G201R0,PA30R0C7";
	LC83    : LORAX = "G47R0,PA2R0C6";
	LC102   : LORAX = "G50R0,PA1R0C6";
	LC112   : LORAX = "G141R0,PA20R0C6";
	LC111   : LORAX = "G140R0,PA18R0C6";
	LC128   : LORAX = "G202R0,PA31R0C6";
	LC81    : LORAX = "G45R0,PA7R0C4,PA7R0C6";
	OH8R0P97 : LORAX = "G0R0,PA4R0C5";
	OH7R0P98 : LORAX = "G206R0,PA32R0C5";
	LC85    : LORAX = "G102R0,PA16R0C5";
	LC94    : LORAX = "G192R0,PA29R0C5";
	OH10R0P96 : LORAX = "G1R0,PA5R0C5";
	LC90    : LORAX = "G135R0,PA18R0C5";
	LC75    : LORAX = "G189R0,PA34R0C5";
	LC93    : LORAX = "G191R0,PA31R0C5,PA31R0C4";
	LC95    : LORAX = "G193R0,PA30R0C5,PA30R0C4";
	LC74    : LORAX = "G188R0,PA28R0C5,PA28R0C4";
	LC65    : LORAX = "G98R0,PA13R0C4,PA14R0C5";
	LC89    : LORAX = "G134R0,PA26R0C5";
	LC107   : LORAX = "G197R0,PA27R0C6";
	LC109   : LORAX = "G138R0,PA24R0C6";
	OH24R0P8 : LORAX = "G60R0,PA9R0C4,PA10R0C6";
	LC82    : LORAX = "G46R0,PA3R0C6";
	OH2R0P1 : LORAX = "G148R0,PA19R0C5";
	OH28R0P6 : LORAX = "G3R0,PA0R0C5";
	OH26R0P7 : LORAX = "G61R0,PA15R0C5";
	OH0R0P2 : LORAX = "G147R0,PA20R0C5";
	OH29R0P5 : LORAX = "G4R0,PA8R0C5";
	OH23R0P9 : LORAX = "G152R0,PA23R0C6,PA23R0C4";
	LC108   : LORAX = "G198R0,PA29R0C6";
	LC34    : LORAX = "G34R0,PA6R0C2";
	LC79    : LORAX = "G132R0,PA25R0C2";
	LC68    : LORAX = "G101R0,PA11R0C4";
	LC67    : LORAX = "G100R0,PA17R0C4";
	LC86    : LORAX = "G103R0,PA12R0C4";
	LC66    : LORAX = "G99R0,PA16R0C4";
END;

⌨️ 快捷键说明

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