forked from Firebee/FPGA_Config
166 lines
5.9 KiB
Verilog
166 lines
5.9 KiB
Verilog
// megafunction wizard: %ALTDDIO_OUT%
|
|
// GENERATION: STANDARD
|
|
// VERSION: WM1.0
|
|
// MODULE: altddio_out
|
|
|
|
// ============================================================
|
|
// File Name: video_out.v
|
|
// Megafunction Name(s):
|
|
// altddio_out
|
|
//
|
|
// Simulation Library Files(s):
|
|
// altera_mf
|
|
// ============================================================
|
|
// ************************************************************
|
|
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
|
//
|
|
// 9.1 Build 350 03/24/2010 SP 2 SJ Web Edition
|
|
// ************************************************************
|
|
|
|
|
|
//Copyright (C) 1991-2010 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 from 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.
|
|
|
|
|
|
//altddio_out DEVICE_FAMILY="Cyclone III" INVERT_OUTPUT="OFF" POWER_UP_HIGH="OFF" WIDTH=1 datain_h datain_l dataout outclock
|
|
//VERSION_BEGIN 9.1SP2 cbx_altddio_out 2010:03:24:20:43:42:SJ cbx_cycloneii 2010:03:24:20:43:43:SJ cbx_mgl 2010:03:24:21:01:05:SJ cbx_stratix 2010:03:24:20:43:43:SJ cbx_stratixii 2010:03:24:20:43:43:SJ cbx_stratixiii 2010:03:24:20:43:43:SJ VERSION_END
|
|
// synthesis VERILOG_INPUT_VERSION VERILOG_2001
|
|
// altera message_off 10463
|
|
|
|
|
|
//synthesis_resources = IO 1
|
|
//synopsys translate_off
|
|
`timescale 1 ps / 1 ps
|
|
//synopsys translate_on
|
|
(* ALTERA_ATTRIBUTE = {"ANALYZE_METASTABILITY=OFF"} *)
|
|
module video_out_ddio_out
|
|
(
|
|
datain_h,
|
|
datain_l,
|
|
dataout,
|
|
outclock) /* synthesis synthesis_clearbox=1 */;
|
|
input [0:0] datain_h;
|
|
input [0:0] datain_l;
|
|
output [0:0] dataout;
|
|
input outclock;
|
|
|
|
wire [0:0] wire_ddio_outa_dataout;
|
|
|
|
cycloneiii_ddio_out ddio_outa_0
|
|
(
|
|
.clkhi(outclock),
|
|
.clklo(outclock),
|
|
.datainhi(datain_h),
|
|
.datainlo(datain_l),
|
|
.dataout(wire_ddio_outa_dataout[0:0]),
|
|
.muxsel(outclock)
|
|
`ifndef FORMAL_VERIFICATION
|
|
// synopsys translate_off
|
|
`endif
|
|
,
|
|
.areset(1'b0),
|
|
.clk(1'b0),
|
|
.ena(1'b1),
|
|
.sreset(1'b0)
|
|
`ifndef FORMAL_VERIFICATION
|
|
// synopsys translate_on
|
|
`endif
|
|
// synopsys translate_off
|
|
,
|
|
.devclrn(1'b1),
|
|
.devpor(1'b1),
|
|
.dffhi(),
|
|
.dfflo()
|
|
// synopsys translate_on
|
|
);
|
|
defparam
|
|
ddio_outa_0.async_mode = "none",
|
|
ddio_outa_0.power_up = "low",
|
|
ddio_outa_0.sync_mode = "none",
|
|
ddio_outa_0.use_new_clocking_model = "true",
|
|
ddio_outa_0.lpm_type = "cycloneiii_ddio_out";
|
|
assign
|
|
dataout = wire_ddio_outa_dataout;
|
|
endmodule //video_out_ddio_out
|
|
//VALID FILE
|
|
|
|
|
|
// synopsys translate_off
|
|
`timescale 1 ps / 1 ps
|
|
// synopsys translate_on
|
|
module video_out (
|
|
datain_h,
|
|
datain_l,
|
|
outclock,
|
|
dataout)/* synthesis synthesis_clearbox = 1 */;
|
|
|
|
input datain_h;
|
|
input datain_l;
|
|
input outclock;
|
|
output dataout;
|
|
|
|
wire [0:0] sub_wire0;
|
|
wire [0:0] sub_wire1 = sub_wire0[0:0];
|
|
wire dataout = sub_wire1;
|
|
wire sub_wire2 = datain_h;
|
|
wire sub_wire3 = sub_wire2;
|
|
wire sub_wire4 = datain_l;
|
|
wire sub_wire5 = sub_wire4;
|
|
|
|
video_out_ddio_out video_out_ddio_out_component (
|
|
.outclock (outclock),
|
|
.datain_h (sub_wire3),
|
|
.datain_l (sub_wire5),
|
|
.dataout (sub_wire0));
|
|
|
|
endmodule
|
|
|
|
// ============================================================
|
|
// CNX file retrieval info
|
|
// ============================================================
|
|
// Retrieval info: PRIVATE: ARESET_MODE NUMERIC "2"
|
|
// Retrieval info: PRIVATE: CLKEN NUMERIC "0"
|
|
// Retrieval info: PRIVATE: EXTEND_OE_DISABLE NUMERIC "0"
|
|
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
|
// Retrieval info: PRIVATE: OE NUMERIC "0"
|
|
// Retrieval info: PRIVATE: OE_REG NUMERIC "0"
|
|
// Retrieval info: PRIVATE: POWER_UP_HIGH NUMERIC "0"
|
|
// Retrieval info: PRIVATE: SRESET_MODE NUMERIC "2"
|
|
// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "1"
|
|
// Retrieval info: PRIVATE: WIDTH NUMERIC "1"
|
|
// Retrieval info: CONSTANT: EXTEND_OE_DISABLE STRING "UNUSED"
|
|
// Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
|
// Retrieval info: CONSTANT: INVERT_OUTPUT STRING "OFF"
|
|
// Retrieval info: CONSTANT: LPM_TYPE STRING "altddio_out"
|
|
// Retrieval info: CONSTANT: OE_REG STRING "UNUSED"
|
|
// Retrieval info: CONSTANT: POWER_UP_HIGH STRING "OFF"
|
|
// Retrieval info: CONSTANT: WIDTH NUMERIC "1"
|
|
// Retrieval info: USED_PORT: datain_h 0 0 0 0 INPUT NODEFVAL datain_h
|
|
// Retrieval info: USED_PORT: datain_l 0 0 0 0 INPUT NODEFVAL datain_l
|
|
// Retrieval info: USED_PORT: dataout 0 0 0 0 OUTPUT NODEFVAL dataout
|
|
// Retrieval info: USED_PORT: outclock 0 0 0 0 INPUT_CLK_EXT NODEFVAL outclock
|
|
// Retrieval info: CONNECT: @datain_h 0 0 1 0 datain_h 0 0 0 0
|
|
// Retrieval info: CONNECT: @datain_l 0 0 1 0 datain_l 0 0 0 0
|
|
// Retrieval info: CONNECT: dataout 0 0 0 0 @dataout 0 0 1 0
|
|
// Retrieval info: CONNECT: @outclock 0 0 0 0 outclock 0 0 0 0
|
|
// Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out.vhd TRUE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out.ppf TRUE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out.inc TRUE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out.cmp TRUE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out.bsf TRUE FALSE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out_inst.vhd FALSE
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL video_out_syn.v TRUE
|
|
// Retrieval info: LIB_FILE: altera_mf
|