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

📄 colorbar.vo

📁 用FPGA实现的VGA接口程序
💻 VO
📖 第 1 页 / 共 5 页
字号:

	.dataa(\inst|vcnt[8] ),
	.datab(\inst|pixel[0]~1342 ),
	.datac(\inst|vcnt[7] ),
	.datad(\inst|LessThan~2068 ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1343 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1343_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1343_I .lut_mask = 16'h0800;
// synopsys translate_on

// atom is at LCCOMB_X22_Y11_N22
cycloneii_lcell_comb \inst|pixel[0]~1344_I (
// Equation(s):
// \inst|pixel[0]~1344  = \inst|vcnt[9]  & (\inst|pixel~1334 ) # !\inst|vcnt[9]  & !\inst|LessThan~2064  & (\inst|pixel[0]~1343 )

	.dataa(\inst|LessThan~2064 ),
	.datab(\inst|pixel~1334 ),
	.datac(\inst|vcnt[9] ),
	.datad(\inst|pixel[0]~1343 ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1344 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1344_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1344_I .lut_mask = 16'hC5C0;
// synopsys translate_on

// atom is at LCCOMB_X22_Y11_N10
cycloneii_lcell_comb \inst|pixel[0]~1345_I (
// Equation(s):
// \inst|pixel[0]~1345  = \inst|vcnt[7]  & !\inst|vcnt[9]  & \inst|vcnt[6] 

	.dataa(vcc),
	.datab(\inst|vcnt[7] ),
	.datac(\inst|vcnt[9] ),
	.datad(\inst|vcnt[6] ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1345 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1345_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1345_I .lut_mask = 16'h0C00;
// synopsys translate_on

// atom is at LCCOMB_X22_Y11_N4
cycloneii_lcell_comb \inst|pixel[0]~1346_I (
// Equation(s):
// \inst|pixel[0]~1346  = \inst|vcnt[8]  & \inst|pixel[0]~1345  & (\inst|vcnt[5]  # !\inst|LessThan~2059 )

	.dataa(\inst|vcnt[8] ),
	.datab(\inst|LessThan~2059 ),
	.datac(\inst|vcnt[5] ),
	.datad(\inst|pixel[0]~1345 ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1346 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1346_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1346_I .lut_mask = 16'hA200;
// synopsys translate_on

// atom is at LCCOMB_X22_Y11_N6
cycloneii_lcell_comb \inst|pixel[0]~1340_I (
// Equation(s):
// \inst|pixel[0]~1340  = !\inst|vcnt[10]  & \inst|enable 

	.dataa(vcc),
	.datab(\inst|vcnt[10] ),
	.datac(vcc),
	.datad(\inst|enable ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1340 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1340_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1340_I .lut_mask = 16'h3300;
// synopsys translate_on

// atom is at LCCOMB_X22_Y11_N8
cycloneii_lcell_comb \inst|pixel[0]~1347_I (
// Equation(s):
// \inst|pixel[0]~1347  = \inst|pixel[0]~1340  & (\inst|pixel[0]~1341  # \inst|pixel[0]~1344  # \inst|pixel[0]~1346 )

	.dataa(\inst|pixel[0]~1341 ),
	.datab(\inst|pixel[0]~1344 ),
	.datac(\inst|pixel[0]~1346 ),
	.datad(\inst|pixel[0]~1340 ),
	.cin(gnd),
	.combout(\inst|pixel[0]~1347 ),
	.cout());
// synopsys translate_off
defparam \inst|pixel[0]~1347_I .sum_lutc_input = "datac";
defparam \inst|pixel[0]~1347_I .lut_mask = 16'hFE00;
// synopsys translate_on

// atom is at PIN_C13
cycloneii_io \VGA_HS~I (
	.datain(!\inst|hsyncint ),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(VGA_HS));
// synopsys translate_off
defparam \VGA_HS~I .operation_mode = "output";
defparam \VGA_HS~I .input_register_mode = "none";
defparam \VGA_HS~I .output_register_mode = "none";
defparam \VGA_HS~I .oe_register_mode = "none";
defparam \VGA_HS~I .input_async_reset = "none";
defparam \VGA_HS~I .output_async_reset = "none";
defparam \VGA_HS~I .oe_async_reset = "none";
defparam \VGA_HS~I .input_sync_reset = "none";
defparam \VGA_HS~I .output_sync_reset = "none";
defparam \VGA_HS~I .oe_sync_reset = "none";
defparam \VGA_HS~I .input_power_up = "low";
defparam \VGA_HS~I .output_power_up = "low";
defparam \VGA_HS~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_B13
cycloneii_io \VGA_VS~I (
	.datain(!\inst|vsync ),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(VGA_VS));
// synopsys translate_off
defparam \VGA_VS~I .operation_mode = "output";
defparam \VGA_VS~I .input_register_mode = "none";
defparam \VGA_VS~I .output_register_mode = "none";
defparam \VGA_VS~I .oe_register_mode = "none";
defparam \VGA_VS~I .input_async_reset = "none";
defparam \VGA_VS~I .output_async_reset = "none";
defparam \VGA_VS~I .oe_async_reset = "none";
defparam \VGA_VS~I .input_sync_reset = "none";
defparam \VGA_VS~I .output_sync_reset = "none";
defparam \VGA_VS~I .oe_sync_reset = "none";
defparam \VGA_VS~I .input_power_up = "low";
defparam \VGA_VS~I .output_power_up = "low";
defparam \VGA_VS~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_D11
cycloneii_io \VGA_BLANK~I (
	.datain(\inst|enable ),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(VGA_BLANK));
// synopsys translate_off
defparam \VGA_BLANK~I .operation_mode = "output";
defparam \VGA_BLANK~I .input_register_mode = "none";
defparam \VGA_BLANK~I .output_register_mode = "none";
defparam \VGA_BLANK~I .oe_register_mode = "none";
defparam \VGA_BLANK~I .input_async_reset = "none";
defparam \VGA_BLANK~I .output_async_reset = "none";
defparam \VGA_BLANK~I .oe_async_reset = "none";
defparam \VGA_BLANK~I .input_sync_reset = "none";
defparam \VGA_BLANK~I .output_sync_reset = "none";
defparam \VGA_BLANK~I .oe_sync_reset = "none";
defparam \VGA_BLANK~I .input_power_up = "low";
defparam \VGA_BLANK~I .output_power_up = "low";
defparam \VGA_BLANK~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_E19
cycloneii_io \VGA_CLK~I (
	.datain(\inst4|altpll_component|_clk0~clkctrl ),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(VGA_CLK));
// synopsys translate_off
defparam \VGA_CLK~I .operation_mode = "output";
defparam \VGA_CLK~I .input_register_mode = "none";
defparam \VGA_CLK~I .output_register_mode = "none";
defparam \VGA_CLK~I .oe_register_mode = "none";
defparam \VGA_CLK~I .input_async_reset = "none";
defparam \VGA_CLK~I .output_async_reset = "none";
defparam \VGA_CLK~I .oe_async_reset = "none";
defparam \VGA_CLK~I .input_sync_reset = "none";
defparam \VGA_CLK~I .output_sync_reset = "none";
defparam \VGA_CLK~I .oe_sync_reset = "none";
defparam \VGA_CLK~I .input_power_up = "low";
defparam \VGA_CLK~I .output_power_up = "low";
defparam \VGA_CLK~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_C7
cycloneii_io \RGB[12]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(RGB[12]));
// synopsys translate_off
defparam \RGB[12]~I .operation_mode = "output";
defparam \RGB[12]~I .input_register_mode = "none";
defparam \RGB[12]~I .output_register_mode = "none";
defparam \RGB[12]~I .oe_register_mode = "none";
defparam \RGB[12]~I .input_async_reset = "none";
defparam \RGB[12]~I .output_async_reset = "none";
defparam \RGB[12]~I .oe_async_reset = "none";
defparam \RGB[12]~I .input_sync_reset = "none";
defparam \RGB[12]~I .output_sync_reset = "none";
defparam \RGB[12]~I .oe_sync_reset = "none";
defparam \RGB[12]~I .input_power_up = "low";
defparam \RGB[12]~I .output_power_up = "low";
defparam \RGB[12]~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_A7
cycloneii_io \RGB[11]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(RGB[11]));
// synopsys translate_off
defparam \RGB[11]~I .operation_mode = "output";
defparam \RGB[11]~I .input_register_mode = "none";
defparam \RGB[11]~I .output_register_mode = "none";
defparam \RGB[11]~I .oe_register_mode = "none";
defparam \RGB[11]~I .input_async_reset = "none";
defparam \RGB[11]~I .output_async_reset = "none";
defparam \RGB[11]~I .oe_async_reset = "none";
defparam \RGB[11]~I .input_sync_reset = "none";
defparam \RGB[11]~I .output_sync_reset = "none";
defparam \RGB[11]~I .oe_sync_reset = "none";
defparam \RGB[11]~I .input_power_up = "low";
defparam \RGB[11]~I .output_power_up = "low";
defparam \RGB[11]~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_B7
cycloneii_io \RGB[10]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(RGB[10]));
// synopsys translate_off
defparam \RGB[10]~I .operation_mode = "output";
defparam \RGB[10]~I .input_register_mode = "none";
defparam \RGB[10]~I .output_register_mode = "none";
defparam \RGB[10]~I .oe_register_mode = "none";
defparam \RGB[10]~I .input_async_reset = "none";
defparam \RGB[10]~I .output_async_reset = "none";
defparam \RGB[10]~I .oe_async_reset = "none";
defparam \RGB[10]~I .input_sync_reset = "none";
defparam \RGB[10]~I .output_sync_reset = "none";
defparam \RGB[10]~I .oe_sync_reset = "none";
defparam \RGB[10]~I .input_power_up = "low";
defparam \RGB[10]~I .output_power_up = "low";
defparam \RGB[10]~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_A6
cycloneii_io \RGB[9]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(RGB[9]));
// synopsys translate_off
defparam \RGB[9]~I .operation_mode = "output";
defparam \RGB[9]~I .input_register_mode = "none";
defparam \RGB[9]~I .output_register_mode = "none";
defparam \RGB[9]~I .oe_register_mode = "none";
defparam \RGB[9]~I .input_async_reset = "none";
defparam \RGB[9]~I .output_async_reset = "none";
defparam \RGB[9]~I .oe_async_reset = "none";
defparam \RGB[9]~I .input_sync_reset = "none";
defparam \RGB[9]~I .output_sync_reset = "none";
defparam \RGB[9]~I .oe_sync_reset = "none";
defparam \RGB[9]~I .input_power_up = "low";
defparam \RGB[9]~I .output_power_up = "low";
defparam \RGB[9]~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_B9
cycloneii_io \RGB[8]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devoe),
	.combout(),
	.regout(),
	.differentialout(),
	.linkout(),
	.padio(RGB[8]));
// synopsys translate_off
defparam \RGB[8]~I .operation_mode = "output";
defparam \RGB[8]~I .input_register_mode = "none";
defparam \RGB[8]~I .output_register_mode = "none";
defparam \RGB[8]~I .oe_register_mode = "none";
defparam \RGB[8]~I .input_async_reset = "none";
defparam \RGB[8]~I .output_async_reset = "none";
defparam \RGB[8]~I .oe_async_reset = "none";
defparam \RGB[8]~I .input_sync_reset = "none";
defparam \RGB[8]~I .output_sync_reset = "none";
defparam \RGB[8]~I .oe_sync_reset = "none";
defparam \RGB[8]~I .input_power_up = "low";
defparam \RGB[8]~I .output_power_up = "low";
defparam \RGB[8]~I .oe_power_up = "low";
// synopsys translate_on

// atom is at PIN_E8
cycloneii_io \RGB[7]~I (
	.datain(gnd),
	.oe(vcc),
	.outclk(gnd),
	.outclkena(vcc),
	.inclk(gnd),
	.inclkena(vcc),
	.areset(gnd),
	.sreset(gnd),
	.differentialin(),
	.linkin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.devoe(devo

⌨️ 快捷键说明

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