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

📄 new_pwm.map.eqn

📁 一个PWM参数器
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- Copyright (C) 1991-2007 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions 
-- and other software and tools, and its AMPP partner logic 
-- functions, and any output files from any of the foregoing 
-- (including device programming or simulation files), and any 
-- associated documentation or information are expressly subject 
-- to the terms and conditions of the Altera Program License 
-- Subscription Agreement, Altera MegaCore Function License 
-- Agreement, or other applicable license agreement, including, 
-- without limitation, that your use is for the sole purpose of 
-- programming logic devices manufactured by Altera and sold by 
-- Altera or its authorized distributors.  Please refer to the 
-- applicable agreement for further details.
--counter[0] is counter[0]
--operation mode is arithmetic

counter[0]_lut_out = !counter[0];
counter[0] = DFFEAS(counter[0]_lut_out, !clk, VCC, , , period[0], , , A1L57);

--A1L5 is counter[0]~176
--operation mode is arithmetic

A1L5 = CARRY(counter[0]);


--counter[1] is counter[1]
--operation mode is arithmetic

counter[1]_carry_eqn = A1L5;
counter[1]_lut_out = counter[1] $ (!counter[1]_carry_eqn);
counter[1] = DFFEAS(counter[1]_lut_out, !clk, VCC, , , period[1], , , A1L57);

--A1L7 is counter[1]~177
--operation mode is arithmetic

A1L7 = CARRY(!counter[1] & (!A1L5));


--counter[2] is counter[2]
--operation mode is arithmetic

counter[2]_carry_eqn = A1L7;
counter[2]_lut_out = counter[2] $ (counter[2]_carry_eqn);
counter[2] = DFFEAS(counter[2]_lut_out, !clk, VCC, , , period[2], , , A1L57);

--A1L9 is counter[2]~178
--operation mode is arithmetic

