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

📄 240t.map.eqn

📁 很好的一个东西,希望能对大家有所帮助.关于PWM的编程.
💻 EQN
📖 第 1 页 / 共 2 页
字号:


--C1L3 is pwm:inst1|LessThan~112
--operation mode is arithmetic

C1L3 = CARRY(C1L17 & B1_cnt[28] & !C1L5 # !C1L17 & (B1_cnt[28] # !C1L5));


--B1_cnt[19] is t240t:inst|cnt[19]
--operation mode is arithmetic

B1_cnt[19]_carry_eqn = B1L30;
B1_cnt[19]_lut_out = B1_cnt[19] $ (!B1_cnt[19]_carry_eqn);
B1_cnt[19] = DFFEAS(B1_cnt[19]_lut_out, clk, VCC, , , , , rst, );

--B1L32 is t240t:inst|cnt[19]~456
--operation mode is arithmetic

B1L32 = CARRY(B1_cnt[19] & (!B1L30));


--B1_cnt[10] is t240t:inst|cnt[10]
--operation mode is arithmetic

B1_cnt[10]_carry_eqn = B1L12;
B1_cnt[10]_lut_out = B1_cnt[10] $ (B1_cnt[10]_carry_eqn);
B1_cnt[10] = DFFEAS(B1_cnt[10]_lut_out, clk, VCC, , , , , rst, );

--B1L14 is t240t:inst|cnt[10]~460
--operation mode is arithmetic

B1L14 = CARRY(!B1L12 # !B1_cnt[10]);


--C1_cnt[7] is pwm:inst1|cnt[7]
--operation mode is normal

C1_cnt[7]_lut_out = C1L16 & (!rst);
C1_cnt[7] = DFFEAS(C1_cnt[7]_lut_out, clk, VCC, , , , , , );


--C1L17 is pwm:inst1|add~126
--operation mode is arithmetic

C1L17_carry_eqn = C1L20;
C1L17 = C1_cnt[6] $ (!C1L17_carry_eqn);

--C1L18 is pwm:inst1|add~128
--operation mode is arithmetic

C1L18 = CARRY(C1_cnt[6] & (!C1L20));


--C1L5 is pwm:inst1|LessThan~117
--operation mode is arithmetic

C1L5 = CARRY(C1L19 & (!C1L7 # !B1_cnt[27]) # !C1L19 & !B1_cnt[27] & !C1L7);


--B1_cnt[9] is t240t:inst|cnt[9]
--operation mode is arithmetic

B1_cnt[9]_carry_eqn = B1L3;
B1_cnt[9]_lut_out = B1_cnt[9] $ (!B1_cnt[9]_carry_eqn);
B1_cnt[9] = DFFEAS(B1_cnt[9]_lut_out, clk, VCC, , , , , rst, );

--B1L12 is t240t:inst|cnt[9]~464
--operation mode is arithmetic

B1L12 = CARRY(B1_cnt[9] & (!B1L3));


--C1_cnt[6] is pwm:inst1|cnt[6]
--operation mode is normal

C1_cnt[6]_lut_out = C1L17 & (!rst);
C1_cnt[6] = DFFEAS(C1_cnt[6]_lut_out, clk, VCC, , , , , , );


--C1L19 is pwm:inst1|add~131
--operation mode is arithmetic

C1L19_carry_eqn = C1L22;
C1L19 = C1_cnt[5] $ (C1L19_carry_eqn);

--C1L20 is pwm:inst1|add~133
--operation mode is arithmetic

C1L20 = CARRY(!C1L22 # !C1_cnt[5]);


--C1L7 is pwm:inst1|LessThan~122
--operation mode is arithmetic

C1L7 = CARRY(C1L21 & B1_cnt[26] & !C1L9 # !C1L21 & (B1_cnt[26] # !C1L9));


--B1_cnt[8] is t240t:inst|cnt[8]
--operation mode is arithmetic

B1_cnt[8]_carry_eqn = B1L4;
B1_cnt[8]_lut_out = B1_cnt[8] $ (B1_cnt[8]_carry_eqn);
B1_cnt[8] = DFFEAS(B1_cnt[8]_lut_out, clk, VCC, , , , , rst, );

--B1L3 is t240t:inst|cnt[8]~468
--operation mode is arithmetic

B1L3 = CARRY(!B1L4 # !B1_cnt[8]);


--C1_cnt[5] is pwm:inst1|cnt[5]
--operation mode is normal

C1_cnt[5]_lut_out = C1L19 & (!rst);
C1_cnt[5] = DFFEAS(C1_cnt[5]_lut_out, clk, VCC, , , , , , );


--C1L21 is pwm:inst1|add~136
--operation mode is arithmetic

C1L21_carry_eqn = C1L24;
C1L21 = C1_cnt[4] $ (!C1L21_carry_eqn);

--C1L22 is pwm:inst1|add~138
--operation mode is arithmetic

C1L22 = CARRY(C1_cnt[4] & (!C1L24));


--C1L9 is pwm:inst1|LessThan~127
--operation mode is arithmetic

C1L9 = CARRY(C1L23 & (!C1L11 # !B1_cnt[25]) # !C1L23 & !B1_cnt[25] & !C1L11);


--B1L4 is t240t:inst|cnt[8]~473
--operation mode is arithmetic

B1L4 = CARRY(C1_cnt[7] & (!B1L5));


--C1_cnt[4] is pwm:inst1|cnt[4]
--operation mode is normal

C1_cnt[4]_lut_out = C1L21 & (!rst);
C1_cnt[4] = DFFEAS(C1_cnt[4]_lut_out, clk, VCC, , , , , , );


--C1L23 is pwm:inst1|add~141
--operation mode is arithmetic

C1L23_carry_eqn = C1L26;
C1L23 = C1_cnt[3] $ (C1L23_carry_eqn);

--C1L24 is pwm:inst1|add~143
--operation mode is arithmetic

C1L24 = CARRY(!C1L26 # !C1_cnt[3]);


--C1L11 is pwm:inst1|LessThan~132
--operation mode is arithmetic

C1L11 = CARRY(C1L25 & B1_cnt[24] & !C1L13 # !C1L25 & (B1_cnt[24] # !C1L13));


--B1L5 is t240t:inst|cnt[8]~478
--operation mode is arithmetic

B1L5 = CARRY(!B1L6 # !C1_cnt[6]);


--C1_cnt[3] is pwm:inst1|cnt[3]
--operation mode is normal

C1_cnt[3]_lut_out = C1L23 & (!rst);
C1_cnt[3] = DFFEAS(C1_cnt[3]_lut_out, clk, VCC, , , , , , );


--C1L25 is pwm:inst1|add~146
--operation mode is arithmetic

C1L25_carry_eqn = C1L28;
C1L25 = C1_cnt[2] $ (!C1L25_carry_eqn);

--C1L26 is pwm:inst1|add~148
--operation mode is arithmetic

C1L26 = CARRY(C1_cnt[2] & (!C1L28));


--C1L13 is pwm:inst1|LessThan~137
--operation mode is arithmetic

C1L13 = CARRY(C1L27 & (!C1L15 # !B1_cnt[23]) # !C1L27 & !B1_cnt[23] & !C1L15);


--B1L6 is t240t:inst|cnt[8]~483
--operation mode is arithmetic

B1L6 = CARRY(C1_cnt[5] & (!B1L7));


--C1_cnt[2] is pwm:inst1|cnt[2]
--operation mode is normal

C1_cnt[2]_lut_out = C1L25 & (!rst);
C1_cnt[2] = DFFEAS(C1_cnt[2]_lut_out, clk, VCC, , , , , , );


--C1L27 is pwm:inst1|add~151
--operation mode is arithmetic

C1L27_carry_eqn = C1L30;
C1L27 = C1_cnt[1] $ (C1L27_carry_eqn);

--C1L28 is pwm:inst1|add~153
--operation mode is arithmetic

C1L28 = CARRY(!C1L30 # !C1_cnt[1]);


--C1L15 is pwm:inst1|LessThan~142
--operation mode is arithmetic

C1L15 = CARRY(!C1L29 & B1_cnt[22]);


--B1L7 is t240t:inst|cnt[8]~488
--operation mode is arithmetic

B1L7 = CARRY(!B1L8 # !C1_cnt[4]);


--C1_cnt[1] is pwm:inst1|cnt[1]
--operation mode is normal

C1_cnt[1]_lut_out = C1L27 & (!rst);
C1_cnt[1] = DFFEAS(C1_cnt[1]_lut_out, clk, VCC, , , , , , );


--C1L29 is pwm:inst1|add~156
--operation mode is arithmetic

C1L29 = !C1_cnt[0];

--C1L30 is pwm:inst1|add~158
--operation mode is arithmetic

C1L30 = CARRY(C1_cnt[0]);


--B1L8 is t240t:inst|cnt[8]~493
--operation mode is arithmetic

B1L8 = CARRY(C1_cnt[3] & (!B1L9));


--C1_cnt[0] is pwm:inst1|cnt[0]
--operation mode is normal

C1_cnt[0]_lut_out = C1L29 & (!rst);
C1_cnt[0] = DFFEAS(C1_cnt[0]_lut_out, clk, VCC, , , , , , );


--B1L9 is t240t:inst|cnt[8]~498
--operation mode is arithmetic

B1L9 = CARRY(!B1L10 # !C1_cnt[2]);


--B1L10 is t240t:inst|cnt[8]~503
--operation mode is arithmetic

B1L10 = CARRY(C1_cnt[0] & C1_cnt[1]);


--clk is clk
--operation mode is input

clk = INPUT();


--rst is rst
--operation mode is input

rst = INPUT();


--pwctrl is pwctrl
--operation mode is output

pwctrl = OUTPUT(VCC);


--dig[7] is dig[7]
--operation mode is output

dig[7] = OUTPUT(GND);


--dig[6] is dig[6]
--operation mode is output

dig[6] = OUTPUT(D1L12);


--dig[5] is dig[5]
--operation mode is output

dig[5] = OUTPUT(!D1L11);


--dig[4] is dig[4]
--operation mode is output

dig[4] = OUTPUT(!D1L10);


--dig[3] is dig[3]
--operation mode is output

dig[3] = OUTPUT(!D1L9);


--dig[2] is dig[2]
--operation mode is output

dig[2] = OUTPUT(!D1L8);


--dig[1] is dig[1]
--operation mode is output

dig[1] = OUTPUT(!D1L7);


--dig[0] is dig[0]
--operation mode is output

dig[0] = OUTPUT(!D1L6);


--digcs[3] is digcs[3]
--operation mode is output

digcs[3] = OUTPUT(D1L3);


--digcs[2] is digcs[2]
--operation mode is output

digcs[2] = OUTPUT(D1L4);


--digcs[1] is digcs[1]
--operation mode is output

digcs[1] = OUTPUT(D1L5);


--digcs[0] is digcs[0]
--operation mode is output

digcs[0] = OUTPUT(D1L1);


--ld[7] is ld[7]
--operation mode is output

ld[7] = OUTPUT(C1_out[7]);


--ld[6] is ld[6]
--operation mode is output

ld[6] = OUTPUT(C1_out[7]);


--ld[5] is ld[5]
--operation mode is output

ld[5] = OUTPUT(C1_out[7]);


--ld[4] is ld[4]
--operation mode is output

ld[4] = OUTPUT(C1_out[7]);


--ld[3] is ld[3]
--operation mode is output

ld[3] = OUTPUT(C1_out[7]);


--ld[2] is ld[2]
--operation mode is output

ld[2] = OUTPUT(C1_out[7]);


--ld[1] is ld[1]
--operation mode is output

ld[1] = OUTPUT(C1_out[7]);


--ld[0] is ld[0]
--operation mode is output

ld[0] = OUTPUT(C1_out[7]);


⌨️ 快捷键说明

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