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

📄 lcnt8.map.eqn

📁 这个是用VHDL实现的正负脉宽调制器
💻 EQN
字号:
-- Copyright (C) 1991-2006 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.
--inst6 is inst6
--operation mode is normal

inst6_lut_out = VCC;
inst6 = DFFEAS(inst6_lut_out, B2L3, !B1L3, , , , , , );


--B2_count[2] is lcnt:inst1|count[2]
--operation mode is arithmetic

B2_count[2]_carry_eqn = B2L8;
B2_count[2]_lut_out = B2_count[2] $ (!B2_count[2]_carry_eqn);
B2_count[2] = DFFEAS(B2_count[2]_lut_out, clk, VCC, , , b[2], , , inst6);

--B2L10 is lcnt:inst1|count[2]~113
--operation mode is arithmetic

B2L10 = CARRY(B2_count[2] & (!B2L8));


--B2_count[3] is lcnt:inst1|count[3]
--operation mode is arithmetic

B2_count[3]_carry_eqn = B2L10;
B2_count[3]_lut_out = B2_count[3] $ (B2_count[3]_carry_eqn);
B2_count[3] = DFFEAS(B2_count[3]_lut_out, clk, VCC, , , b[3], , , inst6);

--B2L12 is lcnt:inst1|count[3]~117
--operation mode is arithmetic

