📄 pwm.map.eqn
字号:
-- Copyright (C) 1991-2005 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 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.
--theout is theout
--operation mode is normal
theout_lut_out = !A1L82;
theout = DFFEAS(theout_lut_out, countclk, VCC, , A1L56, , , , );
--A1L82 is LessThan~105
--operation mode is normal
A1L82_carry_eqn = A1L03;
A1L82 = dat[7] & mycounter[7] & A1L82_carry_eqn # !dat[7] & (mycounter[7] # A1L82_carry_eqn);
--fenpincount[2] is fenpincount[2]
--operation mode is arithmetic
fenpincount[2]_carry_eqn = A1L51;
fenpincount[2]_lut_out = fenpincount[2] $ (fenpincount[2]_carry_eqn);
fenpincount[2] = DFFEAS(fenpincount[2]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L71 is fenpincount[2]~178
--operation mode is arithmetic
A1L71 = CARRY(fenpincount[2] # !A1L51);
--fenpincount[3] is fenpincount[3]
--operation mode is arithmetic
fenpincount[3]_carry_eqn = A1L71;
fenpincount[3]_lut_out = fenpincount[3] $ (!fenpincount[3]_carry_eqn);
fenpincount[3] = DFFEAS(fenpincount[3]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L91 is fenpincount[3]~182
--operation mode is arithmetic
A1L91 = CARRY(!fenpincount[3] & (!A1L71));
--fenpincount[0] is fenpincount[0]
--operation mode is arithmetic
fenpincount[0]_lut_out = !fenpincount[0];
fenpincount[0] = DFFEAS(fenpincount[0]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L31 is fenpincount[0]~186
--operation mode is arithmetic
A1L31 = CARRY(fenpincount[0]);
--fenpincount[1] is fenpincount[1]
--operation mode is arithmetic
fenpincount[1]_carry_eqn = A1L31;
fenpincount[1]_lut_out = fenpincount[1] $ (!fenpincount[1]_carry_eqn);
fenpincount[1] = DFFEAS(fenpincount[1]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L51 is fenpincount[1]~190
--operation mode is arithmetic
A1L51 = CARRY(!fenpincount[1] & (!A1L31));
--A1L16 is reduce_nor~47
--operation mode is normal
A1L16 = fenpincount[0] # fenpincount[1];
--fenpincount[4] is fenpincount[4]
--operation mode is arithmetic
fenpincount[4]_carry_eqn = A1L91;
fenpincount[4]_lut_out = fenpincount[4] $ (fenpincount[4]_carry_eqn);
fenpincount[4] = DFFEAS(fenpincount[4]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L12 is fenpincount[4]~194
--operation mode is arithmetic
A1L12 = CARRY(fenpincount[4] # !A1L91);
--fenpincount[5] is fenpincount[5]
--operation mode is arithmetic
fenpincount[5]_carry_eqn = A1L12;
fenpincount[5]_lut_out = fenpincount[5] $ (!fenpincount[5]_carry_eqn);
fenpincount[5] = DFFEAS(fenpincount[5]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L32 is fenpincount[5]~198
--operation mode is arithmetic
A1L32 = CARRY(!fenpincount[5] & (!A1L12));
--fenpincount[6] is fenpincount[6]
--operation mode is arithmetic
fenpincount[6]_carry_eqn = A1L32;
fenpincount[6]_lut_out = fenpincount[6] $ (fenpincount[6]_carry_eqn);
fenpincount[6] = DFFEAS(fenpincount[6]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L52 is fenpincount[6]~202
--operation mode is arithmetic
A1L52 = CARRY(fenpincount[6] # !A1L32);
--fenpincount[7] is fenpincount[7]
--operation mode is normal
fenpincount[7]_carry_eqn = A1L52;
fenpincount[7]_lut_out = fenpincount[7] $ (!fenpincount[7]_carry_eqn);
fenpincount[7] = DFFEAS(fenpincount[7]_lut_out, countclk, VCC, , A1L72, , , , );
--A1L26 is reduce_nor~48
--operation mode is normal
A1L26 = fenpincount[4] # fenpincount[5] # fenpincount[6] # fenpincount[7];
--A1L06 is reduce_nor~0
--operation mode is normal
A1L06 = fenpincount[2] # fenpincount[3] # A1L16 # A1L26;
--A1L56 is theout~0
--operation mode is normal
A1L56 = !A1L06 & !rs;
--mycounter[7] is mycounter[7]
--operation mode is normal
mycounter[7]_carry_eqn = A1L75;
mycounter[7]_lut_out = mycounter[7] $ (mycounter[7]_carry_eqn);
mycounter[7] = DFFEAS(mycounter[7]_lut_out, countclk, VCC, , , , , rs, );
--A1L03 is LessThan~112
--operation mode is arithmetic
A1L03 = CARRY(dat[6] & mycounter[6] & !A1L23 # !dat[6] & (mycounter[6] # !A1L23));
--A1L72 is fenpincount[7]~0
--operation mode is normal
A1L72 = A1L06 & (!rs);
--mycounter[6] is mycounter[6]
--operation mode is arithmetic
mycounter[6]_carry_eqn = A1L55;
mycounter[6]_lut_out = mycounter[6] $ (!mycounter[6]_carry_eqn);
mycounter[6] = DFFEAS(mycounter[6]_lut_out, countclk, VCC, , , , , rs, );
--A1L75 is mycounter[6]~94
--operation mode is arithmetic
A1L75 = CARRY(mycounter[6] & (!A1L55));
--A1L23 is LessThan~117
--operation mode is arithmetic
A1L23 = CARRY(dat[5] & (!A1L43 # !mycounter[5]) # !dat[5] & !mycounter[5] & !A1L43);
--mycounter[5] is mycounter[5]
--operation mode is arithmetic
mycounter[5]_carry_eqn = A1L35;
mycounter[5]_lut_out = mycounter[5] $ (mycounter[5]_carry_eqn);
mycounter[5] = DFFEAS(mycounter[5]_lut_out, countclk, VCC, , , , , rs, );
--A1L55 is mycounter[5]~98
--operation mode is arithmetic
A1L55 = CARRY(!A1L35 # !mycounter[5]);
--A1L43 is LessThan~122
--operation mode is arithmetic
A1L43 = CARRY(dat[4] & mycounter[4] & !A1L63 # !dat[4] & (mycounter[4] # !A1L63));
--mycounter[4] is mycounter[4]
--operation mode is arithmetic
mycounter[4]_carry_eqn = A1L15;
mycounter[4]_lut_out = mycounter[4] $ (!mycounter[4]_carry_eqn);
mycounter[4] = DFFEAS(mycounter[4]_lut_out, countclk, VCC, , , , , rs, );
--A1L35 is mycounter[4]~102
--operation mode is arithmetic
A1L35 = CARRY(mycounter[4] & (!A1L15));
--A1L63 is LessThan~127
--operation mode is arithmetic
A1L63 = CARRY(dat[3] & (!A1L83 # !mycounter[3]) # !dat[3] & !mycounter[3] & !A1L83);
--mycounter[3] is mycounter[3]
--operation mode is arithmetic
mycounter[3]_carry_eqn = A1L94;
mycounter[3]_lut_out = mycounter[3] $ (mycounter[3]_carry_eqn);
mycounter[3] = DFFEAS(mycounter[3]_lut_out, countclk, VCC, , , , , rs, );
--A1L15 is mycounter[3]~106
--operation mode is arithmetic
A1L15 = CARRY(!A1L94 # !mycounter[3]);
--A1L83 is LessThan~132
--operation mode is arithmetic
A1L83 = CARRY(dat[2] & mycounter[2] & !A1L04 # !dat[2] & (mycounter[2] # !A1L04));
--mycounter[2] is mycounter[2]
--operation mode is arithmetic
mycounter[2]_carry_eqn = A1L74;
mycounter[2]_lut_out = mycounter[2] $ (!mycounter[2]_carry_eqn);
mycounter[2] = DFFEAS(mycounter[2]_lut_out, countclk, VCC, , , , , rs, );
--A1L94 is mycounter[2]~110
--operation mode is arithmetic
A1L94 = CARRY(mycounter[2] & (!A1L74));
--A1L04 is LessThan~137
--operation mode is arithmetic
A1L04 = CARRY(dat[1] & (!A1L24 # !mycounter[1]) # !dat[1] & !mycounter[1] & !A1L24);
--mycounter[1] is mycounter[1]
--operation mode is arithmetic
mycounter[1]_carry_eqn = A1L54;
mycounter[1]_lut_out = mycounter[1] $ (mycounter[1]_carry_eqn);
mycounter[1] = DFFEAS(mycounter[1]_lut_out, countclk, VCC, , , , , rs, );
--A1L74 is mycounter[1]~114
--operation mode is arithmetic
A1L74 = CARRY(!A1L54 # !mycounter[1]);
--A1L24 is LessThan~142
--operation mode is arithmetic
A1L24 = CARRY(!dat[0] & mycounter[0]);
--mycounter[0] is mycounter[0]
--operation mode is arithmetic
mycounter[0]_lut_out = mycounter[0] $ !A1L06;
mycounter[0] = DFFEAS(mycounter[0]_lut_out, countclk, VCC, , , , , rs, );
--A1L54 is mycounter[0]~118
--operation mode is arithmetic
A1L54 = CARRY(mycounter[0] & !A1L06);
--countclk is countclk
--operation mode is input
countclk = INPUT();
--rs is rs
--operation mode is input
rs = INPUT();
--dat[7] is dat[7]
--operation mode is input
dat[7] = INPUT();
--dat[6] is dat[6]
--operation mode is input
dat[6] = INPUT();
--dat[5] is dat[5]
--operation mode is input
dat[5] = INPUT();
--dat[4] is dat[4]
--operation mode is input
dat[4] = INPUT();
--dat[3] is dat[3]
--operation mode is input
dat[3] = INPUT();
--dat[2] is dat[2]
--operation mode is input
dat[2] = INPUT();
--dat[1] is dat[1]
--operation mode is input
dat[1] = INPUT();
--dat[0] is dat[0]
--operation mode is input
dat[0] = INPUT();
--pwmout is pwmout
--operation mode is output
pwmout = OUTPUT(theout);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -