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

📄 colorbar.fit.eqn

📁 基于EPM1270的VGA显示器接口源码Verilog
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--B1_hcnt[1] is vga_vl:inst|hcnt[1] at LC_X8_Y8_N6
--operation mode is arithmetic

B1_hcnt[1]_lut_out = B1_hcnt[1] $ (B1L92);
B1_hcnt[1] = DFFEAS(B1_hcnt[1]_lut_out, GLOBAL(clk), GLOBAL(rst), , , , , B1L41, );

--B1L23 is vga_vl:inst|hcnt[1]~432 at LC_X8_Y8_N6
--operation mode is arithmetic

B1L23_cout_0 = !B1L92 # !B1_hcnt[1];
B1L23 = CARRY(B1L23_cout_0);

--B1L33 is vga_vl:inst|hcnt[1]~432COUT1_447 at LC_X8_Y8_N6
--operation mode is arithmetic

B1L33_cout_1 = !B1L03 # !B1_hcnt[1];
B1L33 = CARRY(B1L33_cout_1);


--B1L11 is vga_vl:inst|LessThan~1908 at LC_X9_Y8_N6
--operation mode is normal

B1L11 = !B1_hcnt[5] & !B1_hcnt[4] & (!B1_hcnt[1] # !B1_hcnt[0]);


--B1L21 is vga_vl:inst|LessThan~1909 at LC_X10_Y7_N2
--operation mode is normal

B1L21 = B1L4 # !B1_hcnt[2] & B1L11 # !B1_hcnt[6];


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

B1L91 = B1_hcnt[9] & (B1_hcnt[8]);


--B1_vcnt[5] is vga_vl:inst|vcnt[5] at LC_X7_Y6_N0
--operation mode is arithmetic

B1_vcnt[5]_carry_eqn = B1L78;
B1_vcnt[5]_lut_out = B1_vcnt[5] $ B1_vcnt[5]_carry_eqn;
B1_vcnt[5] = DFFEAS(B1_vcnt[5]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L98 is vga_vl:inst|vcnt[5]~233 at LC_X7_Y6_N0
--operation mode is arithmetic

B1L98_cout_0 = !B1L78 # !B1_vcnt[5];
B1L98 = CARRY(B1L98_cout_0);

--B1L09 is vga_vl:inst|vcnt[5]~233COUT1_294 at LC_X7_Y6_N0
--operation mode is arithmetic

B1L09_cout_1 = !B1L78 # !B1_vcnt[5];
B1L09 = CARRY(B1L09_cout_1);


--B1_vcnt[0] is vga_vl:inst|vcnt[0] at LC_X6_Y6_N5
--operation mode is arithmetic

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

--B1L57 is vga_vl:inst|vcnt[0]~237 at LC_X6_Y6_N5
--operation mode is arithmetic

B1L57_cout_0 = B1_vcnt[0];
B1L57 = CARRY(B1L57_cout_0);

--B1L67 is vga_vl:inst|vcnt[0]~237COUT1_286 at LC_X6_Y6_N5
--operation mode is arithmetic

B1L67_cout_1 = B1_vcnt[0];
B1L67 = CARRY(B1L67_cout_1);


--B1_vcnt[1] is vga_vl:inst|vcnt[1] at LC_X6_Y6_N6
--operation mode is arithmetic

B1_vcnt[1]_lut_out = B1_vcnt[1] $ (B1L57);
B1_vcnt[1] = DFFEAS(B1_vcnt[1]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L87 is vga_vl:inst|vcnt[1]~241 at LC_X6_Y6_N6
--operation mode is arithmetic

B1L87_cout_0 = !B1L57 # !B1_vcnt[1];
B1L87 = CARRY(B1L87_cout_0);

--B1L97 is vga_vl:inst|vcnt[1]~241COUT1_288 at LC_X6_Y6_N6
--operation mode is arithmetic

B1L97_cout_1 = !B1L67 # !B1_vcnt[1];
B1L97 = CARRY(B1L97_cout_1);


--B1_vcnt[2] is vga_vl:inst|vcnt[2] at LC_X6_Y6_N7
--operation mode is arithmetic

B1_vcnt[2]_lut_out = B1_vcnt[2] $ !B1L87;
B1_vcnt[2] = DFFEAS(B1_vcnt[2]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L18 is vga_vl:inst|vcnt[2]~245 at LC_X6_Y6_N7
--operation mode is arithmetic

B1L18_cout_0 = B1_vcnt[2] & !B1L87;
B1L18 = CARRY(B1L18_cout_0);

--B1L28 is vga_vl:inst|vcnt[2]~245COUT1_290 at LC_X6_Y6_N7
--operation mode is arithmetic

B1L28_cout_1 = B1_vcnt[2] & !B1L97;
B1L28 = CARRY(B1L28_cout_1);


--B1_vcnt[9] is vga_vl:inst|vcnt[9] at LC_X7_Y6_N4
--operation mode is arithmetic

B1_vcnt[9]_carry_eqn = (!B1L78 & B1L89) # (B1L78 & B1L99);
B1_vcnt[9]_lut_out = B1_vcnt[9] $ (B1_vcnt[9]_carry_eqn);
B1_vcnt[9] = DFFEAS(B1_vcnt[9]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L101 is vga_vl:inst|vcnt[9]~249 at LC_X7_Y6_N4
--operation mode is arithmetic

B1L101 = CARRY(!B1L99 # !B1_vcnt[9]);


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

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


--B1_vcnt[3] is vga_vl:inst|vcnt[3] at LC_X6_Y6_N8
--operation mode is arithmetic

B1_vcnt[3]_lut_out = B1_vcnt[3] $ (B1L18);
B1_vcnt[3] = DFFEAS(B1_vcnt[3]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L48 is vga_vl:inst|vcnt[3]~253 at LC_X6_Y6_N8
--operation mode is arithmetic

B1L48_cout_0 = !B1L18 # !B1_vcnt[3];
B1L48 = CARRY(B1L48_cout_0);

--B1L58 is vga_vl:inst|vcnt[3]~253COUT1_292 at LC_X6_Y6_N8
--operation mode is arithmetic

B1L58_cout_1 = !B1L28 # !B1_vcnt[3];
B1L58 = CARRY(B1L58_cout_1);


--B1_vcnt[4] is vga_vl:inst|vcnt[4] at LC_X6_Y6_N9
--operation mode is arithmetic

B1_vcnt[4]_lut_out = B1_vcnt[4] $ !B1L48;
B1_vcnt[4] = DFFEAS(B1_vcnt[4]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L78 is vga_vl:inst|vcnt[4]~257 at LC_X6_Y6_N9
--operation mode is arithmetic

B1L78 = CARRY(B1_vcnt[4] & !B1L58);


--B1_vcnt[6] is vga_vl:inst|vcnt[6] at LC_X7_Y6_N1
--operation mode is arithmetic

B1_vcnt[6]_carry_eqn = (!B1L78 & B1L98) # (B1L78 & B1L09);
B1_vcnt[6]_lut_out = B1_vcnt[6] $ !B1_vcnt[6]_carry_eqn;
B1_vcnt[6] = DFFEAS(B1_vcnt[6]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L29 is vga_vl:inst|vcnt[6]~261 at LC_X7_Y6_N1
--operation mode is arithmetic

B1L29_cout_0 = B1_vcnt[6] & !B1L98;
B1L29 = CARRY(B1L29_cout_0);

--B1L39 is vga_vl:inst|vcnt[6]~261COUT1_296 at LC_X7_Y6_N1
--operation mode is arithmetic

B1L39_cout_1 = B1_vcnt[6] & !B1L09;
B1L39 = CARRY(B1L39_cout_1);


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

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


--B1_vcnt[10] is vga_vl:inst|vcnt[10] at LC_X7_Y6_N5
--operation mode is normal

B1_vcnt[10]_carry_eqn = B1L101;
B1_vcnt[10]_lut_out = B1_vcnt[10] $ (!B1_vcnt[10]_carry_eqn);
B1_vcnt[10] = DFFEAS(B1_vcnt[10]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );


--B1_vcnt[7] is vga_vl:inst|vcnt[7] at LC_X7_Y6_N2
--operation mode is arithmetic

B1_vcnt[7]_carry_eqn = (!B1L78 & B1L29) # (B1L78 & B1L39);
B1_vcnt[7]_lut_out = B1_vcnt[7] $ B1_vcnt[7]_carry_eqn;
B1_vcnt[7] = DFFEAS(B1_vcnt[7]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L59 is vga_vl:inst|vcnt[7]~269 at LC_X7_Y6_N2
--operation mode is arithmetic

B1L59_cout_0 = !B1L29 # !B1_vcnt[7];
B1L59 = CARRY(B1L59_cout_0);

--B1L69 is vga_vl:inst|vcnt[7]~269COUT1_298 at LC_X7_Y6_N2
--operation mode is arithmetic

B1L69_cout_1 = !B1L39 # !B1_vcnt[7];
B1L69 = CARRY(B1L69_cout_1);


--B1_vcnt[8] is vga_vl:inst|vcnt[8] at LC_X7_Y6_N3
--operation mode is arithmetic

B1_vcnt[8]_carry_eqn = (!B1L78 & B1L59) # (B1L78 & B1L69);
B1_vcnt[8]_lut_out = B1_vcnt[8] $ (!B1_vcnt[8]_carry_eqn);
B1_vcnt[8] = DFFEAS(B1_vcnt[8]_lut_out, !GLOBAL(B1_hsyncint), GLOBAL(rst), , , , , B1L71, );

--B1L89 is vga_vl:inst|vcnt[8]~273 at LC_X7_Y6_N3
--operation mode is arithmetic

B1L89_cout_0 = B1_vcnt[8] & (!B1L59);
B1L89 = CARRY(B1L89_cout_0);

--B1L99 is vga_vl:inst|vcnt[8]~273COUT1_300 at LC_X7_Y6_N3
--operation mode is arithmetic

B1L99_cout_1 = B1_vcnt[8] & (!B1L69);
B1L99 = CARRY(B1L99_cout_1);


--B1L31 is vga_vl:inst|LessThan~1910 at LC_X6_Y6_N1
--operation mode is normal

B1L31 = !B1_vcnt[7] & !B1_vcnt[8] & !B1_vcnt[10];


--B1L41 is vga_vl:inst|LessThan~1911 at LC_X9_Y8_N9
--operation mode is normal

B1L41 = B1_hcnt[10] & (B1_hcnt[8] # B1_hcnt[9] # !B1L1);


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

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


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

B1L22 = !B1_vcnt[7] & (!B1_vcnt[8]);


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

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


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

B1L42 = B1_vcnt[10] # B1_hcnt[10] # B1_vcnt[9] & B1L32;


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

B1L52 = B1_hcnt[5] & (B1_hcnt[2] & B1_hcnt[1] # !B1L7);


--B1L51 is vga_vl:inst|LessThan~1912 at LC_X8_Y7_N2
--operation mode is normal

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


--B1L61 is vga_vl:inst|LessThan~1913 at LC_X6_Y6_N3
--operation mode is normal

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


--B1L71 is vga_vl:inst|LessThan~1914 at LC_X6_Y6_N4
--operation mode is normal

B1L71 = B1_vcnt[10] # B1_vcnt[9] & (!B1L61 # !B1L22);


--B1L07 is vga_vl:inst|pixel[2]~1268 at LC_X6_Y8_N2
--operation mode is normal

B1L07 = B1_hcnt[9] # B1_hcnt[10] # !B1L5 & !B1L3;


--clk is clk at PIN_127
--operation mode is input

clk = INPUT();


--rst is rst at PIN_110
--operation mode is input

rst = INPUT();


--VGA_HS is VGA_HS at PIN_141
--operation mode is output

VGA_HS = OUTPUT(!B1_hsyncint);


--VGA_VS is VGA_VS at PIN_143
--operation mode is output

VGA_VS = OUTPUT(!B1_vsync);


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

VGA_RGB[2] = OUTPUT(B1L96);


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

VGA_RGB[1] = OUTPUT(B1L76);


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

VGA_RGB[0] = OUTPUT(B1L46);


⌨️ 快捷键说明

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