serialport.map.eqn
来自「VHDL基础的编程源代码」· EQN 代码 · 共 1,036 行 · 第 1/5 页
EQN
1,036 行
E1_nextState[1]_p1_out = E1L43 & E1L45 & GLOBAL(reset) & !E1_nextState[1] & A1L21;
E1_nextState[1]_p2_out = E1L45 & GLOBAL(reset) & !E1_nextState[1] & E1L46;
E1_nextState[1]_p4_out = E1L43 & !E1L45 & GLOBAL(reset) & E1_nextState[1] & A1L21;
E1_nextState[1]_or_out = E1_nextState[1]_p0_out # E1_nextState[1]_p1_out # E1_nextState[1]_p2_out # E1_nextState[1]_p4_out;
E1_nextState[1]_reg_input = E1_nextState[1]_or_out;
E1_nextState[1] = TFFE(E1_nextState[1]_reg_input, !D1_baudrate_clock, , , );
--C1_next_cs[0] is ledarray_drv:inst2|next_cs[0]
C1_next_cs[0]_p0_out = !C1_next_cs[7] & !C1_next_cs[6] & !C1_next_cs[5] & !C1_next_cs[4] & C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[2] & !C1_next_cs[1];
C1_next_cs[0]_p1_out = !C1_next_cs[7] & !C1_next_cs[6] & !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[3] & C1_next_cs[0] & C1_next_cs[2] & !C1_next_cs[1];
C1_next_cs[0]_p2_out = !C1_next_cs[7] & !C1_next_cs[6] & !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[2] & C1_next_cs[1];
C1_next_cs[0]_p4_out = !C1_next_cs[7] & !C1_next_cs[6] & !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[3] & !C1_next_cs[0] & !C1_next_cs[2] & !C1_next_cs[1];
C1_next_cs[0]_or_out = C1L48 # C1_next_cs[0]_p0_out # C1_next_cs[0]_p1_out # C1_next_cs[0]_p2_out # C1_next_cs[0]_p4_out;
C1_next_cs[0]_reg_input = C1_next_cs[0]_or_out;
C1_next_cs[0] = DFFE(C1_next_cs[0]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[0] is ledarray_drv:inst2|row_select[0]
C1_row_select[0]_or_out = C1_next_cs[0];
C1_row_select[0]_reg_input = C1_row_select[0]_or_out;
C1_row_select[0] = DFFE(C1_row_select[0]_reg_input, !B1_carrier, , reset, );
--E1_currentState[1] is serialport_rx:inst4|currentState[1]
E1_currentState[1]_p0_out = !E1L43 & !E1L46 & E1_nextState[1];
E1_currentState[1]_p1_out = E1L45 & E1L43 & A1L21;
E1_currentState[1]_p2_out = E1L45 & E1L46;
E1_currentState[1]_p4_out = !E1L46 & E1_nextState[1] & !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1];
E1_currentState[1]_or_out = E1_currentState[1]_p0_out # E1_currentState[1]_p1_out # E1_currentState[1]_p2_out # E1_currentState[1]_p4_out;
E1_currentState[1]_reg_input = E1_currentState[1]_or_out;
E1_currentState[1] = DFFE(E1_currentState[1]_reg_input, !D1_baudrate_clock, GLOBAL(reset), , );
--C1_next_cs[4] is ledarray_drv:inst2|next_cs[4]
C1_next_cs[4]_p1_out = C1_next_cs[0] & !C1_next_cs[1] & !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[7] & !C1_next_cs[6] & C1_next_cs[3] & !C1_next_cs[2];
C1_next_cs[4]_or_out = C1_next_cs[4]_p1_out;
C1_next_cs[4]_reg_input = C1_next_cs[4]_or_out;
C1_next_cs[4] = DFFE(C1_next_cs[4]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[4] is ledarray_drv:inst2|row_select[4]
C1_row_select[4]_or_out = !C1_next_cs[4];
C1_row_select[4]_reg_input = C1_row_select[4]_or_out;
C1_row_select[4] = DFFE(C1_row_select[4]_reg_input, !B1_carrier, , reset, );
--C1_next_cs[6] is ledarray_drv:inst2|next_cs[6]
C1_next_cs[6]_p1_out = !C1_next_cs[4] & !C1_next_cs[2] & !C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[1] & C1_next_cs[5] & !C1_next_cs[7] & !C1_next_cs[6];
C1_next_cs[6]_or_out = C1_next_cs[6]_p1_out;
C1_next_cs[6]_reg_input = C1_next_cs[6]_or_out;
C1_next_cs[6] = DFFE(C1_next_cs[6]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[6] is ledarray_drv:inst2|row_select[6]
C1_row_select[6]_or_out = !C1_next_cs[6];
C1_row_select[6]_reg_input = C1_row_select[6]_or_out;
C1_row_select[6] = DFFE(C1_row_select[6]_reg_input, !B1_carrier, , reset, );
--E1L47 is serialport_rx:inst4|nextState~1759
E1L47_p1_out = E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1];
E1L47_p2_out = E1_currentState[1] & E1_currentState[2] & E1_currentState[0];
E1L47_p3_out = !E1_currentState[1] & !E1_currentState[2];
E1L47_p4_out = !E1_currentState[2] & !E1_currentState[0];
E1L47_or_out = E1_currentState[3] # E1L47_p1_out # E1L47_p2_out # E1L47_p3_out # E1L47_p4_out;
E1L47 = E1L47_or_out;
--E1_nextState[2] is serialport_rx:inst4|nextState[2]
E1_nextState[2]_p0_out = E1L47 & GLOBAL(reset) & E1_nextState[2] & E1L46;
E1_nextState[2]_p1_out = E1L43 & !E1L47 & GLOBAL(reset) & !E1_nextState[2] & A1L21;
E1_nextState[2]_p2_out = !E1L47 & GLOBAL(reset) & !E1_nextState[2] & E1L46;
E1_nextState[2]_p4_out = E1L43 & E1L47 & GLOBAL(reset) & E1_nextState[2] & A1L21;
E1_nextState[2]_or_out = E1_nextState[2]_p0_out # E1_nextState[2]_p1_out # E1_nextState[2]_p2_out # E1_nextState[2]_p4_out;
E1_nextState[2]_reg_input = E1_nextState[2]_or_out;
E1_nextState[2] = TFFE(E1_nextState[2]_reg_input, !D1_baudrate_clock, , , );
--C1_next_cs[7] is ledarray_drv:inst2|next_cs[7]
C1_next_cs[7]_p1_out = C1_next_cs[6] & !C1_next_cs[7] & !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[2] & !C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[1];
C1_next_cs[7]_or_out = C1_next_cs[7]_p1_out;
C1_next_cs[7]_reg_input = C1_next_cs[7]_or_out;
C1_next_cs[7] = DFFE(C1_next_cs[7]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[7] is ledarray_drv:inst2|row_select[7]
C1_row_select[7]_or_out = !C1_next_cs[7];
C1_row_select[7]_reg_input = C1_row_select[7]_or_out;
C1_row_select[7] = DFFE(C1_row_select[7]_reg_input, !B1_carrier, , reset, );
--E1_currentState[2] is serialport_rx:inst4|currentState[2]
E1_currentState[2]_p0_out = !E1L43 & !E1L46 & E1_nextState[2];
E1_currentState[2]_p1_out = !E1L47 & E1L43 & A1L21;
E1_currentState[2]_p2_out = !E1L47 & E1L46;
E1_currentState[2]_p4_out = !E1L46 & E1_nextState[2] & !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1];
E1_currentState[2]_or_out = E1_currentState[2]_p0_out # E1_currentState[2]_p1_out # E1_currentState[2]_p2_out # E1_currentState[2]_p4_out;
E1_currentState[2]_reg_input = E1_currentState[2]_or_out;
E1_currentState[2] = DFFE(E1_currentState[2]_reg_input, !D1_baudrate_clock, GLOBAL(reset), , );
--E1L48 is serialport_rx:inst4|nextState~1774
E1L48 = EXP(!E1_currentState[0] & !E1_currentState[2] & !E1_currentState[1]);
--E1L49 is serialport_rx:inst4|nextState~1775
E1L49 = EXP(E1_currentState[1] & E1_currentState[0]);
--E1L50 is serialport_rx:inst4|nextState~1779
E1L50_p1_out = E1_currentState[0] & !E1_currentState[3] & E1_currentState[2] & E1_currentState[1];
E1L50_p2_out = !E1_currentState[3] & E1L48 & E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1];
E1L50_p3_out = E1_currentState[3] & !E1_currentState[2] & E1L49;
E1L50_or_out = E1L50_p1_out # E1L50_p2_out # E1L50_p3_out;
E1L50 = E1L50_or_out;
--E1_nextState[3] is serialport_rx:inst4|nextState[3]
E1_nextState[3]_p0_out = !E1L50 & GLOBAL(reset) & E1_nextState[3] & E1L46;
E1_nextState[3]_p1_out = E1L43 & E1L50 & GLOBAL(reset) & !E1_nextState[3] & A1L21;
E1_nextState[3]_p2_out = E1L50 & GLOBAL(reset) & !E1_nextState[3] & E1L46;
E1_nextState[3]_p4_out = E1L43 & !E1L50 & GLOBAL(reset) & E1_nextState[3] & A1L21;
E1_nextState[3]_or_out = E1_nextState[3]_p0_out # E1_nextState[3]_p1_out # E1_nextState[3]_p2_out # E1_nextState[3]_p4_out;
E1_nextState[3]_reg_input = E1_nextState[3]_or_out;
E1_nextState[3] = TFFE(E1_nextState[3]_reg_input, !D1_baudrate_clock, , , );
--E1_currentState[3] is serialport_rx:inst4|currentState[3]
E1_currentState[3]_p0_out = !E1L43 & !E1L46 & E1_nextState[3];
E1_currentState[3]_p1_out = E1L50 & E1L43 & A1L21;
E1_currentState[3]_p2_out = E1L50 & E1L46;
E1_currentState[3]_p4_out = !E1L46 & E1_nextState[3] & !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1];
E1_currentState[3]_or_out = E1_currentState[3]_p0_out # E1_currentState[3]_p1_out # E1_currentState[3]_p2_out # E1_currentState[3]_p4_out;
E1_currentState[3]_reg_input = E1_currentState[3]_or_out;
E1_currentState[3] = DFFE(E1_currentState[3]_reg_input, !D1_baudrate_clock, GLOBAL(reset), , );
--M1L8 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[1]~205
M1L8 = EXP(M1_dffs[0] & GLOBAL(reset));
--M1_dffs[1] is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[1]
M1_dffs[1]_p0_out = GLOBAL(reset) & M1_dffs[1] & M1L6 & M1_dffs[0];
M1_dffs[1]_p1_out = rx & !E1_currentState[1] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[0] & GLOBAL(reset);
M1_dffs[1]_p2_out = E1_currentState[2] & E1_currentState[3] & !M1_dffs[1];
M1_dffs[1]_p4_out = !M1_dffs[1] & M1L8;
M1_dffs[1]_or_out = M1_dffs[1]_p0_out # M1_dffs[1]_p1_out # M1_dffs[1]_p2_out # M1_dffs[1]_p4_out;
M1_dffs[1]_reg_input = !(M1_dffs[1]_or_out);
M1_dffs[1] = DFFE(M1_dffs[1]_reg_input, !D1_baudrate_clock, , , );
--E1_nextState[0] is serialport_rx:inst4|nextState[0]
E1_nextState[0]_p0_out = !GLOBAL(reset) & E1_nextState[0];
E1_nextState[0]_p1_out = E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & !E1_currentState[1] & E1L43 & !E1_currentState[2] & GLOBAL(reset) & A1L21;
E1_nextState[0]_p2_out = E1L43 & GLOBAL(reset) & !E1_currentState[3] & !E1_currentState[0] & A1L21;
E1_nextState[0]_p4_out = E1L43 & !E1_currentState[2] & GLOBAL(reset) & !E1_currentState[0] & A1L21;
E1_nextState[0]_or_out = E1L37 # E1_nextState[0]_p0_out # E1_nextState[0]_p1_out # E1_nextState[0]_p2_out # E1_nextState[0]_p4_out;
E1_nextState[0]_reg_input = E1_nextState[0]_or_out;
E1_nextState[0] = DFFE(E1_nextState[0]_reg_input, !D1_baudrate_clock, , , );
--E1_currentState[0] is serialport_rx:inst4|currentState[0]
E1_currentState[0]_p0_out = E1L43 & !E1_currentState[2] & !E1_currentState[0] & A1L21;
E1_currentState[0]_p1_out = E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & !E1_currentState[3] & E1L43 & A1L21;
E1_currentState[0]_p2_out = E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & E1L43 & !E1_currentState[1] & !E1_currentState[2] & A1L21;
E1_currentState[0]_p4_out = !E1_currentState[3] & E1L43 & !E1_currentState[0] & A1L21;
E1_currentState[0]_or_out = E1L51 # E1_currentState[0]_p0_out # E1_currentState[0]_p1_out # E1_currentState[0]_p2_out # E1_currentState[0]_p4_out;
E1_currentState[0]_reg_input = E1_currentState[0]_or_out;
E1_currentState[0] = DFFE(E1_currentState[0]_reg_input, !D1_baudrate_clock, GLOBAL(reset), , );
--E1_idata[3] is serialport_rx:inst4|idata[3]
E1_idata[3]_p0_out = GLOBAL(reset) & !E1_currentState[3] & E1_idata[3] & !E1_currentState[2] & !E1_currentState[0] & !E1_currentState[1];
E1_idata[3]_p1_out = !rx & E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & !E1_currentState[3] & E1_idata[3];
E1_idata[3]_p2_out = !rx & E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[3] & !E1_currentState[2] & !E1_currentState[0];
E1_idata[3]_p4_out = !rx & E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[3] & !E1_currentState[2] & !E1_currentState[1];
E1_idata[3]_or_out = E1L28 # E1_idata[3]_p0_out # E1_idata[3]_p1_out # E1_idata[3]_p2_out # E1_idata[3]_p4_out;
E1_idata[3]_reg_input = E1_idata[3]_or_out;
E1_idata[3] = TFFE(E1_idata[3]_reg_input, !D1_baudrate_clock, , , );
--E1_idata[1] is serialport_rx:inst4|idata[1]
E1_idata[1]_p0_out = GLOBAL(reset) & !E1_currentState[3] & E1_idata[1] & !E1_currentState[2] & !E1_currentState[0] & !E1_currentState[1];
E1_idata[1]_p1_out = !rx & !E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & !E1_currentState[3] & E1_idata[1];
E1_idata[1]_p2_out = !rx & !E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[1] & !E1_currentState[2] & !E1_currentState[0];
E1_idata[1]_p4_out = !rx & !E1_bit_index[1] & E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[1] & !E1_currentState[2] & !E1_currentState[1];
E1_idata[1]_or_out = E1L24 # E1_idata[1]_p0_out # E1_idata[1]_p1_out # E1_idata[1]_p2_out # E1_idata[1]_p4_out;
E1_idata[1]_reg_input = E1_idata[1]_or_out;
E1_idata[1] = TFFE(E1_idata[1]_reg_input, !D1_baudrate_clock, , , );
--E1_idata[2] is serialport_rx:inst4|idata[2]
E1_idata[2]_p0_out = GLOBAL(reset) & !E1_currentState[3] & E1_idata[2] & !E1_currentState[2] & !E1_currentState[0] & !E1_currentState[1];
E1_idata[2]_p1_out = !rx & E1_bit_index[1] & !E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & !E1_currentState[3] & E1_idata[2];
E1_idata[2]_p2_out = !rx & E1_bit_index[1] & !E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[2] & !E1_currentState[2] & !E1_currentState[0];
E1_idata[2]_p4_out = !rx & E1_bit_index[1] & !E1_bit_index[0] & !E1_bit_index[2] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & GLOBAL(reset) & E1_idata[2] & !E1_currentState[2] & !E1_currentState[1];
E1_idata[2]_or_out = E1L26 # E1_idata[2]_p0_out # E1_idata[2]_p1_out # E1_idata[2]_p2_out # E1_idata[2]_p4_out;
E1_idata[2]_reg_input = E1_idata[2]_or_out;
E1_idata[2] = TFFE(E1_idata[2]_reg_input, !D1_baudrate_clock, , , );
--E1_idata[6] is serialport_rx:inst4|idata[6]
E1_idata[6]_p0_out = GLOBAL(reset) & !E1_currentState[3] & E1_idata[6] & !E1_currentState[2] & !E1_currentState[0] & !E1_currentState[1];
E1_idata[6]_p1_out = !rx & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & !E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & GLOBAL(reset) & !E1_currentState[3] & E1_idata[6];
E1_idata[6]_p2_out = !rx & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & !E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & GLOBAL(reset) & E1_idata[6] & !E1_currentState[2] & !E1_currentState[0];
E1_idata[6]_p4_out = !rx & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & !E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & GLOBAL(reset) & E1_idata[6] & !E1_currentState[2] & !E1_currentState[1];
E1_idata[6]_or_out = E1L34 # E1_idata[6]_p0_out # E1_idata[6]_p1_out # E1_idata[6]_p2_out # E1_idata[6]_p4_out;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?