serialport.map.eqn
来自「VHDL基础的编程源代码」· EQN 代码 · 共 1,036 行 · 第 1/5 页
EQN
1,036 行
M1L5 = EXP(E1_currentState[0] & E1_currentState[1] & M1_dffs[3] & !M1_dffs[2] & M1_dffs[1] & E1_currentState[3] & !M1_dffs[0]);
--M1L6 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[0]~180
M1L6 = EXP(E1_currentState[2] & E1_currentState[3]);
--M1_dffs[0] is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[0]
M1_dffs[0]_p1_out = M1L3 & GLOBAL(reset) & M1L4 & M1L5 & M1L6;
M1_dffs[0]_or_out = M1_dffs[0]_p1_out;
M1_dffs[0]_reg_input = M1_dffs[0]_or_out;
M1_dffs[0] = TFFE(M1_dffs[0]_reg_input, !D1_baudrate_clock, , , );
--B1_delay_counter[11] is counter:inst|delay_counter[11]
B1_delay_counter[11]_p1_out = !B1_delay_counter[12] & B1_delay_counter[13] & B1_delay_counter[9] & !B1_delay_counter[8] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[3] & B1_delay_counter[2] & B1_delay_counter[4] & B1_delay_counter[10] & B1_delay_counter[7] & B1_delay_counter[6] & !B1_delay_counter[5] & B1_delay_counter[11];
B1_delay_counter[11]_p2_out = B1_delay_counter[9] & B1_delay_counter[8] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[3] & B1_delay_counter[2] & B1_delay_counter[4] & B1_delay_counter[10] & B1_delay_counter[7] & B1_delay_counter[6] & B1_delay_counter[5];
B1_delay_counter[11]_or_out = B1_delay_counter[11]_p1_out # B1_delay_counter[11]_p2_out;
B1_delay_counter[11]_reg_input = B1_delay_counter[11]_or_out;
B1_delay_counter[11] = TFFE(B1_delay_counter[11]_reg_input, GLOBAL(clock_24M), GLOBAL(reset), , );
--B1_delay_counter[12] is counter:inst|delay_counter[12]
B1_delay_counter[12]_p1_out = B1_delay_counter[11] & B1_delay_counter[10] & B1_delay_counter[9] & B1_delay_counter[8] & B1_delay_counter[3] & B1_delay_counter[2] & B1_delay_counter[7] & B1_delay_counter[6] & B1_delay_counter[1] & B1_delay_counter[0] & B1_delay_counter[5] & B1_delay_counter[4];
B1_delay_counter[12]_or_out = B1_delay_counter[12]_p1_out;
B1_delay_counter[12]_reg_input = B1_delay_counter[12]_or_out;
B1_delay_counter[12] = TFFE(B1_delay_counter[12]_reg_input, GLOBAL(clock_24M), GLOBAL(reset), , );
--M1L10 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[2]~185
M1L10 = EXP(M1_dffs[1] & M1_dffs[0] & GLOBAL(reset));
--M1_dffs[2] is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[2]
M1_dffs[2]_p0_out = GLOBAL(reset) & M1_dffs[2] & M1L6 & M1_dffs[1] & M1_dffs[0];
M1_dffs[2]_p1_out = rx & !E1_currentState[0] & !E1_currentState[1] & GLOBAL(reset) & !E1_currentState[2] & !E1_currentState[3];
M1_dffs[2]_p2_out = E1_currentState[2] & E1_currentState[3] & !M1_dffs[2];
M1_dffs[2]_p4_out = !M1_dffs[2] & M1L10;
M1_dffs[2]_or_out = M1_dffs[2]_p0_out # M1_dffs[2]_p1_out # M1_dffs[2]_p2_out # M1_dffs[2]_p4_out;
M1_dffs[2]_reg_input = !(M1_dffs[2]_or_out);
M1_dffs[2] = DFFE(M1_dffs[2]_reg_input, !D1_baudrate_clock, , , );
--B1_delay_counter[13] is counter:inst|delay_counter[13]
B1_delay_counter[13]_p1_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[8];
B1_delay_counter[13]_p2_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[8] & B1_delay_counter[13];
B1_delay_counter[13]_or_out = B1_delay_counter[13]_p1_out # B1_delay_counter[13]_p2_out;
B1_delay_counter[13]_reg_input = B1_delay_counter[13]_or_out;
B1_delay_counter[13] = TFFE(B1_delay_counter[13]_reg_input, GLOBAL(clock_24M), GLOBAL(reset), , );
--M1L12 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[3]~194
M1L12 = EXP(M1_dffs[1] & M1_dffs[2] & M1_dffs[0] & GLOBAL(reset));
--M1L13 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[3]~196
M1L13 = EXP(E1_currentState[1] & E1_currentState[3]);
--M1L14 is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[3]~197
M1L14 = EXP(!E1_currentState[1] & !E1_currentState[3]);
--M1_dffs[3] is serialport_rx:inst4|lpm_counter:sample_counter_rtl_0|dffs[3]
M1_dffs[3]_p0_out = !M1_dffs[3] & !E1_currentState[0] & E1_bit_index[1] & E1_bit_index[2] & E1_bit_index[0] & M1L14;
M1_dffs[3]_p1_out = M1L12 & !M1_dffs[3];
M1_dffs[3]_p2_out = M1_dffs[3] & M1L6 & GLOBAL(reset) & M1_dffs[0] & M1_dffs[2] & M1_dffs[1];
M1_dffs[3]_p4_out = !M1_dffs[3] & M1L13 & E1_currentState[0] & E1_bit_index[1] & E1_bit_index[2] & E1_bit_index[0];
M1_dffs[3]_or_out = M1L15 # M1_dffs[3]_p0_out # M1_dffs[3]_p1_out # M1_dffs[3]_p2_out # M1_dffs[3]_p4_out;
M1_dffs[3]_reg_input = !(M1_dffs[3]_or_out);
M1_dffs[3] = DFFE(M1_dffs[3]_reg_input, !D1_baudrate_clock, , , );
--B1_delay_counter[9] is counter:inst|delay_counter[9]
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]
E1_bit_index[0]_p1_out = !M1_dffs[0] & A1L21;
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] & A1L21;
E1_bit_index[0]_or_out = E1L3 # !GLOBAL(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
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]
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]_or_out = C1_next_cs[1]_p1_out;
C1_next_cs[1]_reg_input = C1_next_cs[1]_or_out;
C1_next_cs[1] = DFFE(C1_next_cs[1]_reg_input, !B1_carrier, GLOBAL(reset), , );
--C1_row_select[1] is ledarray_drv:inst2|row_select[1]
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]
E1_bit_index[1]_p0_out = !E1_currentState[3] & GLOBAL(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] & GLOBAL(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] & GLOBAL(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] & GLOBAL(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]
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]
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]
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]
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]
E1_bit_index[2]_p0_out = !E1_currentState[3] & GLOBAL(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] & GLOBAL(reset) & !E1_bit_index[2] & A1L21;
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] & GLOBAL(reset) & !E1_bit_index[2] & !E1_currentState[1] & !E1_currentState[2] & A1L21;
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] & GLOBAL(reset) & !E1_bit_index[2] & !E1_currentState[2] & !E1_currentState[0] & A1L21;
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]
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]
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
E1L41 = EXP(E1_bit_index[1] & E1_bit_index[2] & E1_bit_index[0]);
--E1L42 is serialport_rx:inst4|nextState~1725
E1L42 = EXP(E1_currentState[0] & E1_currentState[1] & E1_currentState[3]);
--E1L43 is serialport_rx:inst4|nextState~1731
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
E1L44 = EXP(!E1_currentState[0] & !E1_currentState[2]);
--E1L45 is serialport_rx:inst4|nextState~1738
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] & M1L6 & E1_currentState[0];
E1L45_p4_out = E1_currentState[1] & M1L6 & !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
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]
E1_nextState[1]_p0_out = !E1L45 & GLOBAL(reset) & E1_nextState[1] & E1L46;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?