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

📄 ps2_mouse9.map.eqn

📁 PS2键盘鼠标接口控制实现电子琴功能
💻 EQN
📖 第 1 页 / 共 5 页
字号:
--D1L411Q is ps2:uA|m2_state~50
--operation mode is normal

D1L411Q_lut_out = D1L86Q;
D1L411Q = DFFEA(D1L411Q_lut_out, clk, VCC, , , , );


--D1L511Q is ps2:uA|m2_state~51
--operation mode is normal

D1L511Q_lut_out = D1L96Q;
D1L511Q = DFFEA(D1L511Q_lut_out, clk, VCC, , , , );


--D1L611Q is ps2:uA|m2_state~52
--operation mode is normal

D1L611Q_lut_out = D1L07Q;
D1L611Q = DFFEA(D1L611Q_lut_out, clk, VCC, , , , );


--D1L711Q is ps2:uA|m2_state~53
--operation mode is normal

D1L711Q_lut_out = D1L17Q;
D1L711Q = DFFEA(D1L711Q_lut_out, clk, VCC, , , , );


--D1L891 is ps2:uA|reduce_or~340
--operation mode is normal

D1L891 = !D1L411Q & !D1L511Q & !D1L611Q & !D1L711Q;


--D1L811Q is ps2:uA|m2_state~54
--operation mode is normal

D1L811Q_lut_out = D1L27Q;
D1L811Q = DFFEA(D1L811Q_lut_out, clk, VCC, , , , );


--D1L911Q is ps2:uA|m2_state~55
--operation mode is normal

D1L911Q_lut_out = D1L37Q;
D1L911Q = DFFEA(D1L911Q_lut_out, clk, VCC, , , , );


--D1L021Q is ps2:uA|m2_state~56
--operation mode is normal

D1L021Q_lut_out = D1L47Q;
D1L021Q = DFFEA(D1L021Q_lut_out, clk, VCC, , , , );


--D1L991 is ps2:uA|reduce_or~341
--operation mode is normal

D1L991 = D1L891 & !D1L811Q & !D1L911Q & !D1L021Q;


--D1L002 is ps2:uA|reduce_or~342
--operation mode is normal

D1L002 = D1L591 & D1L691 & D1L791 & D1L991;


--D1L101Q is ps2:uA|m2_state~37
--operation mode is normal

D1L101Q_lut_out = D1L55Q;
D1L101Q = DFFEA(D1L101Q_lut_out, clk, VCC, , , , );


--D1L201Q is ps2:uA|m2_state~38
--operation mode is normal

D1L201Q_lut_out = D1L65Q;
D1L201Q = DFFEA(D1L201Q_lut_out, clk, VCC, , , , );


--D1L102 is ps2:uA|reduce_or~343
--operation mode is normal

D1L102 = !D1L101Q & !D1L201Q;


--D1L501Q is ps2:uA|m2_state~41
--operation mode is normal

D1L501Q_lut_out = D1L95Q;
D1L501Q = DFFEA(D1L501Q_lut_out, clk, VCC, , , , );


--D1L601Q is ps2:uA|m2_state~42
--operation mode is normal

D1L601Q_lut_out = D1L06Q;
D1L601Q = DFFEA(D1L601Q_lut_out, clk, VCC, , , , );


--D1L701Q is ps2:uA|m2_state~43
--operation mode is normal

D1L701Q_lut_out = D1L16Q;
D1L701Q = DFFEA(D1L701Q_lut_out, clk, VCC, , , , );


--D1L801Q is ps2:uA|m2_state~44
--operation mode is normal

D1L801Q_lut_out = D1L26Q;
D1L801Q = DFFEA(D1L801Q_lut_out, clk, VCC, , , , );


--D1L202 is ps2:uA|reduce_or~344
--operation mode is normal

D1L202 = !D1L501Q & !D1L601Q & !D1L701Q & !D1L801Q;


--D1L301Q is ps2:uA|m2_state~39
--operation mode is normal

D1L301Q_lut_out = D1L75Q;
D1L301Q = DFFEA(D1L301Q_lut_out, clk, VCC, , , , );


