serialport.fit.eqn
来自「VHDL基础的编程源代码」· EQN 代码 · 共 923 行 · 第 1/5 页
EQN
923 行
B1_delay_counter[9]_p1_out = !B1_delay_counter[12] & B1_delay_counter[11] & B1_delay_counter[10] & B1_delay_counter[13] & !B1_delay_counter[8] & !B1_delay_counter[5] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[3] & B1_delay_counter[2] & B1_delay_counter[4] & B1_delay_counter[7] & B1_delay_counter[9] & B1_delay_counter[6];
B1_delay_counter[9]_p2_out = B1_delay_counter[8] & B1_delay_counter[5] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[3] & B1_delay_counter[2] & B1_delay_counter[4] & B1_delay_counter[7] & B1_delay_counter[6];
B1_delay_counter[9]_or_out = B1_delay_counter[9]_p1_out # B1_delay_counter[9]_p2_out;
B1_delay_counter[9]_reg_input = B1_delay_counter[9]_or_out;
B1_delay_counter[9] = TFFE(B1_delay_counter[9]_reg_input, GLOBAL(clock_24M), GLOBAL(reset), , );
--E1_bit_index[0] is serialport_rx:inst4|bit_index[0] at LC31
E1_bit_index[0]_p1_out = !M1_dffs[0] & A1L22;
E1_bit_index[0]_p2_out = !E1_bit_index[0] & !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1];
E1_bit_index[0]_p4_out = E1_bit_index[0] & E1_bit_index[1] & E1_bit_index[2] & A1L22;
E1_bit_index[0]_or_out = E1L3 # !reset # E1_bit_index[0]_p1_out # E1_bit_index[0]_p2_out # E1_bit_index[0]_p4_out;
E1_bit_index[0]_reg_input = !E1_bit_index[0]_or_out;
E1_bit_index[0] = TFFE(E1_bit_index[0]_reg_input, !D1_baudrate_clock, , , );
--B1_carrier is counter:inst|carrier at LC20
B1_carrier_reg_input = VCC;
B1_carrier_p3_out = B1_delay_counter[9] & !B1_delay_counter[12] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[3] & B1_delay_counter[2] & !B1_delay_counter[5] & B1_delay_counter[11] & B1_delay_counter[4] & B1_delay_counter[10] & B1_delay_counter[7] & B1_delay_counter[6] & B1_delay_counter[13] & !B1_delay_counter[8];
B1_carrier = TFFE(B1_carrier_reg_input, GLOBAL(clock_24M), GLOBAL(reset), , B1_carrier_p3_out);
--C1_next_cs[1] is ledarray_drv:inst2|next_cs[1] at LC100
C1_next_cs[1]_p1_out = !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[7] & !C1_next_cs[6] & !C1_next_cs[0] & !C1_next_cs[2] & !C1_next_cs[3] & !C1_next_cs[1];
C1_next_cs[1]_reg_input = C1_next_cs[1]_p1_out;
C1_next_cs[1] = DFFE(C1_next_cs[1]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1L49 is ledarray_drv:inst2|Mux~11918 at LC100
C1L49_p2_out = !C1_next_cs[7] & !C1_next_cs[2] & !C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[4] & !C1_next_cs[1] & !C1_next_cs[5] & !C1_next_cs[6];
C1L49_p4_out = C1_next_cs[6] & C1L1;
C1L49 = C1L49_p2_out # C1L49_p4_out;
--C1_row_select[1] is ledarray_drv:inst2|row_select[1] at LC93
C1_row_select[1]_or_out = !C1_next_cs[1];
C1_row_select[1]_reg_input = C1_row_select[1]_or_out;
C1_row_select[1] = DFFE(C1_row_select[1]_reg_input, !B1_carrier, , reset, );
--E1_bit_index[1] is serialport_rx:inst4|bit_index[1] at LC55
E1_bit_index[1]_p0_out = !E1_currentState[3] & reset & E1_bit_index[1] & !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[1];
E1_bit_index[1]_p1_out = !E1_bit_index[2] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & !E1_currentState[3] & reset & E1_bit_index[1];
E1_bit_index[1]_p2_out = !E1_bit_index[2] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & reset & E1_bit_index[1] & !E1_currentState[0] & !E1_currentState[2];
E1_bit_index[1]_p4_out = !E1_bit_index[2] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & reset & E1_bit_index[1] & !E1_currentState[2] & !E1_currentState[1];
E1_bit_index[1]_or_out = E1L5 # E1_bit_index[1]_p0_out # E1_bit_index[1]_p1_out # E1_bit_index[1]_p2_out # E1_bit_index[1]_p4_out;
E1_bit_index[1]_reg_input = E1_bit_index[1]_or_out;
E1_bit_index[1] = TFFE(E1_bit_index[1]_reg_input, !D1_baudrate_clock, , , );
--C1_next_cs[2] is ledarray_drv:inst2|next_cs[2] at LC124
C1_next_cs[2]_p1_out = !C1_next_cs[5] & !C1_next_cs[4] & !C1_next_cs[7] & !C1_next_cs[6] & C1_next_cs[0] & !C1_next_cs[2] & !C1_next_cs[3] & C1_next_cs[1];
C1_next_cs[2]_or_out = C1_next_cs[2]_p1_out;
C1_next_cs[2]_reg_input = C1_next_cs[2]_or_out;
C1_next_cs[2] = DFFE(C1_next_cs[2]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[2] is ledarray_drv:inst2|row_select[2] at LC91
C1_row_select[2]_or_out = !C1_next_cs[2];
C1_row_select[2]_reg_input = C1_row_select[2]_or_out;
C1_row_select[2] = DFFE(C1_row_select[2]_reg_input, !B1_carrier, , reset, );
--C1_next_cs[3] is ledarray_drv:inst2|next_cs[3] at LC125
C1_next_cs[3]_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[3]_or_out = C1_next_cs[3]_p1_out;
C1_next_cs[3]_reg_input = C1_next_cs[3]_or_out;
C1_next_cs[3] = DFFE(C1_next_cs[3]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[3] is ledarray_drv:inst2|row_select[3] at LC89
C1_row_select[3]_or_out = !C1_next_cs[3];
C1_row_select[3]_reg_input = C1_row_select[3]_or_out;
C1_row_select[3] = DFFE(C1_row_select[3]_reg_input, !B1_carrier, , reset, );
--E1_bit_index[2] is serialport_rx:inst4|bit_index[2] at LC25
E1_bit_index[2]_p0_out = !E1_currentState[3] & reset & E1_bit_index[2] & !E1_currentState[1] & !E1_currentState[2] & !E1_currentState[0];
E1_bit_index[2]_p1_out = !E1_currentState[3] & E1_bit_index[1] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & reset & !E1_bit_index[2] & A1L22;
E1_bit_index[2]_p2_out = E1_bit_index[1] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & reset & !E1_bit_index[2] & !E1_currentState[1] & !E1_currentState[2] & A1L22;
E1_bit_index[2]_p4_out = E1_bit_index[1] & E1_bit_index[0] & M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & reset & !E1_bit_index[2] & !E1_currentState[2] & !E1_currentState[0] & A1L22;
E1_bit_index[2]_or_out = E1_bit_index[2]_p0_out # E1_bit_index[2]_p1_out # E1_bit_index[2]_p2_out # E1_bit_index[2]_p4_out;
E1_bit_index[2]_reg_input = E1_bit_index[2]_or_out;
E1_bit_index[2] = TFFE(E1_bit_index[2]_reg_input, !D1_baudrate_clock, , , );
--C1_next_cs[5] is ledarray_drv:inst2|next_cs[5] at LC126
C1_next_cs[5]_p1_out = !C1_next_cs[2] & !C1_next_cs[3] & C1_next_cs[0] & !C1_next_cs[1] & !C1_next_cs[7] & !C1_next_cs[6] & C1_next_cs[4] & !C1_next_cs[5];
C1_next_cs[5]_or_out = C1_next_cs[5]_p1_out;
C1_next_cs[5]_reg_input = C1_next_cs[5]_or_out;
C1_next_cs[5] = DFFE(C1_next_cs[5]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[5] is ledarray_drv:inst2|row_select[5] at LC86
C1_row_select[5]_or_out = !C1_next_cs[5];
C1_row_select[5]_reg_input = C1_row_select[5]_or_out;
C1_row_select[5] = DFFE(C1_row_select[5]_reg_input, !B1_carrier, , reset, );
--E1L41 is serialport_rx:inst4|nextState~1724 at SEXP19
E1L41 = EXP(E1_bit_index[1] & E1_bit_index[2] & E1_bit_index[0]);
--E1L42 is serialport_rx:inst4|nextState~1725 at SEXP18
E1L42 = EXP(E1_currentState[0] & E1_currentState[1] & E1_currentState[3]);
--E1L43 is serialport_rx:inst4|nextState~1731 at LC26
E1L43_p0_out = M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & E1L42 & E1L41;
E1L43_p1_out = !E1_currentState[3] & !E1_currentState[1] & !E1_currentState[2] & !E1_currentState[0];
E1L43_p2_out = E1_currentState[3] & E1_currentState[2];
E1L43_p3_out = E1_currentState[3] & E1_currentState[1] & E1_currentState[0] & M1_dffs[3] & !M1_dffs[2] & M1_dffs[1] & !M1_dffs[0];
E1L43_p4_out = !M1_dffs[3] & M1_dffs[2] & M1_dffs[1] & M1_dffs[0] & E1L42 & E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1];
E1L43_or_out = E1L43_p0_out # E1L43_p1_out # E1L43_p2_out # E1L43_p3_out # E1L43_p4_out;
E1L43 = E1L43_or_out;
--E1L44 is serialport_rx:inst4|nextState~1732 at SEXP57
E1L44 = EXP(!E1_currentState[0] & !E1_currentState[2]);
--E1L45 is serialport_rx:inst4|nextState~1738 at LC56
E1L45_p1_out = E1_currentState[3] & E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & !E1_currentState[1] & !E1_currentState[2];
E1L45_p2_out = !E1_currentState[3] & E1_bit_index[0] & E1_bit_index[2] & E1_bit_index[1] & E1L44;
E1L45_p3_out = !E1_currentState[1] & M1L7 & E1_currentState[0];
E1L45_p4_out = E1_currentState[1] & M1L7 & !E1_currentState[0];
E1L45_or_out = E1L45_p1_out # E1L45_p2_out # E1L45_p3_out # E1L45_p4_out;
E1L45 = E1L45_or_out;
--E1L46 is serialport_rx:inst4|nextState~1741 at LC18
E1L46_p1_out = !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1] & rx;
E1L46_p2_out = !E1_currentState[0] & !E1_currentState[2] & !E1_currentState[3] & !E1_currentState[1] & !M1_dffs[1] & M1_dffs[3] & !M1_dffs[0] & !M1_dffs[2];
E1L46_or_out = E1L46_p1_out # E1L46_p2_out;
E1L46 = E1L46_or_out;
--E1_nextState[1] is serialport_rx:inst4|nextState[1] at LC70
E1_nextState[1]_p0_out = !E1L45 & reset & E1_nextState[1] & E1L46;
E1_nextState[1]_p1_out = E1L43 & E1L45 & reset & !E1_nextState[1] & A1L23;
E1_nextState[1]_p2_out = E1L45 & reset & !E1_nextState[1] & E1L46;
E1_nextState[1]_p4_out = E1L43 & !E1L45 & reset & E1_nextState[1] & A1L23;
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] at LC122
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] at LC94
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] at LC71
E1_currentState[1]_p0_out = !E1L43 & !E1L46 & E1_nextState[1];
E1_currentState[1]_p1_out = E1L45 & E1L43 & A1L23;
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] at LC118
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] at LC88
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, );
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?