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

📄 ep1c6_32_vga.fit.eqn

📁 VHDL入门实验。256色VGA显示驱动 开发软件Quartus II 6.0 芯片EP2c8Q208
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- 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.
--data[1] is data[1] at LC_X8_Y14_N3
--operation mode is normal

data[1]_lut_out = timer[9] & (v_dat[1] $ h_dat[1] $ timer[8]) # !timer[9] & (timer[8] & v_dat[1] # !timer[8] & (h_dat[1]));
data[1] = DFFEAS(data[1]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--hcount[2] is hcount[2] at LC_X11_Y14_N9
--operation mode is normal

hcount[2]_lut_out = A1L6;
hcount[2] = DFFEAS(hcount[2]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--hcount[1] is hcount[1] at LC_X11_Y14_N1
--operation mode is normal

hcount[1]_lut_out = A1L9;
hcount[1] = DFFEAS(hcount[1]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--hcount[0] is hcount[0] at LC_X11_Y14_N8
--operation mode is normal

hcount[0]_lut_out = GND;
hcount[0] = DFFEAS(hcount[0]_lut_out, GLOBAL(C1__clk0), VCC, , , A1L21, , , VCC);


--A1L021 is reduce_nor~77 at LC_X11_Y14_N6
--operation mode is normal

hcount[3]_qfbk = hcount[3];
A1L021 = hcount[2] & hcount[0] & hcount[3]_qfbk & hcount[1];

--hcount[3] is hcount[3] at LC_X11_Y14_N6
--operation mode is normal

hcount[3] = DFFEAS(A1L021, GLOBAL(C1__clk0), VCC, , , A1L3, , , VCC);


--hcount[5] is hcount[5] at LC_X9_Y14_N5
--operation mode is normal

hcount[5]_lut_out = A1L81 & !A1L321;
hcount[5] = DFFEAS(hcount[5]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--A1L301 is LessThan~2168 at LC_X8_Y14_N9
--operation mode is normal

A1L301 = !hcount[4] & !hcount[6] & !hcount[5] & !A1L021;


--hcount[9] is hcount[9] at LC_X9_Y14_N3
--operation mode is normal

hcount[9]_lut_out = !A1L321 & (A1L42);
hcount[9] = DFFEAS(hcount[9]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--hcount[8] is hcount[8] at LC_X9_Y14_N0
--operation mode is normal

hcount[8]_lut_out = !A1L321 & (A1L52);
hcount[8] = DFFEAS(hcount[8]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--A1L401 is LessThan~2169 at LC_X8_Y14_N7
--operation mode is normal

A1L401 = A1L301 & !hcount[7] # !hcount[8] # !hcount[9];


--A1L501 is LessThan~2170 at LC_X10_Y12_N8
--operation mode is normal

vcount[7]_qfbk = vcount[7];
A1L501 = !vcount[6] & !vcount[7]_qfbk;

--vcount[7] is vcount[7] at LC_X10_Y12_N8
--operation mode is normal

vcount[7] = DFFEAS(A1L501, GLOBAL(C1__clk0), VCC, , A1L321, A1L82, , , VCC);


--A1L18 is h_dat~1453 at LC_X10_Y12_N2
--operation mode is normal

vcount[5]_qfbk = vcount[5];
A1L18 = !vcount[4] & (!vcount[5]_qfbk);

--vcount[5] is vcount[5] at LC_X10_Y12_N2
--operation mode is normal

vcount[5] = DFFEAS(A1L18, GLOBAL(C1__clk0), VCC, , A1L321, A1L43, , , VCC);


--A1L121 is reduce_nor~78 at LC_X10_Y12_N0
--operation mode is normal

A1L121 = A1L18 & !vcount[1] & A1L501 & !vcount[8];


--vcount[3] is vcount[3] at LC_X10_Y13_N0
--operation mode is normal

vcount[3]_lut_out = A1L54 & (A1L911);
vcount[3] = DFFEAS(vcount[3]_lut_out, GLOBAL(C1__clk0), VCC, , A1L321, , , , );


--vcount[2] is vcount[2] at LC_X10_Y13_N5
--operation mode is normal

vcount[2]_lut_out = A1L84 & A1L911;
vcount[2] = DFFEAS(vcount[2]_lut_out, GLOBAL(C1__clk0), VCC, , A1L321, , , , );


--vcount[9] is vcount[9] at LC_X10_Y13_N3
--operation mode is normal

vcount[9]_lut_out = A1L15 & (A1L911);
vcount[9] = DFFEAS(vcount[9]_lut_out, GLOBAL(C1__clk0), VCC, , A1L321, , , , );


--A1L65 is dat_act~46 at LC_X10_Y13_N2
--operation mode is normal

A1L65 = A1L121 & !vcount[2] & !vcount[3] # !vcount[9];


--A1L75 is dat_act~47 at LC_X8_Y14_N0
--operation mode is normal

A1L75 = A1L65 & (hcount[9] # hcount[8] # !A1L301);


--A1L601 is LessThan~2171 at LC_X10_Y13_N8
--operation mode is normal

vcount[1]_qfbk = vcount[1];
A1L601 = !vcount[3] & !vcount[1]_qfbk & !vcount[2];

--vcount[1] is vcount[1] at LC_X10_Y13_N8
--operation mode is normal

vcount[1] = DFFEAS(A1L601, GLOBAL(C1__clk0), VCC, , A1L321, A1L93, , , VCC);


--A1L701 is LessThan~2172 at LC_X11_Y15_N6
--operation mode is normal

A1L701 = !vcount[4] & A1L601 # !vcount[5];


--A1L28 is h_dat~1454 at LC_X10_Y13_N4
--operation mode is normal

A1L28 = !vcount[8] & (!vcount[9]);


--A1L801 is LessThan~2173 at LC_X11_Y15_N7
--operation mode is normal

A1L801 = !hcount[7] & !hcount[8] & !hcount[9];


--A1L85 is dat_act~48 at LC_X11_Y15_N4
--operation mode is normal

A1L85 = !A1L801 & (!A1L701 # !A1L28 # !A1L501);


--A1L27 is disp_dato~64 at LC_X8_Y14_N8
--operation mode is normal

A1L27 = A1L401 & A1L75 & A1L85 & data[1];


--data[4] is data[4] at LC_X9_Y14_N1
--operation mode is normal

data[4]_lut_out = timer[8] & (v_dat[4] $ (timer[9] & !h_dat[4])) # !timer[8] & (h_dat[4] $ (timer[9] & v_dat[4]));
data[4] = DFFEAS(data[4]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--A1L37 is disp_dato~65 at LC_X8_Y14_N1
--operation mode is normal

A1L37 = A1L401 & A1L75 & A1L85 & data[4];


--data[7] is data[7] at LC_X8_Y14_N5
--operation mode is normal

data[7]_lut_out = timer[9] & (h_dat[7] $ v_dat[7] $ timer[8]) # !timer[9] & (timer[8] & (v_dat[7]) # !timer[8] & h_dat[7]);
data[7] = DFFEAS(data[7]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--A1L47 is disp_dato~66 at LC_X8_Y14_N6
--operation mode is normal

A1L47 = A1L401 & data[7] & A1L85 & A1L75;


--A1L901 is LessThan~2174 at LC_X11_Y15_N8
--operation mode is normal

A1L901 = hcount[5] & hcount[6] # !A1L801;


--A1L011 is LessThan~2175 at LC_X10_Y13_N1
--operation mode is normal

A1L011 = vcount[2] # vcount[9] # vcount[3] # !A1L121;


--v_dat[1] is v_dat[1] at LC_X11_Y14_N3
--operation mode is normal

v_dat[1]_lut_out = A1L061 # !hcount[9] & A1L311 & A1L361;
v_dat[1] = DFFEAS(v_dat[1]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--h_dat[1] is h_dat[1] at LC_X9_Y13_N4
--operation mode is normal

h_dat[1]_lut_out = A1L68 # A1L78 & (!vcount[7] # !A1L511);
h_dat[1] = DFFEAS(h_dat[1]_lut_out, GLOBAL(C1__clk0), VCC, , , , , , );


--timer[8] is timer[8] at LC_X9_Y12_N8
--operation mode is arithmetic

timer[8]_carry_eqn = (!A1L931 & A1L741) # (A1L931 & A1L841);
timer[8]_lut_out = timer[8] $ !timer[8]_carry_eqn;
timer[8] = DFFEAS(timer[8]_lut_out, GLOBAL(C1__clk0), VCC, , A1L811, , , , );

--A1L051 is timer[8]~81 at LC_X9_Y12_N8
--operation mode is arithmetic

A1L051_cout_0 = timer[8] & !A1L741;
A1L051 = CARRY(A1L051_cout_0);

--A1L151 is timer[8]~81COUT1_128 at LC_X9_Y12_N8
--operation mode is arithmetic

A1L151_cout_1 = timer[8] & !A1L841;
A1L151 = CARRY(A1L151_cout_1);


--timer[9] is timer[9] at LC_X9_Y12_N9
--operation mode is normal

timer[9]_carry_eqn = (!A1L931 & A1L051) # (A1L931 & A1L151);
timer[9]_lut_out = timer[9] $ (timer[9]_carry_eqn);
timer[9] = DFFEAS(timer[9]_lut_out, GLOBAL(C1__clk0), VCC, , A1L811, , , , );


--C1__clk0 is pll:U1|altpll:altpll_component|_clk0 at PLL_1
C1__clk0 = PLL.CLK0(.FBIN(), .ENA(), .CLKSWITCH(), .ARESET(), .PFDENA(), .SCANCLK(), .SCANACLR(), .SCANDATA(), .COMPARATOR(), .INCLK(clock), .INCLK(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .EXTCLKENA(), .EXTCLKENA(), .EXTCLKENA(), .EXTCLKENA());


--A1L1 is add~403 at LC_X10_Y14_N4
--operation mode is arithmetic

A1L1 = hcount[4] $ !A1L4;

--A1L2 is add~405 at LC_X10_Y14_N4
--operation mode is arithmetic

A1L2 = CARRY(hcount[4] & !A1L5);


--A1L3 is add~408 at LC_X10_Y14_N3
--operation mode is arithmetic

A1L3 = hcount[3] $ (A1L7);

--A1L4 is add~410 at LC_X10_Y14_N3
--operation mode is arithmetic

A1L4_cout_0 = !A1L7 # !hcount[3];
A1L4 = CARRY(A1L4_cout_0);

--A1L5 is add~410COUT1_507 at LC_X10_Y14_N3
--operation mode is arithmetic

A1L5_cout_1 = !A1L8 # !hcount[3];
A1L5 = CARRY(A1L5_cout_1);


--A1L6 is add~413 at LC_X10_Y14_N2
--operation mode is arithmetic

A1L6 = hcount[2] $ !A1L01;

--A1L7 is add~415 at LC_X10_Y14_N2
--operation mode is arithmetic

A1L7_cout_0 = hcount[2] & !A1L01;
A1L7 = CARRY(A1L7_cout_0);

--A1L8 is add~415COUT1_506 at LC_X10_Y14_N2
--operation mode is arithmetic

A1L8_cout_1 = hcount[2] & !A1L11;
A1L8 = CARRY(A1L8_cout_1);


--A1L9 is add~418 at LC_X10_Y14_N1
--operation mode is arithmetic

A1L9 = hcount[1] $ (A1L31);

--A1L01 is add~420 at LC_X10_Y14_N1
--operation mode is arithmetic

A1L01_cout_0 = !A1L31 # !hcount[1];
A1L01 = CARRY(A1L01_cout_0);

--A1L11 is add~420COUT1_505 at LC_X10_Y14_N1
--operation mode is arithmetic

A1L11_cout_1 = !A1L41 # !hcount[1];
A1L11 = CARRY(A1L11_cout_1);


--A1L21 is add~423 at LC_X10_Y14_N0
--operation mode is arithmetic

A1L21 = !hcount[0];

--A1L31 is add~425 at LC_X10_Y14_N0
--operation mode is arithmetic

A1L31_cout_0 = hcount[0];
A1L31 = CARRY(A1L31_cout_0);

--A1L41 is add~425COUT1_504 at LC_X10_Y14_N0
--operation mode is arithmetic

A1L41_cout_1 = hcount[0];
A1L41 = CARRY(A1L41_cout_1);


--A1L51 is add~428 at LC_X10_Y14_N6
--operation mode is arithmetic

A1L51_carry_eqn = (!A1L2 & A1L91) # (A1L2 & A1L02);
A1L51 = hcount[6] $ (!A1L51_carry_eqn);

--A1L61 is add~430 at LC_X10_Y14_N6
--operation mode is arithmetic

A1L61_cout_0 = hcount[6] & (!A1L91);
A1L61 = CARRY(A1L61_cout_0);

--A1L71 is add~430COUT1_509 at LC_X10_Y14_N6
--operation mode is arithmetic

A1L71_cout_1 = hcount[6] & (!A1L02);
A1L71 = CARRY(A1L71_cout_1);


--A1L81 is add~433 at LC_X10_Y14_N5
--operation mode is arithmetic

A1L81_carry_eqn = A1L2;
A1L81 = hcount[5] $ A1L81_carry_eqn;

--A1L91 is add~435 at LC_X10_Y14_N5
--operation mode is arithmetic

A1L91_cout_0 = !A1L2 # !hcount[5];
A1L91 = CARRY(A1L91_cout_0);

--A1L02 is add~435COUT1_508 at LC_X10_Y14_N5
--operation mode is arithmetic

A1L02_cout_1 = !A1L2 # !hcount[5];
A1L02 = CARRY(A1L02_cout_1);


--A1L221 is reduce_nor~79 at LC_X9_Y14_N4
--operation mode is normal

A1L221 = hcount[6] # hcount[5] # !hcount[8] # !hcount[9];


--A1L321 is reduce_nor~80 at LC_X10_Y12_N7
--operation mode is normal

A1L321 = !A1L221 & !hcount[7] & A1L021 & hcount[4];


--A1L12 is add~438 at LC_X10_Y14_N7
--operation mode is arithmetic

A1L12_carry_eqn = (!A1L2 & A1L61) # (A1L2 & A1L71);
A1L12 = hcount[7] $ (A1L12_carry_eqn);

--A1L22 is add~440 at LC_X10_Y14_N7
--operation mode is arithmetic

A1L22_cout_0 = !A1L61 # !hcount[7];
A1L22 = CARRY(A1L22_cout_0);

--A1L32 is add~440COUT1_510 at LC_X10_Y14_N7
--operation mode is arithmetic

A1L32_cout_1 = !A1L71 # !hcount[7];
A1L32 = CARRY(A1L32_cout_1);


--A1L42 is add~443 at LC_X10_Y14_N9
--operation mode is normal

A1L42_carry_eqn = (!A1L2 & A1L62) # (A1L2 & A1L72);
A1L42 = hcount[9] $ (A1L42_carry_eqn);


--A1L52 is add~448 at LC_X10_Y14_N8
--operation mode is arithmetic

A1L52_carry_eqn = (!A1L2 & A1L22) # (A1L2 & A1L32);
A1L52 = hcount[8] $ !A1L52_carry_eqn;

--A1L62 is add~450 at LC_X10_Y14_N8
--operation mode is arithmetic

A1L62_cout_0 = hcount[8] & !A1L22;
A1L62 = CARRY(A1L62_cout_0);

--A1L72 is add~450COUT1_511 at LC_X10_Y14_N8
--operation mode is arithmetic

A1L72_cout_1 = hcount[8] & !A1L32;
A1L72 = CARRY(A1L72_cout_1);


--A1L82 is add~453 at LC_X11_Y13_N7
--operation mode is arithmetic

A1L82_carry_eqn = (!A1L83 & A1L23) # (A1L83 & A1L33);
A1L82 = vcount[7] $ A1L82_carry_eqn;

--A1L92 is add~455 at LC_X11_Y13_N7
--operation mode is arithmetic

A1L92_cout_0 = !A1L23 # !vcount[7];
A1L92 = CARRY(A1L92_cout_0);

--A1L03 is add~455COUT1_518 at LC_X11_Y13_N7
--operation mode is arithmetic

A1L03_cout_1 = !A1L33 # !vcount[7];
A1L03 = CARRY(A1L03_cout_1);


--A1L13 is add~458 at LC_X11_Y13_N6
--operation mode is arithmetic

A1L13_carry_eqn = (!A1L83 & A1L53) # (A1L83 & A1L63);
A1L13 = vcount[6] $ (!A1L13_carry_eqn);

--A1L23 is add~460 at LC_X11_Y13_N6
--operation mode is arithmetic

A1L23_cout_0 = vcount[6] & (!A1L53);
A1L23 = CARRY(A1L23_cout_0);

--A1L33 is add~460COUT1_517 at LC_X11_Y13_N6
--operation mode is arithmetic

A1L33_cout_1 = vcount[6] & (!A1L63);
A1L33 = CARRY(A1L33_cout_1);


--A1L43 is add~463 at LC_X11_Y13_N5
--operation mode is arithmetic

A1L43_carry_eqn = A1L83;
A1L43 = vcount[5] $ A1L43_carry_eqn;

--A1L53 is add~465 at LC_X11_Y13_N5
--operation mode is arithmetic

A1L53_cout_0 = !A1L83 # !vcount[5];
A1L53 = CARRY(A1L53_cout_0);

--A1L63 is add~465COUT1_516 at LC_X11_Y13_N5
--operation mode is arithmetic

A1L63_cout_1 = !A1L83 # !vcount[5];
A1L63 = CARRY(A1L63_cout_1);


--A1L73 is add~468 at LC_X11_Y13_N4
--operation mode is arithmetic

A1L73 = vcount[4] $ !A1L64;

--A1L83 is add~470 at LC_X11_Y13_N4
--operation mode is arithmetic

A1L83 = CARRY(vcount[4] & !A1L74);


--A1L93 is add~473 at LC_X11_Y13_N1
--operation mode is arithmetic

A1L93 = vcount[1] $ (A1L35);

--A1L04 is add~475 at LC_X11_Y13_N1
--operation mode is arithmetic

A1L04_cout_0 = !A1L35 # !vcount[1];
A1L04 = CARRY(A1L04_cout_0);

--A1L14 is add~475COUT1_513 at LC_X11_Y13_N1
--operation mode is arithmetic

A1L14_cout_1 = !A1L45 # !vcount[1];
A1L14 = CARRY(A1L14_cout_1);

⌨️ 快捷键说明

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