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

📄 ps2tolcd.map.eqn

📁 利用FPGA和硬件描述语言来控制字符型液晶显示器的读写
💻 EQN
📖 第 1 页 / 共 5 页
字号:
E1_m1_state.m1_rx_falling_edge_marker_lut_out = !E1_ps2_clk_s & !E1_m1_state.m1_rx_clk_h & (reset);
E1_m1_state.m1_rx_falling_edge_marker = DFFEAS(E1_m1_state.m1_rx_falling_edge_marker_lut_out, C1_clk, VCC, , , , , , );


--E1L04 is ps2_keyboard_interface:inst3|q[4]~6020
--operation mode is normal

E1L04 = E1_m1_state.m1_tx_rising_edge_marker # E1_m1_state.m1_rx_falling_edge_marker # !reset;


--E1L2 is ps2_keyboard_interface:inst3|always10~33
--operation mode is normal

E1L2 = E1_rx_shifting_done # !E1L89 # !E1L78;


--E1L3 is ps2_keyboard_interface:inst3|always11~33
--operation mode is normal

E1L3 = E1_rx_shifting_done # !E1L29 # !E1L38;


--E1_q[9] is ps2_keyboard_interface:inst3|q[9]
--operation mode is normal

E1_q[9]_lut_out = reset & E1_q[10];
E1_q[9] = DFFEAS(E1_q[9]_lut_out, C1_clk, VCC, , E1L04, , , , );


--E1_m1_state.m1_tx_wait_keyboard_ack is ps2_keyboard_interface:inst3|m1_state.m1_tx_wait_keyboard_ack
--operation mode is normal

