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

📄 colorbar.map.eqn

📁 这个试验要配合EDA4.0底板一起使用.先将核心板插在EDA4.0底板上面,然后接上VGA显示器. 1。源文件保存在src目录
💻 EQN
📖 第 1 页 / 共 2 页
字号:

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] = DFFEAS(E1_safe_q[1]_lut_out, F1__clk0, rst, , , , , B1L1, );

--E1L4 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella1~COUT
--operation mode is arithmetic

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


--B1L21 is vga_vl:inst|LessThan~1908
--operation mode is normal

B1L21 = !E1_safe_q[4] & !E1_safe_q[5] & !E1_safe_q[1] # !E1_safe_q[0];


--B1L31 is vga_vl:inst|LessThan~1909
--operation mode is normal

B1L31 = B1L5 # B1L21 & !E1_safe_q[2] # !E1_safe_q[6];


--B1L91 is vga_vl:inst|always4~148
--operation mode is normal

B1L91 = E1_safe_q[9] & E1_safe_q[8];


--F1__clk0 is VGA_PLL:inst4|altpll:altpll_component|_clk0
F1__clk0 = PLL.CLK0(.FBIN(), .ENA(), .CLKSWITCH(), .ARESET(), .PFDENA(), .SCANCLK(), .SCANACLR(), .SCANDATA(), .COMPARATOR(), .INCLK(clk), .INCLK(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .CLKENA(), .EXTCLKENA(), .EXTCLKENA(), .EXTCLKENA(), .EXTCLKENA());


--E2_safe_q[5] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[5]
--operation mode is arithmetic

E2_safe_q[5]_carry_eqn = E2L01;
E2_safe_q[5]_lut_out = E2_safe_q[5] $ (E2_safe_q[5]_carry_eqn);
E2_safe_q[5] = DFFEAS(E2_safe_q[5]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L21 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella5~COUT
--operation mode is arithmetic

E2L21 = CARRY(!E2L01 # !E2_safe_q[5]);


--E2_safe_q[0] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[0]
--operation mode is arithmetic

E2_safe_q[0]_lut_out = !E2_safe_q[0];
E2_safe_q[0] = DFFEAS(E2_safe_q[0]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L2 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella0~COUT
--operation mode is arithmetic

E2L2 = CARRY(E2_safe_q[0]);


--E2_safe_q[1] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[1]
--operation mode is arithmetic

E2_safe_q[1]_carry_eqn = E2L2;
E2_safe_q[1]_lut_out = E2_safe_q[1] $ (E2_safe_q[1]_carry_eqn);
E2_safe_q[1] = DFFEAS(E2_safe_q[1]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L4 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella1~COUT
--operation mode is arithmetic

E2L4 = CARRY(!E2L2 # !E2_safe_q[1]);


--E2_safe_q[2] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[2]
--operation mode is arithmetic

E2_safe_q[2]_carry_eqn = E2L4;
E2_safe_q[2]_lut_out = E2_safe_q[2] $ (!E2_safe_q[2]_carry_eqn);
E2_safe_q[2] = DFFEAS(E2_safe_q[2]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L6 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella2~COUT
--operation mode is arithmetic

E2L6 = CARRY(E2_safe_q[2] & !E2L4);


--E2_safe_q[9] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[9]
--operation mode is arithmetic

E2_safe_q[9]_carry_eqn = E2L81;
E2_safe_q[9]_lut_out = E2_safe_q[9] $ (E2_safe_q[9]_carry_eqn);
E2_safe_q[9] = DFFEAS(E2_safe_q[9]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L02 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella9~COUT
--operation mode is arithmetic

E2L02 = CARRY(!E2L81 # !E2_safe_q[9]);


--B1L81 is vga_vl:inst|always3~127
--operation mode is normal

B1L81 = E2_safe_q[2] $ (!E2_safe_q[1] # !E2_safe_q[0]) # !E2_safe_q[9];


--E2_safe_q[3] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[3]
--operation mode is arithmetic

E2_safe_q[3]_carry_eqn = E2L6;
E2_safe_q[3]_lut_out = E2_safe_q[3] $ (E2_safe_q[3]_carry_eqn);
E2_safe_q[3] = DFFEAS(E2_safe_q[3]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L8 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella3~COUT
--operation mode is arithmetic

E2L8 = CARRY(!E2L6 # !E2_safe_q[3]);


--E2_safe_q[4] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[4]
--operation mode is arithmetic

E2_safe_q[4]_carry_eqn = E2L8;
E2_safe_q[4]_lut_out = E2_safe_q[4] $ (!E2_safe_q[4]_carry_eqn);
E2_safe_q[4] = DFFEAS(E2_safe_q[4]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L01 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella4~COUT
--operation mode is arithmetic

E2L01 = CARRY(E2_safe_q[4] & !E2L8);


--E2_safe_q[6] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[6]
--operation mode is arithmetic

E2_safe_q[6]_carry_eqn = E2L21;
E2_safe_q[6]_lut_out = E2_safe_q[6] $ (!E2_safe_q[6]_carry_eqn);
E2_safe_q[6] = DFFEAS(E2_safe_q[6]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L41 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella6~COUT
--operation mode is arithmetic

E2L41 = CARRY(E2_safe_q[6] & !E2L21);


--B1L02 is vga_vl:inst|always4~149
--operation mode is normal

B1L02 = E2_safe_q[3] & E2_safe_q[4] & E2_safe_q[6];


--E2_safe_q[10] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[10]
--operation mode is normal

E2_safe_q[10]_carry_eqn = E2L02;
E2_safe_q[10]_lut_out = E2_safe_q[10] $ (!E2_safe_q[10]_carry_eqn);
E2_safe_q[10] = DFFEAS(E2_safe_q[10]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );


--E2_safe_q[7] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[7]
--operation mode is arithmetic

E2_safe_q[7]_carry_eqn = E2L41;
E2_safe_q[7]_lut_out = E2_safe_q[7] $ (E2_safe_q[7]_carry_eqn);
E2_safe_q[7] = DFFEAS(E2_safe_q[7]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L61 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella7~COUT
--operation mode is arithmetic

E2L61 = CARRY(!E2L41 # !E2_safe_q[7]);


--E2_safe_q[8] is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|safe_q[8]
--operation mode is arithmetic

E2_safe_q[8]_carry_eqn = E2L61;
E2_safe_q[8]_lut_out = E2_safe_q[8] $ (!E2_safe_q[8]_carry_eqn);
E2_safe_q[8] = DFFEAS(E2_safe_q[8]_lut_out, !B1_hsyncint, rst, , , , , B1L71, );

--E2L81 is vga_vl:inst|lpm_counter:vcnt_rtl_1|cntr_gq7:auto_generated|counter_cella8~COUT
--operation mode is arithmetic

E2L81 = CARRY(E2_safe_q[8] & !E2L61);


--B1L41 is vga_vl:inst|LessThan~1910
--operation mode is normal

B1L41 = !E2_safe_q[10] & !E2_safe_q[7] & !E2_safe_q[8];


--B1L12 is vga_vl:inst|always4~150
--operation mode is normal

B1L12 = E2_safe_q[5] & E2_safe_q[6];


--B1L22 is vga_vl:inst|always4~151
--operation mode is normal

B1L22 = !E2_safe_q[7] & !E2_safe_q[8];


--B1L32 is vga_vl:inst|always4~152
--operation mode is normal

B1L32 = B1L12 # E2_safe_q[2] & B1L02 # !B1L22;


--B1L42 is vga_vl:inst|always4~153
--operation mode is normal

B1L42 = E1_safe_q[10] # E2_safe_q[10] # E2_safe_q[9] & B1L32;


--B1L52 is vga_vl:inst|always4~154
--operation mode is normal

B1L52 = E1_safe_q[5] & E1_safe_q[2] & E1_safe_q[1] # !B1L8;


--B1L51 is vga_vl:inst|LessThan~1911
--operation mode is normal

B1L51 = !E1_safe_q[7] & !E1_safe_q[6];


--B1L1 is vga_vl:inst|LessThan~1207
--operation mode is normal

B1L1 = E1_safe_q[10] & E1_safe_q[9] # E1_safe_q[8] # !B1L2;


--B1L61 is vga_vl:inst|LessThan~1912
--operation mode is normal

B1L61 = !E2_safe_q[3] & !E2_safe_q[2] # !B1L12 # !E2_safe_q[4];


--B1L71 is vga_vl:inst|LessThan~1913
--operation mode is normal

B1L71 = E2_safe_q[10] # E2_safe_q[9] & !B1L61 # !B1L22;


--B1L04 is vga_vl:inst|pixel[2]~1250
--operation mode is normal

B1L04 = E1_safe_q[10] # E1_safe_q[9] # !B1L4 & !B1L6;


--rst is rst
--operation mode is input

rst = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


--VGA_HS is VGA_HS
--operation mode is output

VGA_HS = OUTPUT(!B1_hsyncint);


--VGA_VS is VGA_VS
--operation mode is output

VGA_VS = OUTPUT(!B1_vsync);


--VGA_RGB[2] is VGA_RGB[2]
--operation mode is output

VGA_RGB[2] = OUTPUT(B1L93);


--VGA_RGB[1] is VGA_RGB[1]
--operation mode is output

VGA_RGB[1] = OUTPUT(B1L73);


--VGA_RGB[0] is VGA_RGB[0]
--operation mode is output

VGA_RGB[0] = OUTPUT(B1L43);


⌨️ 快捷键说明

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