A1L9 = CARRY(counter[2] # !A1L7);


--counter[3] is counter[3]
--operation mode is arithmetic

counter[3]_carry_eqn = A1L9;
counter[3]_lut_out = counter[3] $ (!counter[3]_carry_eqn);
counter[3] = DFFEAS(counter[3]_lut_out, !clk, VCC, , , period[3], , , A1L57);

--A1L11 is counter[3]~179
--operation mode is arithmetic

A1L11 = CARRY(!counter[3] & (!A1L9));


--counter[4] is counter[4]
--operation mode is arithmetic

counter[4]_carry_eqn = A1L11;
counter[4]_lut_out = counter[4] $ (counter[4]_carry_eqn);
counter[4] = DFFEAS(counter[4]_lut_out, !clk, VCC, , , period[4], , , A1L57);

--A1L13 is counter[4]~180
--operation mode is arithmetic

A1L13 = CARRY(counter[4] # !A1L11);


--counter[5] is counter[5]
--operation mode is arithmetic

counter[5]_carry_eqn = A1L13;
counter[5]_lut_out = counter[5] $ (!counter[5]_carry_eqn);
counter[5] = DFFEAS(counter[5]_lut_out, !clk, VCC, , , period[5], , , A1L57);

--A1L15 is counter[5]~181
--operation mode is arithmetic

A1L15 = CARRY(!counter[5] & (!A1L13));


--counter[6] is counter[6]
--operation mode is arithmetic

counter[6]_carry_eqn = A1L15;
counter[6]_lut_out = counter[6] $ (counter[6]_carry_eqn);
counter[6] = DFFEAS(counter[6]_lut_out, !clk, VCC, , , period[6], , , A1L57);

--A1L17 is counter[6]~182
--operation mode is arithmetic

A1L17 = CARRY(counter[6] # !A1L15);


--counter[7] is counter[7]
--operation mode is arithmetic

counter[7]_carry_eqn = A1L17;
counter[7]_lut_out = counter[7] $ (!counter[7]_carry_eqn);
counter[7] = DFFEAS(counter[7]_lut_out, !clk, VCC, , , period[7], , , A1L57);

--A1L19 is counter[7]~183
--operation mode is arithmetic

A1L19 = CARRY(!counter[7] & (!A1L17));


--counter[8] is counter[8]
--operation mode is arithmetic

counter[8]_carry_eqn = A1L19;
counter[8]_lut_out = counter[8] $ (counter[8]_carry_eqn);
counter[8] = DFFEAS(counter[8]_lut_out, !clk, VCC, , , period[8], , , A1L57);

--A1L21 is counter[8]~184
--operation mode is arithmetic

A1L21 = CARRY(counter[8] # !A1L19);


--counter[9] is counter[9]
--operation mode is arithmetic

counter[9]_carry_eqn = A1L21;
counter[9]_lut_out = counter[9] $ (!counter[9]_carry_eqn);
counter[9] = DFFEAS(counter[9]_lut_out, !clk, VCC, , , period[9], , , A1L57);

--A1L23 is counter[9]~185
--operation mode is arithmetic

A1L23 = CARRY(!counter[9] & (!A1L21));


--counter[10] is counter[10]
--operation mode is arithmetic

counter[10]_carry_eqn = A1L23;
counter[10]_lut_out = counter[10] $ (counter[10]_carry_eqn);
counter[10] = DFFEAS(counter[10]_lut_out, !clk, VCC, , , period[10], , , A1L57);

--A1L25 is counter[10]~186
--operation mode is arithmetic

A1L25 = CARRY(counter[10] # !A1L23);


--counter[11] is counter[11]
--operation mode is arithmetic

counter[11]_carry_eqn = A1L25;
counter[11]_lut_out = counter[11] $ (!counter[11]_carry_eqn);
counter[11] = DFFEAS(counter[11]_lut_out, !clk, VCC, , , period[11], , , A1L57);

--A1L27 is counter[11]~187
--operation mode is arithmetic

A1L27 = CARRY(!counter[11] & (!A1L25));


--counter[12] is counter[12]
--operation mode is arithmetic

counter[12]_carry_eqn = A1L27;
counter[12]_lut_out = counter[12] $ (counter[12]_carry_eqn);
counter[12] = DFFEAS(counter[12]_lut_out, !clk, VCC, , , period[12], , , A1L57);

--A1L29 is counter[12]~188
--operation mode is arithmetic

A1L29 = CARRY(counter[12] # !A1L27);


--counter[13] is counter[13]
--operation mode is arithmetic

counter[13]_carry_eqn = A1L29;
counter[13]_lut_out = counter[13] $ (!counter[13]_carry_eqn);
counter[13] = DFFEAS(counter[13]_lut_out, !clk, VCC, , , period[13], , , A1L57);

--A1L31 is counter[13]~189
--operation mode is arithmetic

A1L31 = CARRY(!counter[13] & (!A1L29));


--counter[14] is counter[14]
--operation mode is arithmetic

counter[14]_carry_eqn = A1L31;
counter[14]_lut_out = counter[14] $ (counter[14]_carry_eqn);
counter[14] = DFFEAS(counter[14]_lut_out, !clk, VCC, , , period[14], , , A1L57);

--A1L33 is counter[14]~190
--operation mode is arithmetic

A1L33 = CARRY(counter[14] # !A1L31);


--counter[15] is counter[15]
--operation mode is normal

counter[15]_carry_eqn = A1L33;
counter[15]_lut_out = counter[15] $ (!counter[15]_carry_eqn);
counter[15] = DFFEAS(counter[15]_lut_out, !clk, VCC, , , period[15], , , A1L57);


--A1L58 is LessThan1~208
--operation mode is normal

A1L58_carry_eqn = A1L60;
A1L58 = counter[15] & duty[15] & A1L58_carry_eqn # !counter[15] & (duty[15] # A1L58_carry_eqn);


--A1L60 is LessThan1~215
--operation mode is arithmetic

A1L60 = CARRY(counter[14] & duty[14] & !A1L62 # !counter[14] & (duty[14] # !A1L62));


--A1L62 is LessThan1~220
--operation mode is arithmetic

A1L62 = CARRY(counter[13] & (!A1L64 # !duty[13]) # !counter[13] & !duty[13] & !A1L64);


--A1L64 is LessThan1~225
--operation mode is arithmetic

A1L64 = CARRY(counter[12] & duty[12] & !A1L66 # !counter[12] & (duty[12] # !A1L66));


--A1L66 is LessThan1~230
--operation mode is arithmetic

A1L66 = CARRY(counter[11] & (!A1L68 # !duty[11]) # !counter[11] & !duty[11] & !A1L68);


--A1L68 is LessThan1~235
--operation mode is arithmetic

A1L68 = CARRY(counter[10] & duty[10] & !A1L70 # !counter[10] & (duty[10] # !A1L70));


--A1L70 is LessThan1~240
--operation mode is arithmetic

A1L70 = CARRY(counter[9] & (!A1L72 # !duty[9]) # !counter[9] & !duty[9] & !A1L72);


--A1L72 is LessThan1~245
--operation mode is arithmetic

A1L72 = CARRY(counter[8] & duty[8] & !A1L74 # !counter[8] & (duty[8] # !A1L74));


--A1L74 is LessThan1~250
--operation mode is arithmetic

A1L74 = CARRY(counter[7] & (!A1L76 # !duty[7]) # !counter[7] & !duty[7] & !A1L76);


--A1L76 is LessThan1~255
--operation mode is arithmetic

A1L76 = CARRY(counter[6] & duty[6] & !A1L78 # !counter[6] & (duty[6] # !A1L78));


--A1L78 is LessThan1~260
--operation mode is arithmetic

A1L78 = CARRY(counter[5] & (!A1L80 # !duty[5]) # !counter[5] & !duty[5] & !A1L80);


--A1L80 is LessThan1~265
--operation mode is arithmetic

A1L80 = CARRY(counter[4] & duty[4] & !A1L82 # !counter[4] & (duty[4] # !A1L82));


--A1L82 is LessThan1~270
--operation mode is arithmetic

A1L82 = CARRY(counter[3] & (!A1L84 # !duty[3]) # !counter[3] & !duty[3] & !A1L84);


--A1L84 is LessThan1~275
--operation mode is arithmetic

A1L84 = CARRY(counter[2] & duty[2] & !A1L86 # !counter[2] & (duty[2] # !A1L86));


--A1L86 is LessThan1~280
--operation mode is arithmetic

A1L86 = CARRY(counter[1] & (!A1L88 # !duty[1]) # !counter[1] & !duty[1] & !A1L88);


--A1L88 is LessThan1~285
--operation mode is arithmetic

A1L88 = CARRY(!counter[0] & duty[0]);


--y_en is y_en
y_en = OUTPUT(A1L145Q);


--PwmOut is PwmOut
PwmOut = OUTPUT(A1L108Q);


--A1L145Q is y_en~reg0
--operation mode is normal

A1L145Q_lut_out = !A1L57;
A1L145Q = DFFEAS(A1L145Q_lut_out, !clk, VCC, , , , , , );


--A1L108Q is PwmOut~reg0
--operation mode is normal

A1L108Q_lut_out = !A1L58 & (A1L108Q # wr_en);
A1L108Q = DFFEAS(A1L108Q_lut_out, !clk, VCC, , , , , , );


--A1L53 is Equal0~148
--operation mode is normal

A1L53 = !counter[0] & !counter[1] & !counter[2] & !counter[3];


--A1L54 is Equal0~149
--operation mode is normal

A1L54 = !counter[4] & !counter[5] & !counter[6] & !counter[7];


--A1L55 is Equal0~150
--operation mode is normal

A1L55 = !counter[8] & !counter[9] & !counter[10] & !counter[11];


--A1L56 is Equal0~151
--operation mode is normal

A1L56 = !counter[12] & !counter[13] & !counter[14] & !counter[15];


--A1L57 is Equal0~152
--operation mode is normal

A1L57 = A1L53 & A1L54 & A1L55 & A1L56;


--clk is clk
clk = INPUT();


--wr_en is wr_en
wr_en = INPUT();

⌨️ 快捷键说明

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