B2L12 = CARRY(!B2L10 # !B2_count[3]);


--B2_count[0] is lcnt:inst1|count[0]
--operation mode is arithmetic

B2_count[0]_lut_out = !B2_count[0];
B2_count[0] = DFFEAS(B2_count[0]_lut_out, clk, VCC, , , b[0], , , inst6);

--B2L6 is lcnt:inst1|count[0]~121
--operation mode is arithmetic

B2L6 = CARRY(B2_count[0]);


--B2_count[1] is lcnt:inst1|count[1]
--operation mode is arithmetic

B2_count[1]_carry_eqn = B2L6;
B2_count[1]_lut_out = B2_count[1] $ (B2_count[1]_carry_eqn);
B2_count[1] = DFFEAS(B2_count[1]_lut_out, clk, VCC, , , b[1], , , inst6);

--B2L8 is lcnt:inst1|count[1]~125
--operation mode is arithmetic

B2L8 = CARRY(!B2L6 # !B2_count[1]);


--B2L1 is lcnt:inst1|cao~64
--operation mode is normal

B2L1 = B2_count[0] & B2_count[1];


--B2_count[4] is lcnt:inst1|count[4]
--operation mode is arithmetic

B2_count[4]_carry_eqn = B2L12;
B2_count[4]_lut_out = B2_count[4] $ (!B2_count[4]_carry_eqn);
B2_count[4] = DFFEAS(B2_count[4]_lut_out, clk, VCC, , , b[4], , , inst6);

--B2L14 is lcnt:inst1|count[4]~129
--operation mode is arithmetic

B2L14 = CARRY(B2_count[4] & (!B2L12));


--B2_count[5] is lcnt:inst1|count[5]
--operation mode is arithmetic

B2_count[5]_carry_eqn = B2L14;
B2_count[5]_lut_out = B2_count[5] $ (B2_count[5]_carry_eqn);
B2_count[5] = DFFEAS(B2_count[5]_lut_out, clk, VCC, , , b[5], , , inst6);

--B2L16 is lcnt:inst1|count[5]~133
--operation mode is arithmetic

B2L16 = CARRY(!B2L14 # !B2_count[5]);


--B2_count[6] is lcnt:inst1|count[6]
--operation mode is arithmetic

B2_count[6]_carry_eqn = B2L16;
B2_count[6]_lut_out = B2_count[6] $ (!B2_count[6]_carry_eqn);
B2_count[6] = DFFEAS(B2_count[6]_lut_out, clk, VCC, , , b[6], , , inst6);

--B2L18 is lcnt:inst1|count[6]~137
--operation mode is arithmetic

B2L18 = CARRY(B2_count[6] & (!B2L16));


--B2_count[7] is lcnt:inst1|count[7]
--operation mode is normal

B2_count[7]_carry_eqn = B2L18;
B2_count[7]_lut_out = B2_count[7] $ (B2_count[7]_carry_eqn);
B2_count[7] = DFFEAS(B2_count[7]_lut_out, clk, VCC, , , b[7], , , inst6);


--B2L2 is lcnt:inst1|cao~65
--operation mode is normal

B2L2 = B2_count[4] & B2_count[5] & B2_count[6] & B2_count[7];


--B2L3 is lcnt:inst1|cao~66
--operation mode is normal

B2L3 = B2_count[2] & B2_count[3] & B2L1 & B2L2;


--B1_count[2] is lcnt:inst|count[2]
--operation mode is arithmetic

B1_count[2]_carry_eqn = B1L8;
B1_count[2]_lut_out = B1_count[2] $ (!B1_count[2]_carry_eqn);
B1_count[2] = DFFEAS(B1_count[2]_lut_out, clk, VCC, , , a[2], , , !inst6);

--B1L10 is lcnt:inst|count[2]~113
--operation mode is arithmetic

B1L10 = CARRY(B1_count[2] & (!B1L8));


--B1_count[3] is lcnt:inst|count[3]
--operation mode is arithmetic

B1_count[3]_carry_eqn = B1L10;
B1_count[3]_lut_out = B1_count[3] $ (B1_count[3]_carry_eqn);
B1_count[3] = DFFEAS(B1_count[3]_lut_out, clk, VCC, , , a[3], , , !inst6);

--B1L12 is lcnt:inst|count[3]~117
--operation mode is arithmetic

B1L12 = CARRY(!B1L10 # !B1_count[3]);


--B1_count[0] is lcnt:inst|count[0]
--operation mode is arithmetic

B1_count[0]_lut_out = !B1_count[0];
B1_count[0] = DFFEAS(B1_count[0]_lut_out, clk, VCC, , , a[0], , , !inst6);

--B1L6 is lcnt:inst|count[0]~121
--operation mode is arithmetic

B1L6 = CARRY(B1_count[0]);


--B1_count[1] is lcnt:inst|count[1]
--operation mode is arithmetic

B1_count[1]_carry_eqn = B1L6;
B1_count[1]_lut_out = B1_count[1] $ (B1_count[1]_carry_eqn);
B1_count[1] = DFFEAS(B1_count[1]_lut_out, clk, VCC, , , a[1], , , !inst6);

--B1L8 is lcnt:inst|count[1]~125
--operation mode is arithmetic

B1L8 = CARRY(!B1L6 # !B1_count[1]);


--B1L1 is lcnt:inst|cao~64
--operation mode is normal

B1L1 = B1_count[0] & B1_count[1];


--B1_count[4] is lcnt:inst|count[4]
--operation mode is arithmetic

B1_count[4]_carry_eqn = B1L12;
B1_count[4]_lut_out = B1_count[4] $ (!B1_count[4]_carry_eqn);
B1_count[4] = DFFEAS(B1_count[4]_lut_out, clk, VCC, , , a[4], , , !inst6);

--B1L14 is lcnt:inst|count[4]~129
--operation mode is arithmetic

B1L14 = CARRY(B1_count[4] & (!B1L12));


--B1_count[5] is lcnt:inst|count[5]
--operation mode is arithmetic

B1_count[5]_carry_eqn = B1L14;
B1_count[5]_lut_out = B1_count[5] $ (B1_count[5]_carry_eqn);
B1_count[5] = DFFEAS(B1_count[5]_lut_out, clk, VCC, , , a[5], , , !inst6);

--B1L16 is lcnt:inst|count[5]~133
--operation mode is arithmetic

B1L16 = CARRY(!B1L14 # !B1_count[5]);


--B1_count[6] is lcnt:inst|count[6]
--operation mode is arithmetic

B1_count[6]_carry_eqn = B1L16;
B1_count[6]_lut_out = B1_count[6] $ (!B1_count[6]_carry_eqn);
B1_count[6] = DFFEAS(B1_count[6]_lut_out, clk, VCC, , , a[6], , , !inst6);

--B1L18 is lcnt:inst|count[6]~137
--operation mode is arithmetic

B1L18 = CARRY(B1_count[6] & (!B1L16));


--B1_count[7] is lcnt:inst|count[7]
--operation mode is normal

B1_count[7]_carry_eqn = B1L18;
B1_count[7]_lut_out = B1_count[7] $ (B1_count[7]_carry_eqn);
B1_count[7] = DFFEAS(B1_count[7]_lut_out, clk, VCC, , , a[7], , , !inst6);


--B1L2 is lcnt:inst|cao~65
--operation mode is normal

B1L2 = B1_count[4] & B1_count[5] & B1_count[6] & B1_count[7];


--B1L3 is lcnt:inst|cao~66
--operation mode is normal

B1L3 = B1_count[2] & B1_count[3] & B1L1 & B1L2;


--clk is clk
--operation mode is input

clk = INPUT();


--b[2] is b[2]
--operation mode is input

b[2] = INPUT();


--b[3] is b[3]
--operation mode is input

b[3] = INPUT();


--b[0] is b[0]
--operation mode is input

b[0] = INPUT();


--b[1] is b[1]
--operation mode is input

b[1] = INPUT();


--b[4] is b[4]
--operation mode is input

b[4] = INPUT();


--b[5] is b[5]
--operation mode is input

b[5] = INPUT();


--b[6] is b[6]
--operation mode is input

b[6] = INPUT();


--b[7] is b[7]
--operation mode is input

b[7] = INPUT();


--a[2] is a[2]
--operation mode is input

a[2] = INPUT();


--a[3] is a[3]
--operation mode is input

a[3] = INPUT();


--a[0] is a[0]
--operation mode is input

a[0] = INPUT();


--a[1] is a[1]
--operation mode is input

a[1] = INPUT();


--a[4] is a[4]
--operation mode is input

a[4] = INPUT();


--a[5] is a[5]
--operation mode is input

a[5] = INPUT();


--a[6] is a[6]
--operation mode is input

a[6] = INPUT();


--a[7] is a[7]
--operation mode is input

a[7] = INPUT();


--psout is psout
--operation mode is output

psout = OUTPUT(inst6);


⌨️ 快捷键说明

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