hdmitx.v 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. // megafunction wizard: %ALTLVDS_TX%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: ALTLVDS_TX
  5. // ============================================================
  6. // File Name: hdmitx.v
  7. // Megafunction Name(s):
  8. // ALTLVDS_TX
  9. //
  10. // Simulation Library Files(s):
  11. // altera_mf
  12. // ============================================================
  13. // ************************************************************
  14. // THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
  15. //
  16. // 18.1.1 Build 646 04/11/2019 SJ Lite Edition
  17. // ************************************************************
  18. //Copyright (C) 2019 Intel Corporation. All rights reserved.
  19. //Your use of Intel Corporation's design tools, logic functions
  20. //and other software and tools, and any partner logic
  21. //functions, and any output files from any of the foregoing
  22. //(including device programming or simulation files), and any
  23. //associated documentation or information are expressly subject
  24. //to the terms and conditions of the Intel Program License
  25. //Subscription Agreement, the Intel Quartus Prime License Agreement,
  26. //the Intel FPGA IP License Agreement, or other applicable license
  27. //agreement, including, without limitation, that your use is for
  28. //the sole purpose of programming logic devices manufactured by
  29. //Intel and sold by Intel or its authorized distributors. Please
  30. //refer to the applicable agreement for further details, at
  31. //https://fpgasoftware.intel.com/eula.
  32. // synopsys translate_off
  33. `timescale 1 ps / 1 ps
  34. // synopsys translate_on
  35. module hdmitx (
  36. pll_areset,
  37. tx_in,
  38. tx_inclock,
  39. tx_locked,
  40. tx_out,
  41. tx_outclock);
  42. input pll_areset;
  43. input [29:0] tx_in;
  44. input tx_inclock;
  45. output tx_locked;
  46. output [2:0] tx_out;
  47. output tx_outclock;
  48. wire sub_wire0;
  49. wire [2:0] sub_wire1;
  50. wire sub_wire2;
  51. wire tx_locked = sub_wire0;
  52. wire [2:0] tx_out = sub_wire1[2:0];
  53. wire tx_outclock = sub_wire2;
  54. altlvds_tx ALTLVDS_TX_component (
  55. .pll_areset (pll_areset),
  56. .tx_in (tx_in),
  57. .tx_inclock (tx_inclock),
  58. .tx_locked (sub_wire0),
  59. .tx_out (sub_wire1),
  60. .tx_outclock (sub_wire2),
  61. .sync_inclock (1'b0),
  62. .tx_coreclock (),
  63. .tx_data_reset (1'b0),
  64. .tx_enable (1'b1),
  65. .tx_pll_enable (1'b1),
  66. .tx_syncclock (1'b0));
  67. defparam
  68. ALTLVDS_TX_component.center_align_msb = "UNUSED",
  69. ALTLVDS_TX_component.common_rx_tx_pll = "OFF",
  70. ALTLVDS_TX_component.coreclock_divide_by = 2,
  71. ALTLVDS_TX_component.data_rate = "360.0 Mbps",
  72. ALTLVDS_TX_component.deserialization_factor = 10,
  73. ALTLVDS_TX_component.differential_drive = 0,
  74. ALTLVDS_TX_component.enable_clock_pin_mode = "UNUSED",
  75. ALTLVDS_TX_component.implement_in_les = "ON",
  76. ALTLVDS_TX_component.inclock_boost = 0,
  77. ALTLVDS_TX_component.inclock_data_alignment = "EDGE_ALIGNED",
  78. ALTLVDS_TX_component.inclock_period = 27778,
  79. ALTLVDS_TX_component.inclock_phase_shift = 0,
  80. ALTLVDS_TX_component.intended_device_family = "Cyclone IV E",
  81. ALTLVDS_TX_component.lpm_hint = "CBX_MODULE_PREFIX=hdmitx",
  82. ALTLVDS_TX_component.lpm_type = "altlvds_tx",
  83. ALTLVDS_TX_component.multi_clock = "OFF",
  84. ALTLVDS_TX_component.number_of_channels = 3,
  85. ALTLVDS_TX_component.outclock_alignment = "EDGE_ALIGNED",
  86. ALTLVDS_TX_component.outclock_divide_by = 10,
  87. ALTLVDS_TX_component.outclock_duty_cycle = 50,
  88. ALTLVDS_TX_component.outclock_multiply_by = 2,
  89. ALTLVDS_TX_component.outclock_phase_shift = 0,
  90. ALTLVDS_TX_component.outclock_resource = "AUTO",
  91. ALTLVDS_TX_component.output_data_rate = 360,
  92. ALTLVDS_TX_component.pll_compensation_mode = "AUTO",
  93. ALTLVDS_TX_component.pll_self_reset_on_loss_lock = "ON",
  94. ALTLVDS_TX_component.preemphasis_setting = 0,
  95. ALTLVDS_TX_component.refclk_frequency = "UNUSED",
  96. ALTLVDS_TX_component.registered_input = "TX_CORECLK",
  97. ALTLVDS_TX_component.use_external_pll = "OFF",
  98. ALTLVDS_TX_component.use_no_phase_shift = "ON",
  99. ALTLVDS_TX_component.vod_setting = 0,
  100. ALTLVDS_TX_component.clk_src_is_pll = "off";
  101. endmodule
  102. // ============================================================
  103. // CNX file retrieval info
  104. // ============================================================
  105. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  106. // Retrieval info: PRIVATE: CNX_CLOCK_CHOICES STRING "tx_coreclock"
  107. // Retrieval info: PRIVATE: CNX_CLOCK_MODE NUMERIC "0"
  108. // Retrieval info: PRIVATE: CNX_COMMON_PLL NUMERIC "0"
  109. // Retrieval info: PRIVATE: CNX_DATA_RATE STRING "360.0"
  110. // Retrieval info: PRIVATE: CNX_DESER_FACTOR NUMERIC "10"
  111. // Retrieval info: PRIVATE: CNX_EXT_PLL STRING "OFF"
  112. // Retrieval info: PRIVATE: CNX_LE_SERDES STRING "ON"
  113. // Retrieval info: PRIVATE: CNX_NUM_CHANNEL NUMERIC "3"
  114. // Retrieval info: PRIVATE: CNX_OUTCLOCK_DIVIDE_BY NUMERIC "10"
  115. // Retrieval info: PRIVATE: CNX_PLL_ARESET NUMERIC "1"
  116. // Retrieval info: PRIVATE: CNX_PLL_FREQ STRING "36.00"
  117. // Retrieval info: PRIVATE: CNX_PLL_PERIOD STRING "27.778"
  118. // Retrieval info: PRIVATE: CNX_REG_INOUT NUMERIC "1"
  119. // Retrieval info: PRIVATE: CNX_TX_CORECLOCK STRING "OFF"
  120. // Retrieval info: PRIVATE: CNX_TX_LOCKED STRING "ON"
  121. // Retrieval info: PRIVATE: CNX_TX_OUTCLOCK STRING "ON"
  122. // Retrieval info: PRIVATE: CNX_USE_CLOCK_RESC STRING "Auto selection"
  123. // Retrieval info: PRIVATE: CNX_USE_PLL_ENABLE NUMERIC "0"
  124. // Retrieval info: PRIVATE: CNX_USE_TX_OUT_PHASE NUMERIC "0"
  125. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  126. // Retrieval info: PRIVATE: pCNX_OUTCLK_ALIGN STRING "UNUSED"
  127. // Retrieval info: PRIVATE: pINCLOCK_PHASE_SHIFT STRING "0.00"
  128. // Retrieval info: PRIVATE: pOUTCLOCK_PHASE_SHIFT STRING "0.00"
  129. // Retrieval info: CONSTANT: CENTER_ALIGN_MSB STRING "UNUSED"
  130. // Retrieval info: CONSTANT: COMMON_RX_TX_PLL STRING "OFF"
  131. // Retrieval info: CONSTANT: CORECLOCK_DIVIDE_BY NUMERIC "2"
  132. // Retrieval info: CONSTANT: clk_src_is_pll STRING "off"
  133. // Retrieval info: CONSTANT: DATA_RATE STRING "360.0 Mbps"
  134. // Retrieval info: CONSTANT: DESERIALIZATION_FACTOR NUMERIC "10"
  135. // Retrieval info: CONSTANT: DIFFERENTIAL_DRIVE NUMERIC "0"
  136. // Retrieval info: CONSTANT: ENABLE_CLOCK_PIN_MODE STRING "UNUSED"
  137. // Retrieval info: CONSTANT: IMPLEMENT_IN_LES STRING "ON"
  138. // Retrieval info: CONSTANT: INCLOCK_BOOST NUMERIC "0"
  139. // Retrieval info: CONSTANT: INCLOCK_DATA_ALIGNMENT STRING "EDGE_ALIGNED"
  140. // Retrieval info: CONSTANT: INCLOCK_PERIOD NUMERIC "27778"
  141. // Retrieval info: CONSTANT: INCLOCK_PHASE_SHIFT NUMERIC "0"
  142. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  143. // Retrieval info: CONSTANT: LPM_HINT STRING "UNUSED"
  144. // Retrieval info: CONSTANT: LPM_TYPE STRING "altlvds_tx"
  145. // Retrieval info: CONSTANT: MULTI_CLOCK STRING "OFF"
  146. // Retrieval info: CONSTANT: NUMBER_OF_CHANNELS NUMERIC "3"
  147. // Retrieval info: CONSTANT: OUTCLOCK_ALIGNMENT STRING "EDGE_ALIGNED"
  148. // Retrieval info: CONSTANT: OUTCLOCK_DIVIDE_BY NUMERIC "10"
  149. // Retrieval info: CONSTANT: OUTCLOCK_DUTY_CYCLE NUMERIC "50"
  150. // Retrieval info: CONSTANT: OUTCLOCK_MULTIPLY_BY NUMERIC "2"
  151. // Retrieval info: CONSTANT: OUTCLOCK_PHASE_SHIFT NUMERIC "0"
  152. // Retrieval info: CONSTANT: OUTCLOCK_RESOURCE STRING "AUTO"
  153. // Retrieval info: CONSTANT: OUTPUT_DATA_RATE NUMERIC "360"
  154. // Retrieval info: CONSTANT: PLL_COMPENSATION_MODE STRING "AUTO"
  155. // Retrieval info: CONSTANT: PLL_SELF_RESET_ON_LOSS_LOCK STRING "ON"
  156. // Retrieval info: CONSTANT: PREEMPHASIS_SETTING NUMERIC "0"
  157. // Retrieval info: CONSTANT: REFCLK_FREQUENCY STRING "UNUSED"
  158. // Retrieval info: CONSTANT: REGISTERED_INPUT STRING "TX_CORECLK"
  159. // Retrieval info: CONSTANT: USE_EXTERNAL_PLL STRING "OFF"
  160. // Retrieval info: CONSTANT: USE_NO_PHASE_SHIFT STRING "ON"
  161. // Retrieval info: CONSTANT: VOD_SETTING NUMERIC "0"
  162. // Retrieval info: USED_PORT: pll_areset 0 0 0 0 INPUT NODEFVAL "pll_areset"
  163. // Retrieval info: CONNECT: @pll_areset 0 0 0 0 pll_areset 0 0 0 0
  164. // Retrieval info: USED_PORT: tx_in 0 0 30 0 INPUT NODEFVAL "tx_in[29..0]"
  165. // Retrieval info: CONNECT: @tx_in 0 0 30 0 tx_in 0 0 30 0
  166. // Retrieval info: USED_PORT: tx_inclock 0 0 0 0 INPUT NODEFVAL "tx_inclock"
  167. // Retrieval info: CONNECT: @tx_inclock 0 0 0 0 tx_inclock 0 0 0 0
  168. // Retrieval info: USED_PORT: tx_locked 0 0 0 0 OUTPUT NODEFVAL "tx_locked"
  169. // Retrieval info: CONNECT: tx_locked 0 0 0 0 @tx_locked 0 0 0 0
  170. // Retrieval info: USED_PORT: tx_out 0 0 3 0 OUTPUT NODEFVAL "tx_out[2..0]"
  171. // Retrieval info: CONNECT: tx_out 0 0 3 0 @tx_out 0 0 3 0
  172. // Retrieval info: USED_PORT: tx_outclock 0 0 0 0 OUTPUT NODEFVAL "tx_outclock"
  173. // Retrieval info: CONNECT: tx_outclock 0 0 0 0 @tx_outclock 0 0 0 0
  174. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.v TRUE FALSE
  175. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.qip TRUE FALSE
  176. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.bsf TRUE TRUE
  177. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx_inst.v TRUE TRUE
  178. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx_bb.v TRUE TRUE
  179. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.inc TRUE TRUE
  180. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.cmp TRUE TRUE
  181. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.ppf TRUE FALSE
  182. // Retrieval info: LIB_FILE: altera_mf
  183. // Retrieval info: CBX_MODULE_PREFIX: ON