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

📄 colorbar.fit.eqn

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

B1_hsyncint_lut_out = B1L91 & !E1_safe_q[10] & B1L31 $ !E1_safe_q[7];
B1_hsyncint = DFFEAS(B1_hsyncint_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , , );


--B1_vsync is vga_vl:inst|vsync at LC_X33_Y17_N8
--operation mode is normal

B1_vsync_lut_out = B1L41 & !E2_safe_q[5] & B1L02 & !B1L81;
B1_vsync = DFFEAS(B1_vsync_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , , );


--B1_enable is vga_vl:inst|enable at LC_X32_Y18_N4
--operation mode is normal

B1_enable_lut_out = !B1L42 & B1L51 & !B1L52 # !B1L91;
B1_enable = DFFEAS(B1_enable_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , , );


--E1_safe_q[7] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[7] at LC_X32_Y14_N2
--operation mode is arithmetic

E1_safe_q[7]_carry_eqn = (!E1L41 & E1L91) # (E1L41 & E1L02);
E1_safe_q[7]_lut_out = E1_safe_q[7] $ (E1_safe_q[7]_carry_eqn);
E1_safe_q[7] = DFFEAS(E1_safe_q[7]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L22 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella7~COUT at LC_X32_Y14_N2
--operation mode is arithmetic

E1L22_cout_0 = !E1L91 # !E1_safe_q[7];
E1L22 = CARRY(E1L22_cout_0);

--E1L32 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella7~COUTCOUT1_1 at LC_X32_Y14_N2
--operation mode is arithmetic

E1L32_cout_1 = !E1L02 # !E1_safe_q[7];
E1L32 = CARRY(E1L32_cout_1);


--E1_safe_q[6] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[6] at LC_X32_Y14_N1
--operation mode is arithmetic

E1_safe_q[6]_carry_eqn = (!E1L41 & E1L61) # (E1L41 & E1L71);
E1_safe_q[6]_lut_out = E1_safe_q[6] $ (!E1_safe_q[6]_carry_eqn);
E1_safe_q[6] = DFFEAS(E1_safe_q[6]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L91 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella6~COUT at LC_X32_Y14_N1
--operation mode is arithmetic

E1L91_cout_0 = E1_safe_q[6] & !E1L61;
E1L91 = CARRY(E1L91_cout_0);

--E1L02 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella6~COUTCOUT1_1 at LC_X32_Y14_N1
--operation mode is arithmetic

E1L02_cout_1 = E1_safe_q[6] & !E1L71;
E1L02 = CARRY(E1L02_cout_1);


--E1_safe_q[5] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[5] at LC_X32_Y14_N0
--operation mode is arithmetic

E1_safe_q[5]_carry_eqn = E1L41;
E1_safe_q[5]_lut_out = E1_safe_q[5] $ E1_safe_q[5]_carry_eqn;
E1_safe_q[5] = DFFEAS(E1_safe_q[5]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L61 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella5~COUT at LC_X32_Y14_N0
--operation mode is arithmetic

E1L61_cout_0 = !E1L41 # !E1_safe_q[5];
E1L61 = CARRY(E1L61_cout_0);

--E1L71 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella5~COUTCOUT1_1 at LC_X32_Y14_N0
--operation mode is arithmetic

E1L71_cout_1 = !E1L41 # !E1_safe_q[5];
E1L71 = CARRY(E1L71_cout_1);


--B1L2 is vga_vl:inst|LessThan~1898 at LC_X32_Y14_N9
--operation mode is normal

B1L2 = !E1_safe_q[6] & !E1_safe_q[7] & !E1_safe_q[5];


--E1_safe_q[2] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[2] at LC_X32_Y15_N7
--operation mode is arithmetic

E1_safe_q[2]_lut_out = E1_safe_q[2] $ (!E1L5);
E1_safe_q[2] = DFFEAS(E1_safe_q[2]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L8 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella2~COUT at LC_X32_Y15_N7
--operation mode is arithmetic

E1L8_cout_0 = E1_safe_q[2] & !E1L5;
E1L8 = CARRY(E1L8_cout_0);

--E1L9 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella2~COUTCOUT1_1 at LC_X32_Y15_N7
--operation mode is arithmetic

E1L9_cout_1 = E1_safe_q[2] & !E1L6;
E1L9 = CARRY(E1L9_cout_1);


--E1_safe_q[3] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[3] at LC_X32_Y15_N8
--operation mode is arithmetic

E1_safe_q[3]_lut_out = E1_safe_q[3] $ E1L8;
E1_safe_q[3] = DFFEAS(E1_safe_q[3]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L11 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella3~COUT at LC_X32_Y15_N8
--operation mode is arithmetic

E1L11_cout_0 = !E1L8 # !E1_safe_q[3];
E1L11 = CARRY(E1L11_cout_0);

--E1L21 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella3~COUTCOUT1_1 at LC_X32_Y15_N8
--operation mode is arithmetic

E1L21_cout_1 = !E1L9 # !E1_safe_q[3];
E1L21 = CARRY(E1L21_cout_1);


--B1L3 is vga_vl:inst|LessThan~1899 at LC_X32_Y16_N1
--operation mode is normal

B1L3 = !E1_safe_q[6] & !E1_safe_q[7] & !E1_safe_q[3] # !E1_safe_q[2];


--E1_safe_q[4] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[4] at LC_X32_Y15_N9
--operation mode is arithmetic

E1_safe_q[4]_lut_out = E1_safe_q[4] $ (!E1L11);
E1_safe_q[4] = DFFEAS(E1_safe_q[4]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L41 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella4~COUT at LC_X32_Y15_N9
--operation mode is arithmetic

E1L41 = CARRY(E1_safe_q[4] & !E1L21);


--E1_safe_q[8] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[8] at LC_X32_Y14_N3
--operation mode is arithmetic

E1_safe_q[8]_carry_eqn = (!E1L41 & E1L22) # (E1L41 & E1L32);
E1_safe_q[8]_lut_out = E1_safe_q[8] $ !E1_safe_q[8]_carry_eqn;
E1_safe_q[8] = DFFEAS(E1_safe_q[8]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L52 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella8~COUT at LC_X32_Y14_N3
--operation mode is arithmetic

E1L52_cout_0 = E1_safe_q[8] & !E1L22;
E1L52 = CARRY(E1L52_cout_0);

--E1L62 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella8~COUTCOUT1_1 at LC_X32_Y14_N3
--operation mode is arithmetic

E1L62_cout_1 = E1_safe_q[8] & !E1L32;
E1L62 = CARRY(E1L62_cout_1);


--B1L4 is vga_vl:inst|LessThan~1900 at LC_X32_Y16_N6
--operation mode is normal

B1L4 = B1L2 # !E1_safe_q[4] & B1L3 # !E1_safe_q[8];


--B1L5 is vga_vl:inst|LessThan~1901 at LC_X32_Y15_N3
--operation mode is normal

B1L5 = !E1_safe_q[3] & !E1_safe_q[4] & !E1_safe_q[5];


--B1L6 is vga_vl:inst|LessThan~1902 at LC_X33_Y16_N8
--operation mode is normal

B1L6 = !E1_safe_q[8] & B1L5 # !E1_safe_q[7] # !E1_safe_q[6];


--E1_safe_q[10] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[10] at LC_X32_Y14_N5
--operation mode is normal

E1_safe_q[10]_carry_eqn = E1L82;
E1_safe_q[10]_lut_out = E1_safe_q[10]_carry_eqn $ !E1_safe_q[10];
E1_safe_q[10] = DFFEAS(E1_safe_q[10]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );


--E1_safe_q[9] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[9] at LC_X32_Y14_N4
--operation mode is arithmetic

E1_safe_q[9]_carry_eqn = (!E1L41 & E1L52) # (E1L41 & E1L62);
E1_safe_q[9]_lut_out = E1_safe_q[9] $ E1_safe_q[9]_carry_eqn;
E1_safe_q[9] = DFFEAS(E1_safe_q[9]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L82 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella9~COUT at LC_X32_Y14_N4
--operation mode is arithmetic

E1L82 = CARRY(!E1L62 # !E1_safe_q[9]);


--B1L7 is vga_vl:inst|LessThan~1903 at LC_X33_Y15_N2
--operation mode is normal

B1L7 = !E1_safe_q[10] & !E1_safe_q[9];


--B1L8 is vga_vl:inst|LessThan~1904 at LC_X32_Y18_N9
--operation mode is normal

B1L8 = !E1_safe_q[3] & !E1_safe_q[4];


--B1L9 is vga_vl:inst|LessThan~1905 at LC_X32_Y16_N9
--operation mode is normal

B1L9 = B1L8 & !E1_safe_q[2] # !E1_safe_q[5] # !E1_safe_q[6];


--B1L01 is vga_vl:inst|LessThan~1906 at LC_X32_Y16_N8
--operation mode is normal

B1L01 = B1L9 & !E1_safe_q[7] & !E1_safe_q[8] & B1L7;


--B1L14 is vga_vl:inst|pixel~1240 at LC_X32_Y15_N4
--operation mode is normal

B1L14 = !E1_safe_q[5] # !E1_safe_q[2] # !E1_safe_q[3] # !E1_safe_q[4];


--B1L24 is vga_vl:inst|pixel~1241 at LC_X33_Y16_N3
--operation mode is normal

B1L24 = !E1_safe_q[8] & !E1_safe_q[6] & B1L14 # !E1_safe_q[7];


--B1L83 is vga_vl:inst|pixel[2]~1224 at LC_X33_Y16_N1
--operation mode is normal

B1L83 = E1_safe_q[10] # E1_safe_q[9] & !B1L24;


--B1L93 is vga_vl:inst|pixel[2]~1225 at LC_X33_Y16_N9
--operation mode is normal

B1L93 = B1_enable & B1L04 & !B1L01 & !B1L83;


--B1L11 is vga_vl:inst|LessThan~1907 at LC_X32_Y16_N5
--operation mode is normal

B1L11 = !E1_safe_q[3] & !E1_safe_q[2] # !E1_safe_q[6] # !E1_safe_q[5];


--B1L53 is vga_vl:inst|pixel[1]~1242 at LC_X32_Y16_N4
--operation mode is normal

B1L53 = E1_safe_q[4] & E1_safe_q[7] & E1_safe_q[8] & !B1L11;


--B1L63 is vga_vl:inst|pixel[1]~1243 at LC_X33_Y16_N2
--operation mode is normal

B1L63 = !E1_safe_q[10] & E1_safe_q[9] & B1L24 # !E1_safe_q[9] & B1L53;


--B1L73 is vga_vl:inst|pixel[1]~1244 at LC_X33_Y16_N7
--operation mode is normal

B1L73 = !B1L01 & B1_enable & B1L63 # !B1L04;


--B1L82 is vga_vl:inst|pixel[0]~1236 at LC_X32_Y16_N2
--operation mode is normal

B1L82 = E1_safe_q[4] & B1L11 # !E1_safe_q[4] & E1_safe_q[6] # E1_safe_q[5];


--B1L92 is vga_vl:inst|pixel[0]~1237 at LC_X32_Y16_N3
--operation mode is normal

B1L92 = B1L4 # B1L82 & E1_safe_q[7] & E1_safe_q[8];


--B1L03 is vga_vl:inst|pixel[0]~1245 at LC_X32_Y16_N7
--operation mode is normal

B1L03 = B1L7 & B1L92 & B1_enable & !B1L6;


--B1L13 is vga_vl:inst|pixel[0]~1246 at LC_X33_Y16_N0
--operation mode is normal

B1L13 = E1_safe_q[9] & !E1_safe_q[10] & B1_enable;


--B1L23 is vga_vl:inst|pixel[0]~1247 at LC_X32_Y15_N1
--operation mode is normal

B1L23 = E1_safe_q[6] & E1_safe_q[5] # E1_safe_q[4] & E1_safe_q[3];


--B1L33 is vga_vl:inst|pixel[0]~1248 at LC_X33_Y16_N6
--operation mode is normal

B1L33 = B1L13 & B1L24 & B1L23 # E1_safe_q[7];


--B1L43 is vga_vl:inst|pixel[0]~1249 at LC_X33_Y16_N4
--operation mode is normal

B1L43 = B1L03 # B1L33 # B1_enable & B1L01;


--E1_safe_q[0] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[0] at LC_X32_Y15_N5
--operation mode is arithmetic

E1_safe_q[0]_lut_out = !E1_safe_q[0];
E1_safe_q[0] = DFFEAS(E1_safe_q[0]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

--E1L2 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella0~COUT at LC_X32_Y15_N5
--operation mode is arithmetic

E1L2_cout_0 = E1_safe_q[0];
E1L2 = CARRY(E1L2_cout_0);

--E1L3 is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|counter_cella0~COUTCOUT1_1 at LC_X32_Y15_N5
--operation mode is arithmetic

E1L3_cout_1 = E1_safe_q[0];
E1L3 = CARRY(E1L3_cout_1);


--E1_safe_q[1] is vga_vl:inst|lpm_counter:hcnt_rtl_0|cntr_gq7:auto_generated|safe_q[1] at LC_X32_Y15_N6
--operation mode is arithmetic

E1_safe_q[1]_lut_out = E1_safe_q[1] $ (E1L2);
E1_safe_q[1] = DFFEAS(E1_safe_q[1]_lut_out, GLOBAL(F1__clk0), GLOBAL(rst), , , , , B1L1, );

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

⌨️ 快捷键说明

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