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

📄 uart.fit.eqn

📁 一个完整的用cpld实现串口功能的代码。经过验证
💻 EQN
📖 第 1 页 / 共 4 页
字号:
A1L842 = !cnt_delay[7] & !cnt_delay[9] & !cnt_delay[11]_qfbk & !cnt_delay[6];

--cnt_delay[11] is cnt_delay[11] at LC_X15_Y3_N1
--operation mode is normal

cnt_delay[11] = DFFEAS(A1L842, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L96, , , VCC);


--cnt_delay[4] is cnt_delay[4] at LC_X14_Y1_N0
--operation mode is normal

cnt_delay[4]_lut_out = GND;
cnt_delay[4] = DFFEAS(cnt_delay[4]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L38, , , VCC);


--cnt_delay[3] is cnt_delay[3] at LC_X14_Y1_N3
--operation mode is normal

cnt_delay[3]_lut_out = GND;
cnt_delay[3] = DFFEAS(cnt_delay[3]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L58, , , VCC);


--cnt_delay[2] is cnt_delay[2] at LC_X14_Y1_N8
--operation mode is normal

cnt_delay[2]_lut_out = GND;
cnt_delay[2] = DFFEAS(cnt_delay[2]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L88, , , VCC);


--A1L942 is start_delaycnt~222 at LC_X14_Y1_N1
--operation mode is normal

cnt_delay[5]_qfbk = cnt_delay[5];
A1L942 = !cnt_delay[2] & !cnt_delay[4] & !cnt_delay[5]_qfbk & !cnt_delay[3];

--cnt_delay[5] is cnt_delay[5] at LC_X14_Y1_N1
--operation mode is normal

cnt_delay[5] = DFFEAS(A1L942, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L08, , , VCC);


--cnt_delay[0] is cnt_delay[0] at LC_X15_Y3_N6
--operation mode is normal

cnt_delay[0]_lut_out = A1L471 & A1L49;
cnt_delay[0] = DFFEAS(cnt_delay[0]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, , , , );


--A1L052 is start_delaycnt~223 at LC_X15_Y3_N9
--operation mode is normal

cnt_delay[1]_qfbk = cnt_delay[1];
A1L052 = !cnt_delay[1]_qfbk & !cnt_delay[0];

--cnt_delay[1] is cnt_delay[1] at LC_X15_Y3_N9
--operation mode is normal

cnt_delay[1] = DFFEAS(A1L052, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, A1L19, , , VCC);


--A1L152 is start_delaycnt~224 at LC_X15_Y3_N2
--operation mode is normal

A1L152 = A1L742 & A1L052 & A1L942 & A1L842;


--cnt_delay[8] is cnt_delay[8] at LC_X14_Y3_N3
--operation mode is normal

cnt_delay[8]_lut_out = A1L471 & (A1L79);
cnt_delay[8] = DFFEAS(cnt_delay[8]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, , , , );


--cnt_delay[19] is cnt_delay[19] at LC_X16_Y2_N4
--operation mode is normal

cnt_delay[19]_lut_out = A1L001 & A1L471;
cnt_delay[19] = DFFEAS(cnt_delay[19]_lut_out, GLOBAL(clk), GLOBAL(rst), , start_delaycnt, , , , );


--A1L471 is reduce_nor~1 at LC_X15_Y3_N7
--operation mode is normal

A1L471 = A1L281 # !A1L152 # !cnt_delay[19] # !cnt_delay[8];


--A1L3 is add~900 at LC_X10_Y4_N7
--operation mode is normal

A1L3_carry_eqn = (!A1L11 & A1L5) # (A1L11 & A1L6);
A1L3 = A1L3_carry_eqn $ div_reg[15];


--A1L4 is add~905 at LC_X10_Y4_N6
--operation mode is arithmetic

A1L4_carry_eqn = (!A1L11 & A1L8) # (A1L11 & A1L9);
A1L4 = div_reg[14] $ (!A1L4_carry_eqn);

--A1L5 is add~907 at LC_X10_Y4_N6
--operation mode is arithmetic

A1L5_cout_0 = div_reg[14] & (!A1L8);
A1L5 = CARRY(A1L5_cout_0);

--A1L6 is add~907COUT1_1132 at LC_X10_Y4_N6
--operation mode is arithmetic