--D1L401Q is ps2:uA|m2_state~40
--operation mode is normal

D1L401Q_lut_out = D1L85Q;
D1L401Q = DFFEA(D1L401Q_lut_out, clk, VCC, , , , );


--D1L302 is ps2:uA|reduce_or~345
--operation mode is normal

D1L302 = D1L102 & D1L202 & !D1L301Q & !D1L401Q;


--D1L402 is ps2:uA|reduce_or~346
--operation mode is normal

D1L402 = D1L302 & !D1L901Q;


--D1L71 is ps2:uA|LessThan~17
--operation mode is normal

D1L71 = !G2_safe_q[1] & !G2_safe_q[2] # !G2_safe_q[3];


--D1_enk is ps2:uA|enk
--operation mode is normal

D1_enk_lut_out = D1L91;
D1_enk = DFFEA(D1_enk_lut_out, !clk, !reset, , D1L12, , );


--G2_safe_q[0] is ps2:uA|lpm_counter:count_rtl_1|cntr_qu7:auto_generated|safe_q[0]
--operation mode is arithmetic

G2_safe_q[0]_lut_out = !G2_safe_q[0];
G2_safe_q[0] = DFFEA(G2_safe_q[0]_lut_out, !D1_ps2_clk_r, !D1_enk, , D1L81, , );

--G2L2 is ps2:uA|lpm_counter:count_rtl_1|cntr_qu7:auto_generated|counter_cella0~COUT
--operation mode is arithmetic

G2L2 = CARRY(G2_safe_q[0]);


--D1L81 is ps2:uA|LessThan~175
--operation mode is normal

D1L81 = !G2_safe_q[0] # !G2_safe_q[2] # !G2_safe_q[1] # !G2_safe_q[3];


--D1L25Q is ps2:uA|m2_nexts~51
--operation mode is normal

D1L25Q_lut_out = D1L79Q;
D1L25Q = DFFEA(D1L25Q_lut_out, D1_ps2_clk_r, !D1L71, , , , );


--D1_q_data1_x[3] is ps2:uA|q_data1_x[3]
--operation mode is normal

