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

📄 baseball_top.eqn

📁 用VHDL开发的棒球游戏
💻 EQN
📖 第 1 页 / 共 3 页
字号:
--operation mode is normal

F1L9Q_lut_out = F1L8Q & (F1L9Q # hitting_bit) # !F1L8Q & F1L9Q & !hitting_bit;
F1L9Q = DFFEA(F1L9Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--F1L3Q is batting:Inst_batting|sreg~10 at LC4_B15
--operation mode is normal

F1L3Q_lut_out = F1L3Q & (!F1L1Q # !hitting_bit) # !F1L3Q & hitting_bit & !F1L1Q;
F1L3Q = DFFEA(F1L3Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--G1L8 is batlatch:Inst_batting_latch|Select_282~43 at LC4_B16
--operation mode is normal

G1L8 = F1L11Q & F1L31Q & !F1L2Q & !F1L21Q;


--G1L9Q is batlatch:Inst_batting_latch|sreg~8 at LC8_B20
--operation mode is normal

G1L9Q_lut_out = !G1L7Q & C1L91 & (hitting_bit # G1L9Q);
G1L9Q = DFFEA(G1L9Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--C1L82 is base:Inst_base_state|Select_258~500 at LC4_B21
--operation mode is normal

C1L82 = C1L64Q & (C1L4 # G1L3Q & C1L52) # !C1L64Q & G1L3Q & C1L52;


--C1L03 is base:Inst_base_state|Select_258~551 at LC2_B23
--operation mode is normal

C1L03 = G1L1Q & (!G1L2Q # !C1L34Q) # !G1L1Q & !C1L82 & (!G1L2Q # !C1L34Q);


--C1L13 is base:Inst_base_state|Select_258~571 at LC3_B23
--operation mode is normal

C1L13 = (G1L4Q # C1L23 & (!G1L2Q # !C1L44Q)) & CASCADE(C1L03);


--D1L62 is baseball_led_out:Inst_baseball_led_out|score_adder_dataa[1]~6 at LC1_A18
--operation mode is normal

D1L62 = D1_score1_ff[1] & (D1_score0_ff[1] # change_ff) # !D1_score1_ff[1] & D1_score0_ff[1] & !change_ff;


--D1L03 is baseball_led_out:Inst_baseball_led_out|score_adder_datab[1]~21 at LC3_A22
--operation mode is normal

D1L03 = !J1L1Q & (J1L3Q # J1L2Q);


--J1L81 is score:Inst_score_state|sreg~131 at LC2_A15
--operation mode is normal

J1L81 = !C1L2Q & !C1L3Q & (!G1L3Q # !C1L1Q);


--J1L91 is score:Inst_score_state|sreg~132 at LC3_A15
--operation mode is normal

J1L91 = !G1L3Q & !G1L2Q & (!G1L1Q # !C1L3Q);


--D1_score_adder_datab[0] is baseball_led_out:Inst_baseball_led_out|score_adder_datab[0] at LC4_A22
--operation mode is normal

D1_score_adder_datab[0] = J1L1Q # J1L3Q & !J1L2Q;


--D1L52 is baseball_led_out:Inst_baseball_led_out|score_adder_dataa[0]~9 at LC1_A23
--operation mode is normal

D1L52 = D1_score1_ff[0] & (D1_score0_ff[0] # change_ff) # !D1_score1_ff[0] & D1_score0_ff[0] & !change_ff;


--D1L72 is baseball_led_out:Inst_baseball_led_out|score_adder_dataa[2]~12 at LC1_A20
--operation mode is normal

D1L72 = D1_score1_ff[2] & (D1_score0_ff[2] # change_ff) # !D1_score1_ff[2] & D1_score0_ff[2] & !change_ff;


--D1_score_adder_datab[2] is baseball_led_out:Inst_baseball_led_out|score_adder_datab[2] at LC2_A22
--operation mode is normal

D1_score_adder_datab[2] = J1L4Q & !J1L1Q & !J1L3Q & !J1L2Q;


--F1L8Q is batting:Inst_batting|sreg~15 at LC6_B14
--operation mode is normal

F1L8Q_lut_out = F1L7Q & (F1L8Q # hitting_bit) # !F1L7Q & F1L8Q & !hitting_bit;
F1L8Q = DFFEA(F1L8Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--F1L1Q is batting:Inst_batting|sreg~8 at LC6_B15
--operation mode is normal

F1L1Q_lut_out = F1L5Q & !hitting_bit & F1L1Q # !F1L5Q & (hitting_bit # F1L1Q);
F1L1Q = DFFEA(F1L1Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--J1L41 is score:Inst_score_state|i~1147 at LC6_A21
--operation mode is normal

J1L41 = (C1L2Q # !C1L3Q # !C1L1Q # !G1L3Q) & CASCADE(J1L61);


--J1L5 is score:Inst_score_state|i~192 at LC2_A21
--operation mode is normal

J1L5 = C1L3Q & (C1L1Q $ !C1L2Q) # !C1L3Q & (!C1L2Q # !C1L1Q) # !G1L4Q;


--J1L51 is score:Inst_score_state|i~1148 at LC3_A21
--operation mode is normal

J1L51 = (!C1L3Q # !C1L1Q # !C1L2Q # !G1L3Q) & CASCADE(J1L5);


--F1L7Q is batting:Inst_batting|sreg~14 at LC7_B14
--operation mode is normal

F1L7Q_lut_out = F1L6Q & (F1L7Q # hitting_bit) # !F1L6Q & F1L7Q & !hitting_bit;
F1L7Q = DFFEA(F1L7Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--F1L5Q is batting:Inst_batting|sreg~12 at LC7_B15
--operation mode is normal

F1L5Q_lut_out = F1L2Q & (F1L5Q # hitting_bit) # !F1L2Q & F1L5Q & !hitting_bit;
F1L5Q = DFFEA(F1L5Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--C1L92 is base:Inst_base_state|Select_258~536 at LC5_B23
--operation mode is normal

C1L92 = !C1L54Q & (C1L41 # !C1L44Q & !C1L74Q);


--C1L23 is base:Inst_base_state|Select_258~572 at LC6_B23
--operation mode is normal

C1L23 = (G1L1Q # !C1L32 & (G1L2Q # !C1L94Q)) & CASCADE(C1L92);


--F1L6Q is batting:Inst_batting|sreg~13 at LC8_B14
--operation mode is normal

F1L6Q_lut_out = F1L11Q & (F1L6Q # hitting_bit) # !F1L11Q & F1L6Q & !hitting_bit;
F1L6Q = DFFEA(F1L6Q_lut_out, GLOBAL(L1_q[14]), resetn, , , , );


--J1L7 is score:Inst_score_state|i~220 at LC1_A21
--operation mode is normal

J1L7 = C1L1Q $ C1L3Q;


--J1L6 is score:Inst_score_state|i~204 at LC4_A21
--operation mode is normal

J1L6 = C1L2Q & !G1L3Q # !C1L2Q & !G1L4Q # !J1L7;


--J1L01 is score:Inst_score_state|i~1079 at LC8_A21
--operation mode is normal

J1L01 = G1L4Q & !C1L1Q;


--J1L61 is score:Inst_score_state|i~1149 at LC5_A21
--operation mode is normal

J1L61 = (C1L3Q & !G1L2Q # !C1L3Q & !J1L01 # !C1L2Q) & CASCADE(J1L6);


--D1L6 is baseball_led_out:Inst_baseball_led_out|Mux_54_rtl_4~8 at LC7_A15
--operation mode is normal

D1L6 = D1_score0_ff[1] & (D1_score0_ff[0] & !D1_score0_ff[2] # !D1_score0_ff[0] & (D1_score0_ff[2] # !D1_score0_ff[3])) # !D1_score0_ff[1] & (D1_score0_ff[3] # D1_score0_ff[0] $ !D1_score0_ff[2]);


--D1L21 is baseball_led_out:Inst_baseball_led_out|Mux_61_rtl_4~8 at LC6_C21
--operation mode is normal

D1L21 = D1_score1_ff[1] & (D1_score1_ff[0] & !D1_score1_ff[2] # !D1_score1_ff[0] & (D1_score1_ff[2] # !D1_score1_ff[3])) # !D1_score1_ff[1] & (D1_score1_ff[3] # D1_score1_ff[0] $ !D1_score1_ff[2]);


--D1L3 is baseball_led_out:Inst_baseball_led_out|Mux_51_rtl_4~10 at LC7_A24
--operation mode is normal

D1L3 = D1_score0_ff[1] & (D1_score0_ff[2] # !D1_score0_ff[3] # !D1_score0_ff[0]) # !D1_score0_ff[1] & (D1_score0_ff[2] $ (D1_score0_ff[3] # !D1_score0_ff[0]));


--D1L5 is baseball_led_out:Inst_baseball_led_out|Mux_53_rtl_4~162 at LC2_A24
--operation mode is normal

D1L5 = D1_score0_ff[2] & (D1_score0_ff[0] & !D1_score0_ff[1] # !D1_score0_ff[3]) # !D1_score0_ff[2] & (D1_score0_ff[0] # D1_score0_ff[3] # !D1_score0_ff[1]);


--D1L9 is baseball_led_out:Inst_baseball_led_out|Mux_58_rtl_4~10 at LC2_C5
--operation mode is normal

D1L9 = D1_score1_ff[1] & (D1_score1_ff[2] # !D1_score1_ff[3] # !D1_score1_ff[0]) # !D1_score1_ff[1] & (D1_score1_ff[2] $ (D1_score1_ff[3] # !D1_score1_ff[0]));


--D1L11 is baseball_led_out:Inst_baseball_led_out|Mux_60_rtl_4~162 at LC2_C9
--operation mode is normal

D1L11 = D1_score1_ff[2] & (D1_score1_ff[0] & !D1_score1_ff[1] # !D1_score1_ff[3]) # !D1_score1_ff[2] & (D1_score1_ff[0] # D1_score1_ff[3] # !D1_score1_ff[1]);


--resetn is resetn at Pin_32
--operation mode is input

resetn = INPUT();


--clk is clk at Pin_39
--operation mode is input

clk = INPUT();


--hitn is hitn at Pin_31
--operation mode is input

hitn = INPUT();


--base1_led is base1_led at Pin_27
--operation mode is output

base1_led = OUTPUT(!C1L1Q);


--base2_led is base2_led at Pin_26
--operation mode is output

base2_led = OUTPUT(!C1L2Q);


--base3_led is base3_led at Pin_23
--operation mode is output

base3_led = OUTPUT(!C1L3Q);


--team0_led is team0_led at Pin_8
--operation mode is output

team0_led = OUTPUT(change_ff);


--team1_led is team1_led at Pin_94
--operation mode is output

team1_led = OUTPUT(!A1L41Q);


--out_led1 is out_led1 at Pin_29
--operation mode is output

out_led1 = OUTPUT(!H1L3Q);


--out_led2 is out_led2 at Pin_30
--operation mode is output

out_led2 = OUTPUT(H1L1);


--out_led3 is out_led3 at Pin_28
--operation mode is output

out_led3 = OUTPUT(!H1L2);


--score0_led[7] is score0_led[7] at Pin_97
--operation mode is output

score0_led[7] = OUTPUT(!D1L3);


--score0_led[6] is score0_led[6] at Pin_98
--operation mode is output

score0_led[6] = OUTPUT(!D1L4);


--score0_led[5] is score0_led[5] at Pin_6
--operation mode is output

score0_led[5] = OUTPUT(!D1L5);


--score0_led[4] is score0_led[4] at Pin_9
--operation mode is output

score0_led[4] = OUTPUT(!D1L6);


--score0_led[3] is score0_led[3] at Pin_7
--operation mode is output

score0_led[3] = OUTPUT(!D1L7);


--score0_led[2] is score0_led[2] at Pin_99
--operation mode is output

score0_led[2] = OUTPUT(!D1L8);


--score0_led[1] is score0_led[1] at Pin_5
--operation mode is output

score0_led[1] = OUTPUT(!A1L62);


--score0_led[0] is score0_led[0] at Pin_70
--operation mode is output

score0_led[0] = OUTPUT(VCC);


--score1_led[7] is score1_led[7] at Pin_84
--operation mode is output

score1_led[7] = OUTPUT(!D1L9);


--score1_led[6] is score1_led[6] at Pin_85
--operation mode is output

score1_led[6] = OUTPUT(!D1L01);


--score1_led[5] is score1_led[5] at Pin_86
--operation mode is output

score1_led[5] = OUTPUT(!D1L11);


--score1_led[4] is score1_led[4] at Pin_96
--operation mode is output

score1_led[4] = OUTPUT(!D1L21);


--score1_led[3] is score1_led[3] at Pin_93
--operation mode is output

score1_led[3] = OUTPUT(!D1L31);


--score1_led[2] is score1_led[2] at Pin_87
--operation mode is output

score1_led[2] = OUTPUT(!D1L41);


--score1_led[1] is score1_led[1] at Pin_81
--operation mode is output

score1_led[1] = OUTPUT(!A1L72);


--score1_led[0] is score1_led[0] at Pin_43
--operation mode is output

score1_led[0] = OUTPUT(VCC);


--batter_led[7] is batter_led[7] at Pin_13
--operation mode is output

batter_led[7] = OUTPUT(!E1L1);


--batter_led[6] is batter_led[6] at Pin_14
--operation mode is output

batter_led[6] = OUTPUT(GND);


--batter_led[5] is batter_led[5] at Pin_19
--operation mode is output

batter_led[5] = OUTPUT(G1L5);


--batter_led[4] is batter_led[4] at Pin_22
--operation mode is output

batter_led[4] = OUTPUT(!E1L5);


--batter_led[3] is batter_led[3] at Pin_20
--operation mode is output

batter_led[3] = OUTPUT(!E1L3);


--batter_led[2] is batter_led[2] at Pin_15
--operation mode is output

batter_led[2] = OUTPUT(!E1L4);


--batter_led[1] is batter_led[1] at Pin_16
--operation mode is output

batter_led[1] = OUTPUT(!E1L2);


--batter_led[0] is batter_led[0] at Pin_21
--operation mode is output

batter_led[0] = OUTPUT(VCC);


--A1L41Q is change_ff~0 at LC2_A19
--operation mode is normal

A1L41Q_lut_out = !change_ff;
A1L41Q = DFFEA(A1L41Q_lut_out, H1L6Q, resetn, , , , );


--E1L5 is batter_led_dec:Inst_batter_led_dec|i~157 at LC5_B16
--operation mode is normal

E1L5 = !F1L11Q & (F1L31Q # F1L21Q # !F1L2Q);


⌨️ 快捷键说明

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