A1L6_cout_1 = div_reg[14] & (!A1L9);
A1L6 = CARRY(A1L6_cout_1);


--A1L7 is add~910 at LC_X10_Y4_N5
--operation mode is arithmetic

A1L7_carry_eqn = A1L11;
A1L7 = div_reg[13] $ A1L7_carry_eqn;

--A1L8 is add~912 at LC_X10_Y4_N5
--operation mode is arithmetic

A1L8_cout_0 = !A1L11 # !div_reg[13];
A1L8 = CARRY(A1L8_cout_0);

--A1L9 is add~912COUT1_1130 at LC_X10_Y4_N5
--operation mode is arithmetic

A1L9_cout_1 = !A1L11 # !div_reg[13];
A1L9 = CARRY(A1L9_cout_1);


--A1L01 is add~915 at LC_X10_Y4_N4
--operation mode is arithmetic

A1L01_carry_eqn = (!A1L52 & A1L31) # (A1L52 & A1L41);
A1L01 = div_reg[12] $ !A1L01_carry_eqn;

--A1L11 is add~917 at LC_X10_Y4_N4
--operation mode is arithmetic

A1L11 = CARRY(div_reg[12] & !A1L41);


--A1L21 is add~920 at LC_X10_Y4_N3
--operation mode is arithmetic

A1L21_carry_eqn = (!A1L52 & A1L61) # (A1L52 & A1L71);
A1L21 = div_reg[11] $ (A1L21_carry_eqn);

--A1L31 is add~922 at LC_X10_Y4_N3
--operation mode is arithmetic

A1L31_cout_0 = !A1L61 # !div_reg[11];
A1L31 = CARRY(A1L31_cout_0);

--A1L41 is add~922COUT1_1128 at LC_X10_Y4_N3
--operation mode is arithmetic

A1L41_cout_1 = !A1L71 # !div_reg[11];
A1L41 = CARRY(A1L41_cout_1);


--A1L51 is add~925 at LC_X10_Y4_N2
--operation mode is arithmetic

A1L51_carry_eqn = (!A1L52 & A1L91) # (A1L52 & A1L02);
A1L51 = div_reg[10] $ (!A1L51_carry_eqn);

--A1L61 is add~927 at LC_X10_Y4_N2
--operation mode is arithmetic

A1L61_cout_0 = div_reg[10] & (!A1L91);
A1L61 = CARRY(A1L61_cout_0);

--A1L71 is add~927COUT1_1126 at LC_X10_Y4_N2
--operation mode is arithmetic

A1L71_cout_1 = div_reg[10] & (!A1L02);
A1L71 = CARRY(A1L71_cout_1);


--A1L81 is add~930 at LC_X10_Y4_N1
--operation mode is arithmetic

A1L81_carry_eqn = (!A1L52 & A1L22) # (A1L52 & A1L32);
A1L81 = div_reg[9] $ (A1L81_carry_eqn);

--A1L91 is add~932 at LC_X10_Y4_N1
--operation mode is arithmetic

A1L91_cout_0 = !A1L22 # !div_reg[9];
A1L91 = CARRY(A1L91_cout_0);

--A1L02 is add~932COUT1_1124 at LC_X10_Y4_N1
--operation mode is arithmetic

A1L02_cout_1 = !A1L32 # !div_reg[9];
A1L02 = CARRY(A1L02_cout_1);


--A1L12 is add~935 at LC_X10_Y4_N0
--operation mode is arithmetic

A1L12_carry_eqn = A1L52;
A1L12 = div_reg[8] $ !A1L12_carry_eqn;

--A1L22 is add~937 at LC_X10_Y4_N0
--operation mode is arithmetic

A1L22_cout_0 = div_reg[8] & !A1L52;
A1L22 = CARRY(A1L22_cout_0);

--A1L32 is add~937COUT1_1122 at LC_X10_Y4_N0
--operation mode is arithmetic

A1L32_cout_1 = div_reg[8] & !A1L52;
A1L32 = CARRY(A1L32_cout_1);


--A1L42 is add~940 at LC_X9_Y4_N9
--operation mode is arithmetic

A1L42_carry_eqn = (!A1L93 & A1L72) # (A1L93 & A1L82);
A1L42 = div_reg[7] $ (A1L42_carry_eqn);