D1_q_data1_x[3]_lut_out = D1_q_data1_x[4];
D1_q_data1_x[3] = DFFEA(D1_q_data1_x[3]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L702 is ps2:uA|Select~781
--operation mode is normal

D1L702 = D1L89Q & (D1_q_data1_x[3] # D1_q_data2_x[3] & !D1L191) # !D1L89Q & D1_q_data2_x[3] & !D1L191;


--D1_q_data1_x[5] is ps2:uA|q_data1_x[5]
--operation mode is normal

D1_q_data1_x[5]_lut_out = D1_q_data1_x[6];
D1_q_data1_x[5] = DFFEA(D1_q_data1_x[5]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L802 is ps2:uA|Select~782
--operation mode is normal

D1L802 = D1L89Q & (D1_q_data1_x[5] # D1_q_data2_x[5] & !D1L191) # !D1L89Q & D1_q_data2_x[5] & !D1L191;


--D1_q_data1_x[2] is ps2:uA|q_data1_x[2]
--operation mode is normal

D1_q_data1_x[2]_lut_out = D1_q_data1_x[3];
D1_q_data1_x[2] = DFFEA(D1_q_data1_x[2]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L902 is ps2:uA|Select~783
--operation mode is normal

D1L902 = D1L89Q & (D1_q_data1_x[2] # D1_q_data2_x[2] & !D1L191) # !D1L89Q & D1_q_data2_x[2] & !D1L191;


--E1_safe_q[0] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[0]
--operation mode is arithmetic

E1_safe_q[0]_lut_out = !E1_safe_q[0];
E1_safe_q[0]_sload_eqn = (A1L822 & A1L462) # (!A1L822 & E1_safe_q[0]_lut_out);
E1_safe_q[0] = DFFEA(E1_safe_q[0]_sload_eqn, A1L241, VCC, , , , );

--E1L2 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella0~COUT
--operation mode is arithmetic

E1L2 = CARRY(E1_safe_q[0]);


--E1_safe_q[1] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[1]
--operation mode is arithmetic

E1_safe_q[1]_carry_eqn = E1L2;
E1_safe_q[1]_lut_out = E1_safe_q[1] $ E1_safe_q[1]_carry_eqn;
E1_safe_q[1]_sload_eqn = (A1L822 & A1L562) # (!A1L822 & E1_safe_q[1]_lut_out);
E1_safe_q[1] = DFFEA(E1_safe_q[1]_sload_eqn, A1L241, VCC, , , , );

--E1L4 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella1~COUT
--operation mode is arithmetic

E1L4 = CARRY(!E1L2 # !E1_safe_q[1]);


--E1_safe_q[2] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[2]
--operation mode is arithmetic

E1_safe_q[2]_carry_eqn = E1L4;
E1_safe_q[2]_lut_out = E1_safe_q[2] $ !E1_safe_q[2]_carry_eqn;
E1_safe_q[2]_sload_eqn = (A1L822 & A1L662) # (!A1L822 & E1_safe_q[2]_lut_out);
E1_safe_q[2] = DFFEA(E1_safe_q[2]_sload_eqn, A1L241, VCC, , , , );

--E1L6 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella2~COUT
--operation mode is arithmetic

E1L6 = CARRY(E1_safe_q[2] & !E1L4);


--E1_safe_q[3] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[3]
--operation mode is arithmetic

E1_safe_q[3]_carry_eqn = E1L6;
E1_safe_q[3]_lut_out = E1_safe_q[3] $ E1_safe_q[3]_carry_eqn;
E1_safe_q[3]_sload_eqn = (A1L822 & A1L762) # (!A1L822 & E1_safe_q[3]_lut_out);
E1_safe_q[3] = DFFEA(E1_safe_q[3]_sload_eqn, A1L241, VCC, , , , );

--E1L8 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella3~COUT
--operation mode is arithmetic

E1L8 = CARRY(!E1L6 # !E1_safe_q[3]);


--A1L522 is reduce_nor~182
--operation mode is normal

A1L522 = !E1_safe_q[3] # !E1_safe_q[2] # !E1_safe_q[1] # !E1_safe_q[0];


--E1_safe_q[4] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[4]
--operation mode is arithmetic

E1_safe_q[4]_carry_eqn = E1L8;
E1_safe_q[4]_lut_out = E1_safe_q[4] $ !E1_safe_q[4]_carry_eqn;
E1_safe_q[4]_sload_eqn = (A1L822 & A1L862) # (!A1L822 & E1_safe_q[4]_lut_out);
E1_safe_q[4] = DFFEA(E1_safe_q[4]_sload_eqn, A1L241, VCC, , , , );

--E1L01 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella4~COUT
--operation mode is arithmetic

E1L01 = CARRY(E1_safe_q[4] & !E1L8);


--E1_safe_q[5] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[5]
--operation mode is arithmetic

E1_safe_q[5]_carry_eqn = E1L01;
E1_safe_q[5]_lut_out = E1_safe_q[5] $ E1_safe_q[5]_carry_eqn;
E1_safe_q[5]_sload_eqn = (A1L822 & A1L962) # (!A1L822 & E1_safe_q[5]_lut_out);
E1_safe_q[5] = DFFEA(E1_safe_q[5]_sload_eqn, A1L241, VCC, , , , );

--E1L21 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella5~COUT
--operation mode is arithmetic

E1L21 = CARRY(!E1L01 # !E1_safe_q[5]);


--E1_safe_q[6] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[6]
--operation mode is arithmetic

E1_safe_q[6]_carry_eqn = E1L21;
E1_safe_q[6]_lut_out = E1_safe_q[6] $ !E1_safe_q[6]_carry_eqn;
E1_safe_q[6]_sload_eqn = (A1L822 & A1L072) # (!A1L822 & E1_safe_q[6]_lut_out);
E1_safe_q[6] = DFFEA(E1_safe_q[6]_sload_eqn, A1L241, VCC, , , , );

--E1L41 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella6~COUT
--operation mode is arithmetic

E1L41 = CARRY(E1_safe_q[6] & !E1L21);


--E1_safe_q[7] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[7]
--operation mode is arithmetic

E1_safe_q[7]_carry_eqn = E1L41;
E1_safe_q[7]_lut_out = E1_safe_q[7] $ E1_safe_q[7]_carry_eqn;
E1_safe_q[7]_sload_eqn = (A1L822 & A1L172) # (!A1L822 & E1_safe_q[7]_lut_out);
E1_safe_q[7] = DFFEA(E1_safe_q[7]_sload_eqn, A1L241, VCC, , , , );

--E1L61 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella7~COUT
--operation mode is arithmetic

E1L61 = CARRY(!E1L41 # !E1_safe_q[7]);


--A1L622 is reduce_nor~183
--operation mode is normal

A1L622 = !E1_safe_q[7] # !E1_safe_q[6] # !E1_safe_q[5] # !E1_safe_q[4];


--E1_safe_q[9] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[9]
--operation mode is arithmetic

E1_safe_q[9]_carry_eqn = E1L81;
E1_safe_q[9]_lut_out = E1_safe_q[9] $ E1_safe_q[9]_carry_eqn;
E1_safe_q[9]_sload_eqn = (A1L822 & A1L372) # (!A1L822 & E1_safe_q[9]_lut_out);
E1_safe_q[9] = DFFEA(E1_safe_q[9]_sload_eqn, A1L241, VCC, , , , );

--E1L02 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella9~COUT
--operation mode is arithmetic

E1L02 = CARRY(!E1L81 # !E1_safe_q[9]);


--E1_safe_q[10] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[10]
--operation mode is normal

E1_safe_q[10]_carry_eqn = E1L02;
E1_safe_q[10]_lut_out = E1_safe_q[10] $ !E1_safe_q[10]_carry_eqn;
E1_safe_q[10]_sload_eqn = (A1L822 & A1L472) # (!A1L822 & E1_safe_q[10]_lut_out);
E1_safe_q[10] = DFFEA(E1_safe_q[10]_sload_eqn, A1L241, VCC, , , , );


--A1L722 is reduce_nor~184
--operation mode is normal

A1L722 = !E1_safe_q[10] # !E1_safe_q[9];


--E1_safe_q[8] is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|safe_q[8]
--operation mode is arithmetic

E1_safe_q[8]_carry_eqn = E1L61;
E1_safe_q[8]_lut_out = E1_safe_q[8] $ !E1_safe_q[8]_carry_eqn;
E1_safe_q[8]_sload_eqn = (A1L822 & A1L272) # (!A1L822 & E1_safe_q[8]_lut_out);
E1_safe_q[8] = DFFEA(E1_safe_q[8]_sload_eqn, A1L241, VCC, , , , );

--E1L81 is lpm_counter:\GenSpkS:Count11[0]_rtl_2|cntr_7t7:auto_generated|counter_cella8~COUT
--operation mode is arithmetic

E1L81 = CARRY(E1_safe_q[8] & !E1L61);


--A1L822 is reduce_nor~185
--operation mode is normal

A1L822 = !A1L522 & !A1L622 & !A1L722 & E1_safe_q[8];


--F1_safe_q[2] is lpm_counter:Count4_rtl_3|cntr_ea7:auto_generated|safe_q[2]
--operation mode is arithmetic

F1_safe_q[2]_carry_eqn = F1L4;
F1_safe_q[2]_lut_out = F1_safe_q[2] $ !F1_safe_q[2]_carry_eqn;
F1_safe_q[2] = DFFEA(F1_safe_q[2]_lut_out, CLK1, !A1L241, , , , );

--F1L6 is lpm_counter:Count4_rtl_3|cntr_ea7:auto_generated|counter_cella2~COUT
--operation mode is arithmetic

F1L6 = CARRY(F1_safe_q[2] & !F1L4);


--F1_safe_q[3] is lpm_counter:Count4_rtl_3|cntr_ea7:auto_generated|safe_q[3]
--operation mode is normal

F1_safe_q[3]_carry_eqn = F1L6;
F1_safe_q[3]_lut_out = F1_safe_q[3] $ F1_safe_q[3]_carry_eqn;
F1_safe_q[3] = DFFEA(F1_safe_q[3]_lut_out, CLK1, !A1L241, , , , );


--A1L241 is PreCLK~15
--operation mode is normal

A1L241 = F1_safe_q[2] & F1_safe_q[3];


--A1L31 is add~10
--operation mode is normal

A1L31_carry_eqn = A1L21;
A1L31 = lowtimecount[6] $ !A1L31_carry_eqn;


--A1L11 is add~9
--operation mode is arithmetic

A1L11_carry_eqn = A1L01;
A1L11 = lowtimecount[5] $ A1L11_carry_eqn;

--A1L21 is add~9COUT
--operation mode is arithmetic

A1L21 = CARRY(!A1L01 # !lowtimecount[5]);


--A1L9 is add~8
--operation mode is arithmetic

A1L9_carry_eqn = A1L8;
A1L9 = lowtimecount[4] $ !A1L9_carry_eqn;

--A1L01 is add~8COUT
--operation mode is arithmetic

A1L01 = CARRY(lowtimecount[4] & !A1L8);


--A1L7 is add~7
--operation mode is arithmetic

A1L7_carry_eqn = A1L6;
A1L7 = lowtimecount[3] $ A1L7_carry_eqn;

--A1L8 is add~7COUT
--operation mode is arithmetic

A1L8 = CARRY(!A1L6 # !lowtimecount[3]);


--A1L5 is add~6
--operation mode is arithmetic

A1L5_carry_eqn = A1L4;
A1L5 = lowtimecount[2] $ !A1L5_carry_eqn;

--A1L6 is add~6COUT
--operation mode is arithmetic

A1L6 = CARRY(lowtimecount[2] & !A1L4);


--D1L861 is ps2:uA|q_data2_x[8]~0
--operation mode is normal

D1L861 = !D1L71 & (D1L89Q # !D1L191);


--D1_q_data1_x[8] is ps2:uA|q_data1_x[8]
--operation mode is normal

D1_q_data1_x[8]_lut_out = A1L151;
D1_q_data1_x[8] = DFFEA(D1_q_data1_x[8]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L012 is ps2:uA|Select~784
--operation mode is normal

D1L012 = D1L89Q & (D1_q_data1_x[8] # D1_q_data2_x[8] & !D1L191) # !D1L89Q & D1_q_data2_x[8] & !D1L191;


--D1_q_data1_x[7] is ps2:uA|q_data1_x[7]
--operation mode is normal

D1_q_data1_x[7]_lut_out = D1_q_data1_x[8];
D1_q_data1_x[7] = DFFEA(D1_q_data1_x[7]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L112 is ps2:uA|Select~785
--operation mode is normal

D1L112 = D1L89Q & (D1_q_data1_x[7] # D1_q_data2_x[7] & !D1L191) # !D1L89Q & D1_q_data2_x[7] & !D1L191;


--D1_q_data1_x[6] is ps2:uA|q_data1_x[6]
--operation mode is normal

D1_q_data1_x[6]_lut_out = D1_q_data1_x[7];
D1_q_data1_x[6] = DFFEA(D1_q_data1_x[6]_lut_out, D1_ps2_clk_r, VCC, , D1L841, , );


--D1L212 is ps2:uA|Select~786
--operation mode is normal

D1L212 = D1L89Q & (D1_q_data1_x[6] # D1_q_data2_x[6] & !D1L191) # !D1L89Q & D1_q_data2_x[6] & !D1L191;


--D1L881 is ps2:uA|q_data3_x[8]~0
--operation mode is normal

D1L881 = !D1L71 & (D1L901Q # !D1L302);


--D1L36Q is ps2:uA|m2_nexts~62
--operation mode is normal

D1L36Q_lut_out = D1L801Q;
D1L36Q = DFFEA(D1L36Q_lut_out, D1_ps2_clk_r, !D1L71, , , , );


--D1L312 is ps2:uA|Select~787
--operation mode is normal

D1L312 = D1L901Q & (D1_q_data1_x[8] # D1_q_data3_x[8] & !D1L302) # !D1L901Q & D1_q_data3_x[8] & !D1L302;


--D1L502 is ps2:uA|reduce_or~347
--operation mode is normal

⌨️ 快捷键说明

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