E1_m1_state.m1_tx_wait_keyboard_ack_lut_out = E1_m1_state.m1_tx_clk_h & (E1_m1_state.m1_tx_wait_keyboard_ack & E1_ps2_clk_s # !E1_tx_shifting_done) # !E1_m1_state.m1_tx_clk_h & (E1_m1_state.m1_tx_wait_keyboard_ack & E1_ps2_clk_s);
E1_m1_state.m1_tx_wait_keyboard_ack = DFFEAS(E1_m1_state.m1_tx_wait_keyboard_ack_lut_out, C1_clk, VCC, , , , , !reset, );


--E1L7 is ps2_keyboard_interface:inst3|bit_count[0]~183
--operation mode is normal

E1L7 = reset & E1_rx_shifting_done & (!E1_m1_state.m1_tx_wait_keyboard_ack);


--E1_timer_60usec_count[1] is ps2_keyboard_interface:inst3|timer_60usec_count[1]
--operation mode is arithmetic

E1_timer_60usec_count[1]_carry_eqn = E1L552;
E1_timer_60usec_count[1]_lut_out = E1_timer_60usec_count[1] $ (E1_timer_60usec_count[1]_carry_eqn);
E1_timer_60usec_count[1] = DFFEAS(E1_timer_60usec_count[1]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L752 is ps2_keyboard_interface:inst3|timer_60usec_count[1]~221
--operation mode is arithmetic

E1L752 = CARRY(!E1L552 # !E1_timer_60usec_count[1]);


--E1_timer_60usec_count[3] is ps2_keyboard_interface:inst3|timer_60usec_count[3]
--operation mode is arithmetic

E1_timer_60usec_count[3]_carry_eqn = E1L952;
E1_timer_60usec_count[3]_lut_out = E1_timer_60usec_count[3] $ (E1_timer_60usec_count[3]_carry_eqn);
E1_timer_60usec_count[3] = DFFEAS(E1_timer_60usec_count[3]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L162 is ps2_keyboard_interface:inst3|timer_60usec_count[3]~225
--operation mode is arithmetic

E1L162 = CARRY(!E1L952 # !E1_timer_60usec_count[3]);


--E1_timer_60usec_count[0] is ps2_keyboard_interface:inst3|timer_60usec_count[0]
--operation mode is arithmetic

E1_timer_60usec_count[0]_lut_out = E1L082 $ E1_timer_60usec_count[0];
E1_timer_60usec_count[0] = DFFEAS(E1_timer_60usec_count[0]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L552 is ps2_keyboard_interface:inst3|timer_60usec_count[0]~229
--operation mode is arithmetic

E1L552 = CARRY(E1L082 & E1_timer_60usec_count[0]);


--E1_timer_60usec_count[2] is ps2_keyboard_interface:inst3|timer_60usec_count[2]
--operation mode is arithmetic

E1_timer_60usec_count[2]_carry_eqn = E1L752;
E1_timer_60usec_count[2]_lut_out = E1_timer_60usec_count[2] $ (!E1_timer_60usec_count[2]_carry_eqn);
E1_timer_60usec_count[2] = DFFEAS(E1_timer_60usec_count[2]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L952 is ps2_keyboard_interface:inst3|timer_60usec_count[2]~233
--operation mode is arithmetic

E1L952 = CARRY(E1_timer_60usec_count[2] & (!E1L752));


--E1L772 is ps2_keyboard_interface:inst3|timer_60usec_done~79
--operation mode is normal

E1L772 = E1_timer_60usec_count[1] # E1_timer_60usec_count[3] # !E1_timer_60usec_count[2] # !E1_timer_60usec_count[0];


--E1_timer_60usec_count[4] is ps2_keyboard_interface:inst3|timer_60usec_count[4]
--operation mode is arithmetic

E1_timer_60usec_count[4]_carry_eqn = E1L162;
E1_timer_60usec_count[4]_lut_out = E1_timer_60usec_count[4] $ (!E1_timer_60usec_count[4]_carry_eqn);
E1_timer_60usec_count[4] = DFFEAS(E1_timer_60usec_count[4]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L362 is ps2_keyboard_interface:inst3|timer_60usec_count[4]~237
--operation mode is arithmetic

E1L362 = CARRY(E1_timer_60usec_count[4] & (!E1L162));


--E1_timer_60usec_count[5] is ps2_keyboard_interface:inst3|timer_60usec_count[5]
--operation mode is arithmetic

E1_timer_60usec_count[5]_carry_eqn = E1L362;
E1_timer_60usec_count[5]_lut_out = E1_timer_60usec_count[5] $ (E1_timer_60usec_count[5]_carry_eqn);
E1_timer_60usec_count[5] = DFFEAS(E1_timer_60usec_count[5]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L562 is ps2_keyboard_interface:inst3|timer_60usec_count[5]~241
--operation mode is arithmetic

E1L562 = CARRY(!E1L362 # !E1_timer_60usec_count[5]);


--E1_timer_60usec_count[6] is ps2_keyboard_interface:inst3|timer_60usec_count[6]
--operation mode is arithmetic

E1_timer_60usec_count[6]_carry_eqn = E1L562;
E1_timer_60usec_count[6]_lut_out = E1_timer_60usec_count[6] $ (!E1_timer_60usec_count[6]_carry_eqn);
E1_timer_60usec_count[6] = DFFEAS(E1_timer_60usec_count[6]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L762 is ps2_keyboard_interface:inst3|timer_60usec_count[6]~245
--operation mode is arithmetic

E1L762 = CARRY(E1_timer_60usec_count[6] & (!E1L562));


--E1_timer_60usec_count[7] is ps2_keyboard_interface:inst3|timer_60usec_count[7]
--operation mode is arithmetic

E1_timer_60usec_count[7]_carry_eqn = E1L762;
E1_timer_60usec_count[7]_lut_out = E1_timer_60usec_count[7] $ (E1_timer_60usec_count[7]_carry_eqn);
E1_timer_60usec_count[7] = DFFEAS(E1_timer_60usec_count[7]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L962 is ps2_keyboard_interface:inst3|timer_60usec_count[7]~249
--operation mode is arithmetic

E1L962 = CARRY(!E1L762 # !E1_timer_60usec_count[7]);


--E1L872 is ps2_keyboard_interface:inst3|timer_60usec_done~80
--operation mode is normal

E1L872 = E1_timer_60usec_count[4] # E1_timer_60usec_count[5] # E1_timer_60usec_count[6] # !E1_timer_60usec_count[7];


--E1_timer_60usec_count[10] is ps2_keyboard_interface:inst3|timer_60usec_count[10]
--operation mode is arithmetic

E1_timer_60usec_count[10]_carry_eqn = E1L372;
E1_timer_60usec_count[10]_lut_out = E1_timer_60usec_count[10] $ (!E1_timer_60usec_count[10]_carry_eqn);
E1_timer_60usec_count[10] = DFFEAS(E1_timer_60usec_count[10]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L572 is ps2_keyboard_interface:inst3|timer_60usec_count[10]~253
--operation mode is arithmetic

E1L572 = CARRY(E1_timer_60usec_count[10] & (!E1L372));


--E1_timer_60usec_count[8] is ps2_keyboard_interface:inst3|timer_60usec_count[8]
--operation mode is arithmetic

E1_timer_60usec_count[8]_carry_eqn = E1L962;
E1_timer_60usec_count[8]_lut_out = E1_timer_60usec_count[8] $ (!E1_timer_60usec_count[8]_carry_eqn);
E1_timer_60usec_count[8] = DFFEAS(E1_timer_60usec_count[8]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L172 is ps2_keyboard_interface:inst3|timer_60usec_count[8]~257
--operation mode is arithmetic

E1L172 = CARRY(E1_timer_60usec_count[8] & (!E1L962));


--E1_timer_60usec_count[9] is ps2_keyboard_interface:inst3|timer_60usec_count[9]
--operation mode is arithmetic

E1_timer_60usec_count[9]_carry_eqn = E1L172;
E1_timer_60usec_count[9]_lut_out = E1_timer_60usec_count[9] $ (E1_timer_60usec_count[9]_carry_eqn);
E1_timer_60usec_count[9] = DFFEAS(E1_timer_60usec_count[9]_lut_out, C1_clk, VCC, , , , , E1L241, );

--E1L372 is ps2_keyboard_interface:inst3|timer_60usec_count[9]~261
--operation mode is arithmetic

E1L372 = CARRY(!E1L172 # !E1_timer_60usec_count[9]);


--E1_timer_60usec_count[11] is ps2_keyboard_interface:inst3|timer_60usec_count[11]
--operation mode is normal

E1_timer_60usec_count[11]_carry_eqn = E1L572;
E1_timer_60usec_count[11]_lut_out = E1_timer_60usec_count[11] $ (E1_timer_60usec_count[11]_carry_eqn);
E1_timer_60usec_count[11] = DFFEAS(E1_timer_60usec_count[11]_lut_out, C1_clk, VCC, , , , , E1L241, );


--E1L972 is ps2_keyboard_interface:inst3|timer_60usec_done~81
--operation mode is normal

E1L972 = E1_timer_60usec_count[10] # !E1_timer_60usec_count[11] # !E1_timer_60usec_count[9] # !E1_timer_60usec_count[8];


--E1L082 is ps2_keyboard_interface:inst3|timer_60usec_done~82
--operation mode is normal

E1L082 = E1L772 # E1L872 # E1L972;


--E1_m1_state.m1_rx_clk_h is ps2_keyboard_interface:inst3|m1_state.m1_rx_clk_h
--operation mode is normal

E1_m1_state.m1_rx_clk_h_lut_out = !E1_m1_state.m1_rx_rising_edge_marker & reset & (!E1L82 # !E1_ps2_clk_s);
E1_m1_state.m1_rx_clk_h = DFFEAS(E1_m1_state.m1_rx_clk_h_lut_out, C1_clk, VCC, , , , , , );


--E1_ps2_clk_s is ps2_keyboard_interface:inst3|ps2_clk_s
--operation mode is normal

E1_ps2_clk_s_lut_out = A1L42;
E1_ps2_clk_s = DFFEAS(E1_ps2_clk_s_lut_out, C1_clk, VCC, , , , , , );


--E1L8 is ps2_keyboard_interface:inst3|bit_count[0]~184
--operation mode is normal

E1L8 = !E1L082 & !E1_m1_state.m1_rx_clk_h & E1_ps2_clk_s # !E1L7;


--E1L1 is ps2_keyboard_interface:inst3|always5~4
--operation mode is normal

E1L1 = E1_m1_state.m1_tx_rising_edge_marker # E1_m1_state.m1_rx_falling_edge_marker;


--E1_q[0] is ps2_keyboard_interface:inst3|q[0]
--operation mode is normal

E1_q[0]_lut_out = E1_q[1] & reset;
E1_q[0] = DFFEAS(E1_q[0]_lut_out, C1_clk, VCC, , E1L04, , , , );


--E1_m1_state.m1_tx_clk_h is ps2_keyboard_interface:inst3|m1_state.m1_tx_clk_h
--operation mode is normal

E1_m1_state.m1_tx_clk_h_lut_out = E1_m1_state.m1_tx_rising_edge_marker # E1_ps2_clk_s & E1_m1_state.m1_tx_clk_h & E1_tx_shifting_done;
E1_m1_state.m1_tx_clk_h = DFFEAS(E1_m1_state.m1_tx_clk_h_lut_out, C1_clk, VCC, , , , , !reset, );


--E1L22 is ps2_keyboard_interface:inst3|m1_state.m1_tx_clk_l~30
--operation mode is normal

E1L22 = !E1_m1_state.m1_tx_clk_h & !E1_m1_state.m1_tx_rising_edge_marker;


--E1_m1_state.m1_tx_wait_clk_h is ps2_keyboard_interface:inst3|m1_state.m1_tx_wait_clk_h
--operation mode is normal

E1_m1_state.m1_tx_wait_clk_h_lut_out = E1_ps2_clk_s & (E1_m1_state.m1_tx_clk_l # E1_m1_state.m1_tx_wait_clk_h & E1_timer_5usec_done) # !E1_ps2_clk_s & (E1_m1_state.m1_tx_wait_clk_h);
E1_m1_state.m1_tx_wait_clk_h = DFFEAS(E1_m1_state.m1_tx_wait_clk_h_lut_out, C1_clk, VCC, , , , , !reset, );


--E1_m1_state.m1_tx_clk_l is ps2_keyboard_interface:inst3|m1_state.m1_tx_clk_l
--operation mode is normal

E1_m1_state.m1_tx_clk_l_lut_out = !E1_ps2_clk_s & (E1_m1_state.m1_tx_clk_l # E1_m1_state.m1_tx_clk_h & E1_tx_shifting_done);
E1_m1_state.m1_tx_clk_l = DFFEAS(E1_m1_state.m1_tx_clk_l_lut_out, C1_clk, VCC, , , , , !reset, );


--E1L03 is ps2_keyboard_interface:inst3|ps2_data_hi_z~29
--operation mode is normal

E1L03 = E1_q[0] # E1L22 & !E1_m1_state.m1_tx_wait_clk_h & !E1_m1_state.m1_tx_clk_l;


--E1L74 is ps2_keyboard_interface:inst3|reduce_nor~1
--operation mode is normal

E1L74 = !E1L63 # !E1_q[5];


--C1_count[3] is div_256:inst1|count[3]
--operation mode is normal

C1_count[3]_lut_out = C1L4;
C1_count[3] = DFFEAS(C1_count[3]_lut_out, mclk, reset, , , , , , );


--D1L65 is lcd:inst2|clkcnt[7]~405
--operation mode is normal

D1L65 = D1L601 # !E1_rx_released;


--C1_count[6] is div_256:inst1|count[6]
--operation mode is normal

C1_count[6]_lut_out = C1L1;
C1_count[6] = DFFEAS(C1_count[6]_lut_out, mclk, reset, , , , , , );


--C1L2 is div_256:inst1|add~111
--operation mode is arithmetic

C1L2_carry_eqn = C1L7;
C1L2 = C1_count[5] $ (C1L2_carry_eqn);

--C1L3 is div_256:inst1|add~113
--operation mode is arithmetic

C1L3 = CARRY(!C1L7 # !C1_count[5]);


--E1_timer_5usec_count[2] is ps2_keyboard_interface:inst3|timer_5usec_count[2]
--operation mode is arithmetic

E1_timer_5usec_count[2]_carry_eqn = E1L832;
E1_timer_5usec_count[2]_lut_out = E1_timer_5usec_count[2] $ (!E1_timer_5usec_count[2]_carry_eqn);
E1_timer_5usec_count[2] = DFFEAS(E1_timer_5usec_count[2]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L042 is ps2_keyboard_interface:inst3|timer_5usec_count[2]~149
--operation mode is arithmetic

E1L042 = CARRY(E1_timer_5usec_count[2] & (!E1L832));


--E1_timer_5usec_count[1] is ps2_keyboard_interface:inst3|timer_5usec_count[1]
--operation mode is arithmetic

E1_timer_5usec_count[1]_carry_eqn = E1L632;
E1_timer_5usec_count[1]_lut_out = E1_timer_5usec_count[1] $ (E1_timer_5usec_count[1]_carry_eqn);
E1_timer_5usec_count[1] = DFFEAS(E1_timer_5usec_count[1]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L832 is ps2_keyboard_interface:inst3|timer_5usec_count[1]~153
--operation mode is arithmetic

E1L832 = CARRY(!E1L632 # !E1_timer_5usec_count[1]);


--E1_timer_5usec_count[0] is ps2_keyboard_interface:inst3|timer_5usec_count[0]
--operation mode is arithmetic

E1_timer_5usec_count[0]_lut_out = E1_timer_5usec_done $ E1_timer_5usec_count[0];
E1_timer_5usec_count[0] = DFFEAS(E1_timer_5usec_count[0]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L632 is ps2_keyboard_interface:inst3|timer_5usec_count[0]~157
--operation mode is arithmetic

E1L632 = CARRY(E1_timer_5usec_done & E1_timer_5usec_count[0]);


--E1L152 is ps2_keyboard_interface:inst3|timer_5usec_done~40
--operation mode is normal

E1L152 = E1_timer_5usec_count[1] # !E1_timer_5usec_count[0];


--E1_timer_5usec_count[6] is ps2_keyboard_interface:inst3|timer_5usec_count[6]
--operation mode is arithmetic

E1_timer_5usec_count[6]_carry_eqn = E1L642;
E1_timer_5usec_count[6]_lut_out = E1_timer_5usec_count[6] $ (!E1_timer_5usec_count[6]_carry_eqn);
E1_timer_5usec_count[6] = DFFEAS(E1_timer_5usec_count[6]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L842 is ps2_keyboard_interface:inst3|timer_5usec_count[6]~161
--operation mode is arithmetic

E1L842 = CARRY(E1_timer_5usec_count[6] & (!E1L642));


--E1_timer_5usec_count[4] is ps2_keyboard_interface:inst3|timer_5usec_count[4]
--operation mode is arithmetic

E1_timer_5usec_count[4]_carry_eqn = E1L242;
E1_timer_5usec_count[4]_lut_out = E1_timer_5usec_count[4] $ (!E1_timer_5usec_count[4]_carry_eqn);
E1_timer_5usec_count[4] = DFFEAS(E1_timer_5usec_count[4]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L442 is ps2_keyboard_interface:inst3|timer_5usec_count[4]~165
--operation mode is arithmetic

E1L442 = CARRY(E1_timer_5usec_count[4] & (!E1L242));


--E1_timer_5usec_count[5] is ps2_keyboard_interface:inst3|timer_5usec_count[5]
--operation mode is arithmetic

E1_timer_5usec_count[5]_carry_eqn = E1L442;
E1_timer_5usec_count[5]_lut_out = E1_timer_5usec_count[5] $ (E1_timer_5usec_count[5]_carry_eqn);
E1_timer_5usec_count[5] = DFFEAS(E1_timer_5usec_count[5]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L642 is ps2_keyboard_interface:inst3|timer_5usec_count[5]~169
--operation mode is arithmetic

E1L642 = CARRY(!E1L442 # !E1_timer_5usec_count[5]);


--E1_timer_5usec_count[7] is ps2_keyboard_interface:inst3|timer_5usec_count[7]
--operation mode is normal

E1_timer_5usec_count[7]_carry_eqn = E1L842;
E1_timer_5usec_count[7]_lut_out = E1_timer_5usec_count[7] $ (E1_timer_5usec_count[7]_carry_eqn);
E1_timer_5usec_count[7] = DFFEAS(E1_timer_5usec_count[7]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );


--E1L252 is ps2_keyboard_interface:inst3|timer_5usec_done~41
--operation mode is normal

E1L252 = E1_timer_5usec_count[6] # !E1_timer_5usec_count[7] # !E1_timer_5usec_count[5] # !E1_timer_5usec_count[4];


--E1_timer_5usec_count[3] is ps2_keyboard_interface:inst3|timer_5usec_count[3]
--operation mode is arithmetic

E1_timer_5usec_count[3]_carry_eqn = E1L042;
E1_timer_5usec_count[3]_lut_out = E1_timer_5usec_count[3] $ (E1_timer_5usec_count[3]_carry_eqn);
E1_timer_5usec_count[3] = DFFEAS(E1_timer_5usec_count[3]_lut_out, C1_clk, VCC, , , , , !E1_m1_state.m1_tx_wait_clk_h, );

--E1L242 is ps2_keyboard_interface:inst3|timer_5usec_count[3]~177
--operation mode is arithmetic

E1L242 = CARRY(!E1L042 # !E1_timer_5usec_count[3]);


--E1_timer_5usec_done is ps2_keyboard_interface:inst3|timer_5usec_done
--operation mode is normal

E1_timer_5usec_done = E1_timer_5usec_count[2] # E1L152 # E1L252 # !E1_timer_5usec_count[3];


--E1_q[10] is ps2_keyboard_interface:inst3|q[10]
--operation mode is normal

E1_q[10]_lut_out = reset & E1_ps2_data_s;
E1_q[10] = DFFEAS(E1_q[10]_lut_out, C1_clk, VCC, , E1L04, , , , );


--E1_tx_shifting_done is ps2_keyboard_interface:inst3|tx_shifting_done
--operation mode is normal

E1_tx_shifting_done = E1_bit_count[0] # E1_bit_count[2] # !E1_bit_count[3] # !E1_bit_count[1];


--E1_m1_state.m1_rx_clk_l is ps2_keyboard_interface:inst3|m1_state.m1_rx_clk_l
--operation mode is normal

E1_m1_state.m1_rx_clk_l_lut_out = E1_m1_state.m1_rx_falling_edge_marker # !E1_ps2_clk_s & (E1_m1_state.m1_rx_clk_l);
E1_m1_state.m1_rx_clk_l = DFFEAS(E1_m1_state.m1_rx_clk_l_lut_out, C1_clk, VCC, , , , , !reset, );


--E1L241 is ps2_keyboard_interface:inst3|reduce_or~0
--operation mode is normal

E1L241 = !E1_m1_state.m1_rx_clk_l & (E1_m1_state.m1_rx_clk_h);


--E1_m1_state.m1_rx_rising_edge_marker is ps2_keyboard_interface:inst3|m1_state.m1_rx_rising_edge_marker
--operation mode is normal

E1_m1_state.m1_rx_rising_edge_marker_lut_out = E1_m1_s

⌨️ 快捷键说明

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