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

📄 serial.map.eqn

📁 串口通讯 verilog CPLD EPM1270 源代码
💻 EQN
📖 第 1 页 / 共 3 页
字号:
--operation mode is normal

cnt_delay[19]_carry_eqn = A1L36;
cnt_delay[19]_lut_out = cnt_delay[19] $ (cnt_delay[19]_carry_eqn);
cnt_delay[19] = DFFEAS(cnt_delay[19]_lut_out, clk, VCC, , A1L15, , , A1L05, );


--cnt_delay[0] is cnt_delay[0]
--operation mode is arithmetic

cnt_delay[0]_lut_out = !cnt_delay[0];
cnt_delay[0] = DFFEAS(cnt_delay[0]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L52 is cnt_delay[0]~629
--operation mode is arithmetic

A1L52 = CARRY(cnt_delay[0]);


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

cnt_delay[1]_carry_eqn = A1L52;
cnt_delay[1]_lut_out = cnt_delay[1] $ (cnt_delay[1]_carry_eqn);
cnt_delay[1] = DFFEAS(cnt_delay[1]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L72 is cnt_delay[1]~633
--operation mode is arithmetic

A1L72 = CARRY(!A1L52 # !cnt_delay[1]);


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

cnt_delay[2]_carry_eqn = A1L72;
cnt_delay[2]_lut_out = cnt_delay[2] $ (!cnt_delay[2]_carry_eqn);
cnt_delay[2] = DFFEAS(cnt_delay[2]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L92 is cnt_delay[2]~637
--operation mode is arithmetic

A1L92 = CARRY(cnt_delay[2] & (!A1L72));


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

cnt_delay[3]_carry_eqn = A1L92;
cnt_delay[3]_lut_out = cnt_delay[3] $ (cnt_delay[3]_carry_eqn);
cnt_delay[3] = DFFEAS(cnt_delay[3]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L13 is cnt_delay[3]~641
--operation mode is arithmetic

A1L13 = CARRY(!A1L92 # !cnt_delay[3]);


--A1L831 is reduce_nor~325
--operation mode is normal

A1L831 = !cnt_delay[0] & !cnt_delay[1] & !cnt_delay[2] & !cnt_delay[3];


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

cnt_delay[4]_carry_eqn = A1L13;
cnt_delay[4]_lut_out = cnt_delay[4] $ (!cnt_delay[4]_carry_eqn);
cnt_delay[4] = DFFEAS(cnt_delay[4]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L33 is cnt_delay[4]~645
--operation mode is arithmetic

A1L33 = CARRY(cnt_delay[4] & (!A1L13));


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

cnt_delay[5]_carry_eqn = A1L33;
cnt_delay[5]_lut_out = cnt_delay[5] $ (cnt_delay[5]_carry_eqn);
cnt_delay[5] = DFFEAS(cnt_delay[5]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L53 is cnt_delay[5]~649
--operation mode is arithmetic

A1L53 = CARRY(!A1L33 # !cnt_delay[5]);


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

cnt_delay[6]_carry_eqn = A1L53;
cnt_delay[6]_lut_out = cnt_delay[6] $ (!cnt_delay[6]_carry_eqn);
cnt_delay[6] = DFFEAS(cnt_delay[6]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L73 is cnt_delay[6]~653
--operation mode is arithmetic

A1L73 = CARRY(cnt_delay[6] & (!A1L53));


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

cnt_delay[7]_carry_eqn = A1L73;
cnt_delay[7]_lut_out = cnt_delay[7] $ (cnt_delay[7]_carry_eqn);
cnt_delay[7] = DFFEAS(cnt_delay[7]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L93 is cnt_delay[7]~657
--operation mode is arithmetic

A1L93 = CARRY(!A1L73 # !cnt_delay[7]);


--A1L931 is reduce_nor~326
--operation mode is normal

A1L931 = !cnt_delay[4] & !cnt_delay[5] & !cnt_delay[6] & !cnt_delay[7];


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

cnt_delay[9]_carry_eqn = A1L14;
cnt_delay[9]_lut_out = cnt_delay[9] $ (cnt_delay[9]_carry_eqn);
cnt_delay[9] = DFFEAS(cnt_delay[9]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L34 is cnt_delay[9]~661
--operation mode is arithmetic

A1L34 = CARRY(!A1L14 # !cnt_delay[9]);


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

cnt_delay[11]_carry_eqn = A1L54;
cnt_delay[11]_lut_out = cnt_delay[11] $ (cnt_delay[11]_carry_eqn);
cnt_delay[11] = DFFEAS(cnt_delay[11]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L74 is cnt_delay[11]~665
--operation mode is arithmetic

A1L74 = CARRY(!A1L54 # !cnt_delay[11]);


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

cnt_delay[14]_carry_eqn = A1L35;
cnt_delay[14]_lut_out = cnt_delay[14] $ (!cnt_delay[14]_carry_eqn);
cnt_delay[14] = DFFEAS(cnt_delay[14]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L55 is cnt_delay[14]~669
--operation mode is arithmetic

A1L55 = CARRY(cnt_delay[14] & (!A1L35));


--cnt_delay[15] is cnt_delay[15]
--operation mode is arithmetic

cnt_delay[15]_carry_eqn = A1L55;
cnt_delay[15]_lut_out = cnt_delay[15] $ (cnt_delay[15]_carry_eqn);
cnt_delay[15] = DFFEAS(cnt_delay[15]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L75 is cnt_delay[15]~673
--operation mode is arithmetic

A1L75 = CARRY(!A1L55 # !cnt_delay[15]);


--A1L041 is reduce_nor~327
--operation mode is normal

A1L041 = !cnt_delay[9] & !cnt_delay[11] & !cnt_delay[14] & !cnt_delay[15];


--cnt_delay[16] is cnt_delay[16]
--operation mode is arithmetic

cnt_delay[16]_carry_eqn = A1L75;
cnt_delay[16]_lut_out = cnt_delay[16] $ (!cnt_delay[16]_carry_eqn);
cnt_delay[16] = DFFEAS(cnt_delay[16]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L95 is cnt_delay[16]~677
--operation mode is arithmetic

A1L95 = CARRY(cnt_delay[16] & (!A1L75));


--cnt_delay[17] is cnt_delay[17]
--operation mode is arithmetic

cnt_delay[17]_carry_eqn = A1L95;
cnt_delay[17]_lut_out = cnt_delay[17] $ (cnt_delay[17]_carry_eqn);
cnt_delay[17] = DFFEAS(cnt_delay[17]_lut_out, clk, VCC, , A1L15, , , A1L05, );

--A1L16 is cnt_delay[17]~681
--operation mode is arithmetic

A1L16 = CARRY(!A1L95 # !cnt_delay[17]);


--A1L141 is reduce_nor~328
--operation mode is normal

A1L141 = !cnt_delay[16] & !cnt_delay[17];


--A1L241 is reduce_nor~329
--operation mode is normal

A1L241 = A1L831 & A1L931 & A1L041 & A1L141;


--A1L921 is reduce_nor~1
--operation mode is normal

A1L921 = A1L731 # !A1L241 # !cnt_delay[19] # !cnt_delay[18];


--A1L29 is div_reg[6]~405
--operation mode is normal

A1L29 = !A1L631 # !rst;


--A1L721 is recstart~108
--operation mode is normal

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


--A1L821 is recstart~109
--operation mode is normal

A1L821 = A1L031 & (recstart_tmp # A1L881 & A1L721) # !A1L031 & A1L881 & A1L721;


--A1L242 is txd_buf~1760
--operation mode is normal

A1L242 = A1L602 & (send_state[0] & !send_state[2] # !send_state[1]);


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

txd_buf[3]_lut_out = state_tras[1] & (A1L542) # !state_tras[1] & A1L132 & txd_buf[4];
txd_buf[3] = DFFEAS(txd_buf[3]_lut_out, clkbaud8x, rst, , A1L332, , , !key_entry2, );


--A1L342 is txd_buf~1761
--operation mode is normal

A1L342 = A1L242 # !state_tras[1] & (txd_buf[3] # !A1L132);


--A1L05 is cnt_delay[12]~684
--operation mode is normal

A1L05 = !A1L921 # !rst;


--start_delaycnt is start_delaycnt
--operation mode is normal

start_delaycnt_lut_out = start_delaycnt & (A1L921) # !start_delaycnt & !A1L81;
start_delaycnt = DFFEAS(start_delaycnt_lut_out, clk, VCC, , , , , !rst, );


--A1L15 is cnt_delay[12]~685
--operation mode is normal

A1L15 = start_delaycnt # !rst;


--txd_buf[4] is txd_buf[4]
--operation mode is normal

txd_buf[4]_lut_out = A1L052 & (A1L842) # !A1L052 & (A1L152 & txd_buf[5] # !A1L152 & (A1L842));
txd_buf[4] = DFFEAS(txd_buf[4]_lut_out, clkbaud8x, rst, , , , , , );


--A1L442 is txd_buf~1763
--operation mode is normal

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


--A1L542 is txd_buf~1764
--operation mode is normal

A1L542 = state_tras[3] & A1L442 # !state_tras[3] & (txd_buf[4]);


--A1L91 is always0~43
--operation mode is normal

A1L91 = cnt_delay[8] # cnt_delay[10] # cnt_delay[12] # key_input;


--A1L02 is always0~44
--operation mode is normal

A1L02 = cnt_delay[18] # cnt_delay[19];


--A1L81 is always0~0
--operation mode is normal

A1L81 = cnt_delay[13] # A1L91 # A1L02 # !A1L241;


--txd_buf[5] is txd_buf[5]
--operation mode is normal

txd_buf[5]_lut_out = A1L832 & (txd_buf[6]) # !A1L832 & A1L942;
txd_buf[5] = DFFEAS(txd_buf[5]_lut_out, clkbaud8x, rst, , A1L332, VCC, , , !key_entry2);


--A1L642 is txd_buf~1765
--operation mode is normal

A1L642 = txd_buf[4] & state_tras[2] & state_tras[1] # !txd_buf[4] & (state_tras[2] # state_tras[1]);


--A1L742 is txd_buf~1766
--operation mode is normal

A1L742 = key_entry2 & A1L131 & (A1L642) # !key_entry2 & (key_entry1);


--A1L842 is txd_buf~1767
--operation mode is normal

A1L842 = A1L152 & (state_tras[0] & (!A1L742) # !state_tras[0] & txd_buf[4]) # !A1L152 & (txd_buf[4] # A1L742);


--A1L942 is txd_buf~1769
--operation mode is normal

A1L942 = state_tras[1] & (!send_state[1] # !send_state[2]);


--txd_buf[6] is txd_buf[6]
--operation mode is normal

txd_buf[6]_lut_out = !A1L832 & (!state_tras[1] # !A1L452);
txd_buf[6] = DFFEAS(txd_buf[6]_lut_out, clkbaud8x, rst, , A1L332, VCC, , , !key_entry2);


--A1L452 is txd_reg~122
--operation mode is normal

A1L452 = send_state[2] & send_state[1];


--A1L41 is Select~3011
--operation mode is normal

A1L41 = !state_tras[2] & !state_tras[1] & !A1L1 & !state_tras[3];


--A1L052 is txd_buf~1770
--operation mode is normal

A1L052 = state_tras[3] $ (!state_tras[2] & !state_tras[1] & !state_tras[0]);


--A1L152 is txd_buf~1771
--operation mode is normal

A1L152 = div8_tras_reg[2] & div8_tras_reg[1] & div8_tras_reg[0] & key_entry2;


--~GND is ~GND
--operation mode is normal

~GND = GND;


--rst is rst
--operation mode is input

rst = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


--key_input is key_input
--operation mode is input

key_input = INPUT();


--rxd is rxd
--operation mode is input

rxd = INPUT();


--txd is txd
--operation mode is output

txd = OUTPUT(!txd_reg);


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

en[0] = OUTPUT(GND);


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

en[1] = OUTPUT(VCC);


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

en[2] = OUTPUT(VCC);


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

en[3] = OUTPUT(VCC);


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

en[4] = OUTPUT(VCC);


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

en[5] = OUTPUT(VCC);


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

en[6] = OUTPUT(VCC);


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

en[7] = OUTPUT(VCC);


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

seg_data[0] = OUTPUT(VCC);


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

seg_data[1] = OUTPUT(A1L051);


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

seg_data[2] = OUTPUT(A1L351);


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

seg_data[3] = OUTPUT(A1L751);


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

seg_data[4] = OUTPUT(A1L361);


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

seg_data[5] = OUTPUT(A1L861);


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

seg_data[6] = OUTPUT(A1L171);


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

seg_data[7] = OUTPUT(A1L671);


--lowbit is lowbit
--operation mode is output

lowbit = OUTPUT(GND);


⌨️ 快捷键说明

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