--A1L52 is add~942 at LC_X9_Y4_N9
--operation mode is arithmetic

A1L52 = CARRY(!A1L82 # !div_reg[7]);


--A1L62 is add~945 at LC_X9_Y4_N8
--operation mode is arithmetic

A1L62_carry_eqn = (!A1L93 & A1L03) # (A1L93 & A1L13);
A1L62 = div_reg[6] $ !A1L62_carry_eqn;

--A1L72 is add~947 at LC_X9_Y4_N8
--operation mode is arithmetic

A1L72_cout_0 = div_reg[6] & !A1L03;
A1L72 = CARRY(A1L72_cout_0);

--A1L82 is add~947COUT1_1120 at LC_X9_Y4_N8
--operation mode is arithmetic

A1L82_cout_1 = div_reg[6] & !A1L13;
A1L82 = CARRY(A1L82_cout_1);


--A1L92 is add~950 at LC_X9_Y4_N7
--operation mode is arithmetic

A1L92_carry_eqn = (!A1L93 & A1L33) # (A1L93 & A1L43);
A1L92 = div_reg[5] $ A1L92_carry_eqn;

--A1L03 is add~952 at LC_X9_Y4_N7
--operation mode is arithmetic

A1L03_cout_0 = !A1L33 # !div_reg[5];
A1L03 = CARRY(A1L03_cout_0);

--A1L13 is add~952COUT1_1118 at LC_X9_Y4_N7
--operation mode is arithmetic

A1L13_cout_1 = !A1L43 # !div_reg[5];
A1L13 = CARRY(A1L13_cout_1);


--A1L23 is add~955 at LC_X9_Y4_N6
--operation mode is arithmetic

A1L23_carry_eqn = (!A1L93 & A1L63) # (A1L93 & A1L73);
A1L23 = div_reg[4] $ !A1L23_carry_eqn;

--A1L33 is add~957 at LC_X9_Y4_N6
--operation mode is arithmetic

A1L33_cout_0 = div_reg[4] & !A1L63;
A1L33 = CARRY(A1L33_cout_0);

--A1L43 is add~957COUT1_1116 at LC_X9_Y4_N6
--operation mode is arithmetic

A1L43_cout_1 = div_reg[4] & !A1L73;
A1L43 = CARRY(A1L43_cout_1);


--A1L53 is add~960 at LC_X9_Y4_N5
--operation mode is arithmetic

A1L53_carry_eqn = A1L93;
A1L53 = div_reg[3] $ (A1L53_carry_eqn);

--A1L63 is add~962 at LC_X9_Y4_N5
--operation mode is arithmetic

A1L63_cout_0 = !A1L93 # !div_reg[3];
A1L63 = CARRY(A1L63_cout_0);

--A1L73 is add~962COUT1_1114 at LC_X9_Y4_N5
--operation mode is arithmetic

A1L73_cout_1 = !A1L93 # !div_reg[3];
A1L73 = CARRY(A1L73_cout_1);


--A1L83 is add~965 at LC_X9_Y4_N4
--operation mode is arithmetic

A1L83 = div_reg[2] $ (!A1L14);

--A1L93 is add~967 at LC_X9_Y4_N4
--operation mode is arithmetic

A1L93 = CARRY(div_reg[2] & (!A1L24));


--A1L04 is add~970 at LC_X9_Y4_N3
--operation mode is arithmetic

A1L04 = div_reg[1] $ A1L44;

--A1L14 is add~972 at LC_X9_Y4_N3
--operation mode is arithmetic

A1L14_cout_0 = !A1L44 # !div_reg[1];
A1L14 = CARRY(A1L14_cout_0);

--A1L24 is add~972COUT1_1112 at LC_X9_Y4_N3
--operation mode is arithmetic

A1L24_cout_1 = !A1L54 # !div_reg[1];
A1L24 = CARRY(A1L24_cout_1);


--A1L34 is add~975 at LC_X9_Y4_N2
--operation mode is arithmetic

A1L34 = !div_reg[0];

--A1L44 is add~977 at LC_X9_Y4_N2
--operation mode is arithmetic

A1L44_cout_0 = div_reg[0];
A1L44 = CARRY(A1L44_cout_0);

--A1L54 is add~977COUT1_1110 at LC_X9_Y4_N2
--operation mode is arithmetic

A1L54_cout_1 = div_reg[0];
A1L54 = CARRY(A1L54_cout_1);


--A1L271 is recstart~108 at LC_X11_Y6_N7
--operation mode is normal

A1L271 = !state_rec[2] & !state_rec[1] & state_rec[3] & state_rec[0];


--A1L371 is recstart~109 at LC_X11_Y6_N8
--operation mode is normal

A1L371 = recstart_tmp & (A1L571 # A1L522 & A1L271) # !recstart_tmp & A1L522 & (A1L271);


--A1L682 is txd_buf~1749 at LC_X12_Y5_N4
--operation mode is normal

A1L682 = A1L342 & (send_state[0] & !send_state[2] # !send_state[1]);


--txd_buf[3] is txd_buf[3] at LC_X13_Y5_N9
--operation mode is normal

txd_buf[3]_lut_out = state_tras[1] & (A1L982) # !state_tras[1] & txd_buf[4] & A1L272;
txd_buf[3] = DFFEAS(txd_buf[3]_lut_out, GLOBAL(clkbaud8x), GLOBAL(rst), , A1L472, , , !key_entry2, );


--A1L782 is txd_buf~1750 at LC_X13_Y5_N6
--operation mode is normal

A1L782 = A1L682 # !state_tras[1] & (txd_buf[3] # !A1L272);


--A1L64 is add~980 at LC_X15_Y2_N8
--operation mode is arithmetic

A1L64_carry_eqn = (!A1L86 & A1L95) # (A1L86 & A1L06);
A1L64 = cnt_delay[18] $ (!A1L64_carry_eqn);

--A1L74 is add~982 at LC_X15_Y2_N8
--operation mode is arithmetic

A1L74_cout_0 = cnt_delay[18] & (!A1L95);
A1L74 = CARRY(A1L74_cout_0);

--A1L84 is add~982COUT1_1164 at LC_X15_Y2_N8
--operation mode is arithmetic

A1L84_cout_1 = cnt_delay[18] & (!A1L06);
A1L84 = CARRY(A1L84_cout_1);


--start_delaycnt is start_delaycnt at LC_X16_Y2_N5
--operation mode is normal

start_delaycnt_lut_out = start_delaycnt & (A1L471) # !start_delaycnt & A1L152 & (!A1L352);
start_delaycnt = DFFEAS(start_delaycnt_lut_out, GLOBAL(clk), GLOBAL(rst), , , , , , );


--A1L94 is add~985 at LC_X15_Y2_N3
--operation mode is arithmetic

A1L94_carry_eqn = (!A1L37 & A1L35) # (A1L37 & A1L45);
A1L94 = cnt_delay[13] $ A1L94_carry_eqn;

--A1L05 is add~987 at LC_X15_Y2_N3
--operation mode is arithmetic

A1L05_cout_0 = !A1L35 # !cnt_delay[13];
A1L05 = CARRY(A1L05_cout_0);

--A1L15 is add~987COUT1_1156 at LC_X15_Y2_N3
--operation mode is arithmetic

A1L15_cout_1 = !A1L45 # !cnt_delay[13];
A1L15 = CARRY(A1L15_cout_1);


--A1L25 is add~990 at LC_X15_Y2_N2
--operation mode is arithmetic

A1L25_carry_eqn = (!A1L37 & A1L07) # (A1L37 & A1L17);
A1L25 = cnt_delay[12] $ !A1L25_carry_eqn;

--A1L35 is add~992 at LC_X15_Y2_N2
--operation mode is arithmetic

A1L35_cout_0 = cnt_delay[12] & !A1L07;
A1L35 = CARRY(A1L35_cout_0);

--A1L45 is add~992COUT1_1154 at LC_X15_Y2_N2
--operation mode is arithmetic

A1L45_cout_1 = cnt_delay[12] & !A1L17;
A1L45 = CARRY(A1L45_cout_1);


--A1L55 is add~995 at LC_X15_Y2_N0
--operation mode is arithmetic

A1L55_carry_eqn = A1L37;
A1L55 = cnt_delay[10] $ !A1L55_carry_eqn;

--A1L65 is add~997 at LC_X15_Y2_N0

⌨️ 快捷键说明

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