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

📄 top.fit.eqn

📁 清华大学实验箱自带实验程序
💻 EQN
📖 第 1 页 / 共 5 页
字号:
-- 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 at LC_X11_Y13_N9
--operation mode is normal

H1_hsyncb_lut_out = H1_hcnt[10] # H1_hcnt[7] $ !H1L3 # !C1L3;
H1_hsyncb = DFFEAS(H1_hsyncb_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , , );


--H1_vsyncb is vgacore:showdata|vsyncb at LC_X16_Y14_N4
--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, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , , );


--F1_rgbout[5] is target:drawtarget|rgbout[5] at LC_X15_Y13_N5
--operation mode is normal

F1_rgbout[5]_lut_out = F1L06 & F1L16 & F1L26;
F1_rgbout[5] = DFFEAS(F1_rgbout[5]_lut_out, GLOBAL(sysclk), VCC, , , , , , );


--D1_ballrgb[6] is ball:drawball|ballrgb[6] at LC_X15_Y10_N9
--operation mode is normal

D1_ballrgb[6]_lut_out = !H1_hcnt[10] & (D1L634 # D1L534 # D1L434);
D1_ballrgb[6] = DFFEAS(D1_ballrgb[6]_lut_out, GLOBAL(sysclk), VCC, , , , , , );


--A1L71 is rgb~16 at LC_X9_Y19_N5
--operation mode is normal

A1L71 = D1_ballrgb[6] $ F1_rgbout[5];


--E1_rgbout[5] is board:drawboard|rgbout[5] at LC_X14_Y12_N3
--operation mode is normal

E1_rgbout[5]_lut_out = E1L94 & E1L15 & E1L84 & E1L05;
E1_rgbout[5] = DFFEAS(E1_rgbout[5]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , , );


--A1L81 is rgb~19 at LC_X9_Y19_N2
--operation mode is normal

A1L81 = E1_rgbout[5] $ F1_rgbout[5];


--C1_frameout[6] is frame:drawback|frameout[6] at LC_X15_Y13_N4
--operation mode is normal

C1_frameout[6]_lut_out = C1L7 # C1L9 & (C1L11 # C1L01);
C1_frameout[6] = DFFEAS(C1_frameout[6]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , , );


--A1L61 is rgb~14 at LC_X9_Y19_N4
--operation mode is normal

A1L61 = D1_ballrgb[6] $ C1_frameout[6];


--H1_hcnt[10] is vgacore:showdata|hcnt[10] at LC_X15_Y10_N5
--operation mode is normal

H1_hcnt[10]_carry_eqn = H1L63;
H1_hcnt[10]_lut_out = H1_hcnt[10]_carry_eqn $ !H1_hcnt[10];
H1_hcnt[10] = DFFEAS(H1_hcnt[10]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );


--H1_hcnt[8] is vgacore:showdata|hcnt[8] at LC_X15_Y10_N3
--operation mode is arithmetic

H1_hcnt[8]_carry_eqn = (!H1L12 & H1L03) # (H1L12 & H1L13);
H1_hcnt[8]_lut_out = H1_hcnt[8] $ !H1_hcnt[8]_carry_eqn;
H1_hcnt[8] = DFFEAS(H1_hcnt[8]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L33 is vgacore:showdata|hcnt[8]~261 at LC_X15_Y10_N3
--operation mode is arithmetic

H1L33_cout_0 = H1_hcnt[8] & !H1L03;
H1L33 = CARRY(H1L33_cout_0);

--H1L43 is vgacore:showdata|hcnt[8]~261COUT1_309 at LC_X15_Y10_N3
--operation mode is arithmetic

H1L43_cout_1 = H1_hcnt[8] & !H1L13;
H1L43 = CARRY(H1L43_cout_1);


--H1_hcnt[9] is vgacore:showdata|hcnt[9] at LC_X15_Y10_N4
--operation mode is arithmetic

H1_hcnt[9]_carry_eqn = (!H1L12 & H1L33) # (H1L12 & H1L43);
H1_hcnt[9]_lut_out = H1_hcnt[9] $ H1_hcnt[9]_carry_eqn;
H1_hcnt[9] = DFFEAS(H1_hcnt[9]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L63 is vgacore:showdata|hcnt[9]~265 at LC_X15_Y10_N4
--operation mode is arithmetic

H1L63 = CARRY(!H1L43 # !H1_hcnt[9]);


--C1L3 is frame:drawback|XX~1018 at LC_X11_Y13_N7
--operation mode is normal

C1L3 = H1_hcnt[8] & H1_hcnt[9];


--H1_hcnt[7] is vgacore:showdata|hcnt[7] at LC_X15_Y10_N2
--operation mode is arithmetic

H1_hcnt[7]_carry_eqn = (!H1L12 & H1L72) # (H1L12 & H1L82);
H1_hcnt[7]_lut_out = H1_hcnt[7] $ (H1_hcnt[7]_carry_eqn);
H1_hcnt[7] = DFFEAS(H1_hcnt[7]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L03 is vgacore:showdata|hcnt[7]~269 at LC_X15_Y10_N2
--operation mode is arithmetic

H1L03_cout_0 = !H1L72 # !H1_hcnt[7];
H1L03 = CARRY(H1L03_cout_0);

--H1L13 is vgacore:showdata|hcnt[7]~269COUT1_308 at LC_X15_Y10_N2
--operation mode is arithmetic

H1L13_cout_1 = !H1L82 # !H1_hcnt[7];
H1L13 = CARRY(H1L13_cout_1);


--H1_hcnt[6] is vgacore:showdata|hcnt[6] at LC_X15_Y10_N1
--operation mode is arithmetic

H1_hcnt[6]_carry_eqn = (!H1L12 & H1L42) # (H1L12 & H1L52);
H1_hcnt[6]_lut_out = H1_hcnt[6] $ (!H1_hcnt[6]_carry_eqn);
H1_hcnt[6] = DFFEAS(H1_hcnt[6]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L72 is vgacore:showdata|hcnt[6]~273 at LC_X15_Y10_N1
--operation mode is arithmetic

H1L72_cout_0 = H1_hcnt[6] & (!H1L42);
H1L72 = CARRY(H1L72_cout_0);

--H1L82 is vgacore:showdata|hcnt[6]~273COUT1_307 at LC_X15_Y10_N1
--operation mode is arithmetic

H1L82_cout_1 = H1_hcnt[6] & (!H1L52);
H1L82 = CARRY(H1L82_cout_1);


--H1_hcnt[5] is vgacore:showdata|hcnt[5] at LC_X15_Y10_N0
--operation mode is arithmetic

H1_hcnt[5]_carry_eqn = H1L12;
H1_hcnt[5]_lut_out = H1_hcnt[5] $ H1_hcnt[5]_carry_eqn;
H1_hcnt[5] = DFFEAS(H1_hcnt[5]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L42 is vgacore:showdata|hcnt[5]~277 at LC_X15_Y10_N0
--operation mode is arithmetic

H1L42_cout_0 = !H1L12 # !H1_hcnt[5];
H1L42 = CARRY(H1L42_cout_0);

--H1L52 is vgacore:showdata|hcnt[5]~277COUT1_306 at LC_X15_Y10_N0
--operation mode is arithmetic

H1L52_cout_1 = !H1L12 # !H1_hcnt[5];
H1L52 = CARRY(H1L52_cout_1);


--H1_hcnt[3] is vgacore:showdata|hcnt[3] at LC_X15_Y11_N8
--operation mode is arithmetic

H1_hcnt[3]_lut_out = H1_hcnt[3] $ H1L51;
H1_hcnt[3] = DFFEAS(H1_hcnt[3]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L81 is vgacore:showdata|hcnt[3]~281 at LC_X15_Y11_N8
--operation mode is arithmetic

H1L81_cout_0 = !H1L51 # !H1_hcnt[3];
H1L81 = CARRY(H1L81_cout_0);

--H1L91 is vgacore:showdata|hcnt[3]~281COUT1_305 at LC_X15_Y11_N8
--operation mode is arithmetic

H1L91_cout_1 = !H1L61 # !H1_hcnt[3];
H1L91 = CARRY(H1L91_cout_1);


--H1_hcnt[4] is vgacore:showdata|hcnt[4] at LC_X15_Y11_N9
--operation mode is arithmetic

H1_hcnt[4]_lut_out = H1_hcnt[4] $ (!H1L81);
H1_hcnt[4] = DFFEAS(H1_hcnt[4]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L12 is vgacore:showdata|hcnt[4]~285 at LC_X15_Y11_N9
--operation mode is arithmetic

H1L12 = CARRY(H1_hcnt[4] & (!H1L91));


--H1_hcnt[2] is vgacore:showdata|hcnt[2] at LC_X15_Y11_N7
--operation mode is arithmetic

H1_hcnt[2]_lut_out = H1_hcnt[2] $ (!H1L21);
H1_hcnt[2] = DFFEAS(H1_hcnt[2]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L51 is vgacore:showdata|hcnt[2]~289 at LC_X15_Y11_N7
--operation mode is arithmetic

H1L51_cout_0 = H1_hcnt[2] & (!H1L21);
H1L51 = CARRY(H1L51_cout_0);

--H1L61 is vgacore:showdata|hcnt[2]~289COUT1_304 at LC_X15_Y11_N7
--operation mode is arithmetic

H1L61_cout_1 = H1_hcnt[2] & (!H1L31);
H1L61 = CARRY(H1L61_cout_1);


--H1_hcnt[0] is vgacore:showdata|hcnt[0] at LC_X15_Y11_N5
--operation mode is arithmetic

H1_hcnt[0]_lut_out = !H1_hcnt[0];
H1_hcnt[0] = DFFEAS(H1_hcnt[0]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L9 is vgacore:showdata|hcnt[0]~293 at LC_X15_Y11_N5
--operation mode is arithmetic

H1L9_cout_0 = H1_hcnt[0];
H1L9 = CARRY(H1L9_cout_0);

--H1L01 is vgacore:showdata|hcnt[0]~293COUT1_302 at LC_X15_Y11_N5
--operation mode is arithmetic

H1L01_cout_1 = H1_hcnt[0];
H1L01 = CARRY(H1L01_cout_1);


--H1_hcnt[1] is vgacore:showdata|hcnt[1] at LC_X15_Y11_N6
--operation mode is arithmetic

H1_hcnt[1]_lut_out = H1_hcnt[1] $ (H1L9);
H1_hcnt[1] = DFFEAS(H1_hcnt[1]_lut_out, GLOBAL(sysclk), GLOBAL(resn), , , , , H1L04, );

--H1L21 is vgacore:showdata|hcnt[1]~297 at LC_X15_Y11_N6
--operation mode is arithmetic

H1L21_cout_0 = !H1L9 # !H1_hcnt[1];
H1L21 = CARRY(H1L21_cout_0);

--H1L31 is vgacore:showdata|hcnt[1]~297COUT1_303 at LC_X15_Y11_N6
--operation mode is arithmetic

H1L31_cout_1 = !H1L01 # !H1_hcnt[1];
H1L31 = CARRY(H1L31_cout_1);


--H1L1 is vgacore:showdata|C~255 at LC_X11_Y13_N5
--operation mode is normal

H1L1 = H1_hcnt[2] # H1_hcnt[0] # H1_hcnt[1];


--H1L2 is vgacore:showdata|C~256 at LC_X11_Y13_N0
--operation mode is normal

H1L2 = H1_hcnt[4] & (H1_hcnt[3] # H1_hcnt[7] & H1L1);


--H1L3 is vgacore:showdata|C~257 at LC_X11_Y13_N8
--operation mode is normal

H1L3 = H1_hcnt[6] & (H1_hcnt[5] # H1L2);


--H1_vcnt[5] is vgacore:showdata|vcnt[5] at LC_X15_Y12_N5
--operation mode is arithmetic

H1_vcnt[5]_carry_eqn = H1L75;
H1_vcnt[5]_lut_out = H1_vcnt[5] $ H1_vcnt[5]_carry_eqn;
H1_vcnt[5] = DFFEAS(H1_vcnt[5]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L95 is vgacore:showdata|vcnt[5]~260 at LC_X15_Y12_N5
--operation mode is arithmetic

H1L95_cout_0 = !H1L75 # !H1_vcnt[5];
H1L95 = CARRY(H1L95_cout_0);

--H1L06 is vgacore:showdata|vcnt[5]~260COUT1_304 at LC_X15_Y12_N5
--operation mode is arithmetic

H1L06_cout_1 = !H1L75 # !H1_vcnt[5];
H1L06 = CARRY(H1L06_cout_1);


--H1_vcnt[8] is vgacore:showdata|vcnt[8] at LC_X15_Y12_N8
--operation mode is arithmetic

H1_vcnt[8]_carry_eqn = (!H1L75 & H1L56) # (H1L75 & H1L66);
H1_vcnt[8]_lut_out = H1_vcnt[8] $ !H1_vcnt[8]_carry_eqn;
H1_vcnt[8] = DFFEAS(H1_vcnt[8]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L86 is vgacore:showdata|vcnt[8]~264 at LC_X15_Y12_N8
--operation mode is arithmetic

H1L86_cout_0 = H1_vcnt[8] & !H1L56;
H1L86 = CARRY(H1L86_cout_0);

--H1L96 is vgacore:showdata|vcnt[8]~264COUT1_307 at LC_X15_Y12_N8
--operation mode is arithmetic

H1L96_cout_1 = H1_vcnt[8] & !H1L66;
H1L96 = CARRY(H1L96_cout_1);


--H1_vcnt[9] is vgacore:showdata|vcnt[9] at LC_X15_Y12_N9
--operation mode is normal

H1_vcnt[9]_carry_eqn = (!H1L75 & H1L86) # (H1L75 & H1L96);
H1_vcnt[9]_lut_out = H1_vcnt[9] $ (H1_vcnt[9]_carry_eqn);
H1_vcnt[9] = DFFEAS(H1_vcnt[9]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );


--H1_vcnt[2] is vgacore:showdata|vcnt[2] at LC_X15_Y12_N2
--operation mode is arithmetic

H1_vcnt[2]_lut_out = H1_vcnt[2] $ (!H1L84);
H1_vcnt[2] = DFFEAS(H1_vcnt[2]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L15 is vgacore:showdata|vcnt[2]~272 at LC_X15_Y12_N2
--operation mode is arithmetic

H1L15_cout_0 = H1_vcnt[2] & (!H1L84);
H1L15 = CARRY(H1L15_cout_0);

--H1L25 is vgacore:showdata|vcnt[2]~272COUT1_302 at LC_X15_Y12_N2
--operation mode is arithmetic

H1L25_cout_1 = H1_vcnt[2] & (!H1L94);
H1L25 = CARRY(H1L25_cout_1);


--H1_vcnt[3] is vgacore:showdata|vcnt[3] at LC_X15_Y12_N3
--operation mode is arithmetic

H1_vcnt[3]_lut_out = H1_vcnt[3] $ H1L15;
H1_vcnt[3] = DFFEAS(H1_vcnt[3]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L45 is vgacore:showdata|vcnt[3]~276 at LC_X15_Y12_N3
--operation mode is arithmetic

H1L45_cout_0 = !H1L15 # !H1_vcnt[3];
H1L45 = CARRY(H1L45_cout_0);

--H1L55 is vgacore:showdata|vcnt[3]~276COUT1_303 at LC_X15_Y12_N3
--operation mode is arithmetic

H1L55_cout_1 = !H1L25 # !H1_vcnt[3];
H1L55 = CARRY(H1L55_cout_1);


--H1_vcnt[4] is vgacore:showdata|vcnt[4] at LC_X15_Y12_N4
--operation mode is arithmetic

H1_vcnt[4]_lut_out = H1_vcnt[4] $ !H1L45;
H1_vcnt[4] = DFFEAS(H1_vcnt[4]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L75 is vgacore:showdata|vcnt[4]~280 at LC_X15_Y12_N4
--operation mode is arithmetic

H1L75 = CARRY(H1_vcnt[4] & !H1L55);


--H1_vcnt[7] is vgacore:showdata|vcnt[7] at LC_X15_Y12_N7
--operation mode is arithmetic

H1_vcnt[7]_carry_eqn = (!H1L75 & H1L26) # (H1L75 & H1L36);
H1_vcnt[7]_lut_out = H1_vcnt[7] $ (H1_vcnt[7]_carry_eqn);
H1_vcnt[7] = DFFEAS(H1_vcnt[7]_lut_out, !GLOBAL(H1_hsyncb), GLOBAL(resn), , , , , H1L24, );

--H1L56 is vgacore:showdata|vcnt[7]~284 at LC_X15_Y12_N7
--operation mode is arithmetic

H1L56_cout_0 = !H1L26 # !H1_vcnt[7];
H1L56 = CARRY(H1L56_cout_0);

--H1L66 is vgacore:showdata|vcnt[7]~284COUT1_306 at LC_X15_Y12_N7
--operation mode is arithmetic

H1L66_cout_1 = !H1L36 # !H1_vcnt[7];
H1L66 = CARRY(H1L66_cout_1);


--H1L4 is vgacore:showdata|D~289 at LC_X14_Y12_N6
--operation mode is normal

H1L4 = H1_vcnt[2] & H1_vcnt[4] & !H1_vcnt[7] & H1_vcnt[3] # !H1_vcnt[2] & !H1_vcnt[4] & H1_vcnt[7] & !H1_vcnt[3];


⌨️ 快捷键说明

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