📄 top.map.eqn
字号:
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files any of the foregoing
-- (including device programming or simulation files), and any
-- associated documentation or information are expressly subject
-- to the terms and conditions of the Altera Program License
-- Subscription Agreement, Altera MegaCore Function License
-- Agreement, or other applicable license agreement, including,
-- without limitation, that your use is for the sole purpose of
-- programming logic devices manufactured by Altera and sold by
-- Altera or its authorized distributors. Please refer to the
-- applicable agreement for further details.
--H1_hsyncb is vgacore:showdata|hsyncb
--operation mode is normal
H1_hsyncb_lut_out = H1_hcnt[10] # H1_hcnt[7] $ !H1L3 # !C1L3;
H1_hsyncb = DFFEAS(H1_hsyncb_lut_out, sysclk, resn, , , , , , );
--H1_vsyncb is vgacore:showdata|vsyncb
--operation mode is normal
H1_vsyncb_lut_out = H1_vcnt[5] & (!H1L6 # !H1_vcnt[6]) # !H1_vcnt[5] & (H1_vcnt[6] # H1L6) # !H1L5;
H1_vsyncb = DFFEAS(H1_vsyncb_lut_out, !H1_hsyncb, resn, , , , , , );
--F1_rgbout[5] is target:drawtarget|rgbout[5]
--operation mode is normal
F1_rgbout[5]_lut_out = F1L44 & F1L54 & F1L64;
F1_rgbout[5] = DFFEAS(F1_rgbout[5]_lut_out, sysclk, VCC, , , , , , );
--D1_ballrgb[6] is ball:drawball|ballrgb[6]
--operation mode is normal
D1_ballrgb[6]_lut_out = !H1_hcnt[10] & (D1L103 # D1L203 # D1L303);
D1_ballrgb[6] = DFFEAS(D1_ballrgb[6]_lut_out, sysclk, VCC, , , , , , );
--A1L71 is rgb~16
--operation mode is normal
A1L71 = F1_rgbout[5] $ D1_ballrgb[6];
--E1_rgbout[5] is board:drawboard|rgbout[5]
--operation mode is normal
E1_rgbout[5]_lut_out = E1L43 & E1L53 & E1L23 & E1L33;
E1_rgbout[5] = DFFEAS(E1_rgbout[5]_lut_out, sysclk, resn, , , , , , );
--A1L81 is rgb~19
--operation mode is normal
A1L81 = F1_rgbout[5] $ E1_rgbout[5];
--C1_frameout[6] is frame:drawback|frameout[6]
--operation mode is normal
C1_frameout[6]_lut_out = C1L7 # C1L9 & (C1L01 # C1L11);
C1_frameout[6] = DFFEAS(C1_frameout[6]_lut_out, sysclk, resn, , , , , , );
--A1L61 is rgb~14
--operation mode is normal
A1L61 = D1_ballrgb[6] $ C1_frameout[6];
--H1_hcnt[10] is vgacore:showdata|hcnt[10]
--operation mode is normal
H1_hcnt[10]_carry_eqn = H1L82;
H1_hcnt[10]_lut_out = H1_hcnt[10] $ (!H1_hcnt[10]_carry_eqn);
H1_hcnt[10] = DFFEAS(H1_hcnt[10]_lut_out, sysclk, resn, , , , , H1L23, );
--H1_hcnt[8] is vgacore:showdata|hcnt[8]
--operation mode is arithmetic
H1_hcnt[8]_carry_eqn = H1L42;
H1_hcnt[8]_lut_out = H1_hcnt[8] $ (!H1_hcnt[8]_carry_eqn);
H1_hcnt[8] = DFFEAS(H1_hcnt[8]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L62 is vgacore:showdata|hcnt[8]~261
--operation mode is arithmetic
H1L62 = CARRY(H1_hcnt[8] & (!H1L42));
--H1_hcnt[9] is vgacore:showdata|hcnt[9]
--operation mode is arithmetic
H1_hcnt[9]_carry_eqn = H1L62;
H1_hcnt[9]_lut_out = H1_hcnt[9] $ (H1_hcnt[9]_carry_eqn);
H1_hcnt[9] = DFFEAS(H1_hcnt[9]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L82 is vgacore:showdata|hcnt[9]~265
--operation mode is arithmetic
H1L82 = CARRY(!H1L62 # !H1_hcnt[9]);
--C1L3 is frame:drawback|XX~1018
--operation mode is normal
C1L3 = H1_hcnt[8] & H1_hcnt[9];
--H1_hcnt[7] is vgacore:showdata|hcnt[7]
--operation mode is arithmetic
H1_hcnt[7]_carry_eqn = H1L22;
H1_hcnt[7]_lut_out = H1_hcnt[7] $ (H1_hcnt[7]_carry_eqn);
H1_hcnt[7] = DFFEAS(H1_hcnt[7]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L42 is vgacore:showdata|hcnt[7]~269
--operation mode is arithmetic
H1L42 = CARRY(!H1L22 # !H1_hcnt[7]);
--H1_hcnt[6] is vgacore:showdata|hcnt[6]
--operation mode is arithmetic
H1_hcnt[6]_carry_eqn = H1L02;
H1_hcnt[6]_lut_out = H1_hcnt[6] $ (!H1_hcnt[6]_carry_eqn);
H1_hcnt[6] = DFFEAS(H1_hcnt[6]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L22 is vgacore:showdata|hcnt[6]~273
--operation mode is arithmetic
H1L22 = CARRY(H1_hcnt[6] & (!H1L02));
--H1_hcnt[5] is vgacore:showdata|hcnt[5]
--operation mode is arithmetic
H1_hcnt[5]_carry_eqn = H1L71;
H1_hcnt[5]_lut_out = H1_hcnt[5] $ (H1_hcnt[5]_carry_eqn);
H1_hcnt[5] = DFFEAS(H1_hcnt[5]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L02 is vgacore:showdata|hcnt[5]~277
--operation mode is arithmetic
H1L02 = CARRY(!H1L71 # !H1_hcnt[5]);
--H1_hcnt[3] is vgacore:showdata|hcnt[3]
--operation mode is arithmetic
H1_hcnt[3]_carry_eqn = H1L31;
H1_hcnt[3]_lut_out = H1_hcnt[3] $ (H1_hcnt[3]_carry_eqn);
H1_hcnt[3] = DFFEAS(H1_hcnt[3]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L51 is vgacore:showdata|hcnt[3]~281
--operation mode is arithmetic
H1L51 = CARRY(!H1L31 # !H1_hcnt[3]);
--H1_hcnt[4] is vgacore:showdata|hcnt[4]
--operation mode is arithmetic
H1_hcnt[4]_carry_eqn = H1L51;
H1_hcnt[4]_lut_out = H1_hcnt[4] $ (!H1_hcnt[4]_carry_eqn);
H1_hcnt[4] = DFFEAS(H1_hcnt[4]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L71 is vgacore:showdata|hcnt[4]~285
--operation mode is arithmetic
H1L71 = CARRY(H1_hcnt[4] & (!H1L51));
--H1_hcnt[2] is vgacore:showdata|hcnt[2]
--operation mode is arithmetic
H1_hcnt[2]_carry_eqn = H1L11;
H1_hcnt[2]_lut_out = H1_hcnt[2] $ (!H1_hcnt[2]_carry_eqn);
H1_hcnt[2] = DFFEAS(H1_hcnt[2]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L31 is vgacore:showdata|hcnt[2]~289
--operation mode is arithmetic
H1L31 = CARRY(H1_hcnt[2] & (!H1L11));
--H1_hcnt[0] is vgacore:showdata|hcnt[0]
--operation mode is arithmetic
H1_hcnt[0]_lut_out = !H1_hcnt[0];
H1_hcnt[0] = DFFEAS(H1_hcnt[0]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L9 is vgacore:showdata|hcnt[0]~293
--operation mode is arithmetic
H1L9 = CARRY(H1_hcnt[0]);
--H1_hcnt[1] is vgacore:showdata|hcnt[1]
--operation mode is arithmetic
H1_hcnt[1]_carry_eqn = H1L9;
H1_hcnt[1]_lut_out = H1_hcnt[1] $ (H1_hcnt[1]_carry_eqn);
H1_hcnt[1] = DFFEAS(H1_hcnt[1]_lut_out, sysclk, resn, , , , , H1L23, );
--H1L11 is vgacore:showdata|hcnt[1]~297
--operation mode is arithmetic
H1L11 = CARRY(!H1L9 # !H1_hcnt[1]);
--H1L1 is vgacore:showdata|C~255
--operation mode is normal
H1L1 = H1_hcnt[2] # H1_hcnt[0] # H1_hcnt[1];
--H1L2 is vgacore:showdata|C~256
--operation mode is normal
H1L2 = H1_hcnt[4] & (H1_hcnt[3] # H1_hcnt[7] & H1L1);
--H1L3 is vgacore:showdata|C~257
--operation mode is normal
H1L3 = H1_hcnt[6] & (H1_hcnt[5] # H1L2);
--H1_vcnt[5] is vgacore:showdata|vcnt[5]
--operation mode is arithmetic
H1_vcnt[5]_carry_eqn = H1L54;
H1_vcnt[5]_lut_out = H1_vcnt[5] $ (H1_vcnt[5]_carry_eqn);
H1_vcnt[5] = DFFEAS(H1_vcnt[5]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L74 is vgacore:showdata|vcnt[5]~260
--operation mode is arithmetic
H1L74 = CARRY(!H1L54 # !H1_vcnt[5]);
--H1_vcnt[8] is vgacore:showdata|vcnt[8]
--operation mode is arithmetic
H1_vcnt[8]_carry_eqn = H1L15;
H1_vcnt[8]_lut_out = H1_vcnt[8] $ (!H1_vcnt[8]_carry_eqn);
H1_vcnt[8] = DFFEAS(H1_vcnt[8]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L35 is vgacore:showdata|vcnt[8]~264
--operation mode is arithmetic
H1L35 = CARRY(H1_vcnt[8] & (!H1L15));
--H1_vcnt[9] is vgacore:showdata|vcnt[9]
--operation mode is normal
H1_vcnt[9]_carry_eqn = H1L35;
H1_vcnt[9]_lut_out = H1_vcnt[9] $ (H1_vcnt[9]_carry_eqn);
H1_vcnt[9] = DFFEAS(H1_vcnt[9]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1_vcnt[2] is vgacore:showdata|vcnt[2]
--operation mode is arithmetic
H1_vcnt[2]_carry_eqn = H1L93;
H1_vcnt[2]_lut_out = H1_vcnt[2] $ (!H1_vcnt[2]_carry_eqn);
H1_vcnt[2] = DFFEAS(H1_vcnt[2]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L14 is vgacore:showdata|vcnt[2]~272
--operation mode is arithmetic
H1L14 = CARRY(H1_vcnt[2] & (!H1L93));
--H1_vcnt[3] is vgacore:showdata|vcnt[3]
--operation mode is arithmetic
H1_vcnt[3]_carry_eqn = H1L14;
H1_vcnt[3]_lut_out = H1_vcnt[3] $ (H1_vcnt[3]_carry_eqn);
H1_vcnt[3] = DFFEAS(H1_vcnt[3]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L34 is vgacore:showdata|vcnt[3]~276
--operation mode is arithmetic
H1L34 = CARRY(!H1L14 # !H1_vcnt[3]);
--H1_vcnt[4] is vgacore:showdata|vcnt[4]
--operation mode is arithmetic
H1_vcnt[4]_carry_eqn = H1L34;
H1_vcnt[4]_lut_out = H1_vcnt[4] $ (!H1_vcnt[4]_carry_eqn);
H1_vcnt[4] = DFFEAS(H1_vcnt[4]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L54 is vgacore:showdata|vcnt[4]~280
--operation mode is arithmetic
H1L54 = CARRY(H1_vcnt[4] & (!H1L34));
--H1_vcnt[7] is vgacore:showdata|vcnt[7]
--operation mode is arithmetic
H1_vcnt[7]_carry_eqn = H1L94;
H1_vcnt[7]_lut_out = H1_vcnt[7] $ (H1_vcnt[7]_carry_eqn);
H1_vcnt[7] = DFFEAS(H1_vcnt[7]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L15 is vgacore:showdata|vcnt[7]~284
--operation mode is arithmetic
H1L15 = CARRY(!H1L94 # !H1_vcnt[7]);
--H1L4 is vgacore:showdata|D~289
--operation mode is normal
H1L4 = H1_vcnt[2] & H1_vcnt[3] & H1_vcnt[4] & !H1_vcnt[7] # !H1_vcnt[2] & !H1_vcnt[3] & !H1_vcnt[4] & H1_vcnt[7];
--H1L5 is vgacore:showdata|D~290
--operation mode is normal
H1L5 = !H1_vcnt[8] & H1_vcnt[9] & H1L4;
--H1_vcnt[6] is vgacore:showdata|vcnt[6]
--operation mode is arithmetic
H1_vcnt[6]_carry_eqn = H1L74;
H1_vcnt[6]_lut_out = H1_vcnt[6] $ (!H1_vcnt[6]_carry_eqn);
H1_vcnt[6] = DFFEAS(H1_vcnt[6]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L94 is vgacore:showdata|vcnt[6]~288
--operation mode is arithmetic
H1L94 = CARRY(H1_vcnt[6] & (!H1L74));
--H1_vcnt[0] is vgacore:showdata|vcnt[0]
--operation mode is arithmetic
H1_vcnt[0]_lut_out = !H1_vcnt[0];
H1_vcnt[0] = DFFEAS(H1_vcnt[0]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L73 is vgacore:showdata|vcnt[0]~292
--operation mode is arithmetic
H1L73 = CARRY(H1_vcnt[0]);
--H1_vcnt[1] is vgacore:showdata|vcnt[1]
--operation mode is arithmetic
H1_vcnt[1]_carry_eqn = H1L73;
H1_vcnt[1]_lut_out = H1_vcnt[1] $ (H1_vcnt[1]_carry_eqn);
H1_vcnt[1] = DFFEAS(H1_vcnt[1]_lut_out, !H1_hsyncb, resn, , , , , H1L43, );
--H1L93 is vgacore:showdata|vcnt[1]~296
--operation mode is arithmetic
H1L93 = CARRY(!H1L73 # !H1_vcnt[1]);
--H1L6 is vgacore:showdata|D~291
--operation mode is normal
H1L6 = H1_vcnt[2] & (H1_vcnt[0] # H1_vcnt[1] # !H1_vcnt[6]);
--F1L44 is target:drawtarget|drawtarget~84
--operation mode is normal
F1L44 = !H1_hcnt[10] & !H1_vcnt[7] & !H1_vcnt[5] & !H1_vcnt[8];
--F1L54 is target:drawtarget|drawtarget~85
--operation mode is normal
F1L54 = H1_vcnt[4] & (H1_vcnt[2] & (!H1_vcnt[1] # !H1_vcnt[3]) # !H1_vcnt[2] & H1_vcnt[3]);
--F1L15 is target:drawtarget|LessThan~1023
--operation mode is normal
F1L15_carry_eqn = F1L45;
F1L15 = H1_hcnt[9] & F1L1 & F1L15_carry_eqn # !H1_hcnt[9] & (F1L1 # F1L15_carry_eqn);
--F1L25 is target:drawtarget|LessThan~1028
--operation mode is normal
F1L25_carry_eqn = F1L65;
F1L25 = F1L2 & H1_hcnt[9] & F1L25_carry_eqn # !F1L2 & (H1_hcnt[9] # F1L25_carry_eqn);
--F1L64 is target:drawtarget|drawtarget~86
--operation mode is normal
F1L64 = !H1_vcnt[9] & !H1_vcnt[6] & !F1L15 & !F1L25;
--D1L403 is ball:drawball|LessThan~1930
--operation mode is normal
D1L403_carry_eqn = D1L713;
D1L403 = D1L1 & H1_vcnt[9] & D1L403_carry_eqn # !D1L1 & (H1_vcnt[9] # D1L403_carry_eqn);
--D1L503 is ball:drawball|LessThan~1935
--operation mode is normal
D1L503_carry_eqn = D1L913;
D1L503 = H1_vcnt[9] & D1L2 & D1L503_carry_eqn # !H1_vcnt[9] & (D1L2 # D1L503_carry_eqn);
--D1L603 is ball:drawball|LessThan~1940
--operation mode is normal
D1L603_carry_eqn = D1L123;
D1L603 = H1_hcnt[9] & D1L3 & D1L603_carry_eqn # !H1_hcnt[9] & (D1L3 # D1L603_carry_eqn);
--D1L703 is ball:drawball|LessThan~1945
--operation mode is normal
D1L703_carry_eqn = D1L323;
D1L703 = D1L4 & H1_hcnt[9] & D1L703_carry_eqn # !D1L4 & (H1_hcnt[9] # D1L703_carry_eqn);
--D1L103 is ball:drawball|drawball~113
--operation mode is normal
D1L103 = !D1L403 & !D1L503 & !D1L603 & !D1L703;
--D1L803 is ball:drawball|LessThan~1950
--operation mode is normal
D1L803_carry_eqn = D1L523;
D1L803 = D1L5 & H1_vcnt[9] & D1L803_carry_eqn # !D1L5 & (H1_vcnt[9] # D1L803_carry_eqn);
--D1L903 is ball:drawball|LessThan~1955
--operation mode is normal
D1L903_carry_eqn = D1L723;
D1L903 = H1_vcnt[9] & D1L6 & D1L903_carry_eqn # !H1_vcnt[9] & (D1L6 # D1L903_carry_eqn);
--D1L013 is ball:drawball|LessThan~1960
--operation mode is normal
D1L013_carry_eqn = D1L923;
D1L013 = H1_hcnt[9] & D1L7 & D1L013_carry_eqn # !H1_hcnt[9] & (D1L7 # D1L013_carry_eqn);
--D1L113 is ball:drawball|LessThan~1965
--operation mode is normal
D1L113_carry_eqn = D1L133;
D1L113 = D1L8 & H1_hcnt[9] & D1L113_carry_eqn # !D1L8 & (H1_hcnt[9] # D1L113_carry_eqn);
--D1L203 is ball:drawball|drawball~114
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -