2
0

hdmitx.v 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. // 20.1.1 Build 720 11/11/2020 SJ Lite Edition
  17. // ************************************************************
  18. //Copyright (C) 2020 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_coreclock,
  40. tx_locked,
  41. tx_out,
  42. tx_outclock);
  43. input pll_areset;
  44. input [29:0] tx_in;
  45. input tx_inclock;
  46. output tx_coreclock;
  47. output tx_locked;
  48. output [2:0] tx_out;
  49. output tx_outclock;
  50. wire sub_wire0;
  51. wire sub_wire1;
  52. wire [2:0] sub_wire2;
  53. wire sub_wire3;
  54. wire tx_coreclock = sub_wire0;
  55. wire tx_locked = sub_wire1;
  56. wire [2:0] tx_out = sub_wire2[2:0];
  57. wire tx_outclock = sub_wire3;
  58. altlvds_tx ALTLVDS_TX_component (
  59. .pll_areset (pll_areset),
  60. .tx_in (tx_in),
  61. .tx_inclock (tx_inclock),
  62. .tx_coreclock (sub_wire0),
  63. .tx_locked (sub_wire1),
  64. .tx_out (sub_wire2),
  65. .tx_outclock (sub_wire3),
  66. .sync_inclock (1'b0),
  67. .tx_data_reset (1'b0),
  68. .tx_enable (1'b1),
  69. .tx_pll_enable (1'b1),
  70. .tx_syncclock (1'b0));
  71. defparam
  72. ALTLVDS_TX_component.center_align_msb = "UNUSED",
  73. ALTLVDS_TX_component.common_rx_tx_pll = "ON",
  74. ALTLVDS_TX_component.coreclock_divide_by = 2,
  75. ALTLVDS_TX_component.data_rate = "480.0 Mbps",
  76. ALTLVDS_TX_component.deserialization_factor = 10,
  77. ALTLVDS_TX_component.differential_drive = 0,
  78. ALTLVDS_TX_component.enable_clock_pin_mode = "UNUSED",
  79. ALTLVDS_TX_component.implement_in_les = "ON",
  80. ALTLVDS_TX_component.inclock_boost = 0,
  81. ALTLVDS_TX_component.inclock_data_alignment = "EDGE_ALIGNED",
  82. ALTLVDS_TX_component.inclock_period = 20833,
  83. ALTLVDS_TX_component.inclock_phase_shift = 0,
  84. ALTLVDS_TX_component.intended_device_family = "Cyclone IV E",
  85. ALTLVDS_TX_component.lpm_hint = "CBX_MODULE_PREFIX=hdmitx",
  86. ALTLVDS_TX_component.lpm_type = "altlvds_tx",
  87. ALTLVDS_TX_component.multi_clock = "OFF",
  88. ALTLVDS_TX_component.number_of_channels = 3,
  89. ALTLVDS_TX_component.outclock_alignment = "EDGE_ALIGNED",
  90. ALTLVDS_TX_component.outclock_divide_by = 10,
  91. ALTLVDS_TX_component.outclock_duty_cycle = 50,
  92. ALTLVDS_TX_component.outclock_multiply_by = 2,
  93. ALTLVDS_TX_component.outclock_phase_shift = 0,
  94. ALTLVDS_TX_component.outclock_resource = "AUTO",
  95. ALTLVDS_TX_component.output_data_rate = 480,
  96. ALTLVDS_TX_component.pll_compensation_mode = "AUTO",
  97. ALTLVDS_TX_component.pll_self_reset_on_loss_lock = "ON",
  98. ALTLVDS_TX_component.preemphasis_setting = 0,
  99. ALTLVDS_TX_component.refclk_frequency = "UNUSED",
  100. ALTLVDS_TX_component.registered_input = "TX_CORECLK",
  101. ALTLVDS_TX_component.use_external_pll = "OFF",
  102. ALTLVDS_TX_component.use_no_phase_shift = "ON",
  103. ALTLVDS_TX_component.vod_setting = 0,
  104. ALTLVDS_TX_component.clk_src_is_pll = "off";
  105. endmodule
  106. // ============================================================
  107. // CNX file retrieval info
  108. // ============================================================
  109. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  110. // Retrieval info: PRIVATE: CNX_CLOCK_CHOICES STRING "tx_coreclock"
  111. // Retrieval info: PRIVATE: CNX_CLOCK_MODE NUMERIC "0"
  112. // Retrieval info: PRIVATE: CNX_COMMON_PLL NUMERIC "1"
  113. // Retrieval info: PRIVATE: CNX_DATA_RATE STRING "480.0"
  114. // Retrieval info: PRIVATE: CNX_DESER_FACTOR NUMERIC "10"
  115. // Retrieval info: PRIVATE: CNX_EXT_PLL STRING "OFF"
  116. // Retrieval info: PRIVATE: CNX_LE_SERDES STRING "ON"
  117. // Retrieval info: PRIVATE: CNX_NUM_CHANNEL NUMERIC "3"
  118. // Retrieval info: PRIVATE: CNX_OUTCLOCK_DIVIDE_BY NUMERIC "10"
  119. // Retrieval info: PRIVATE: CNX_PLL_ARESET NUMERIC "1"
  120. // Retrieval info: PRIVATE: CNX_PLL_FREQ STRING "48.00"
  121. // Retrieval info: PRIVATE: CNX_PLL_PERIOD STRING "20.833"
  122. // Retrieval info: PRIVATE: CNX_REG_INOUT NUMERIC "1"
  123. // Retrieval info: PRIVATE: CNX_TX_CORECLOCK STRING "ON"
  124. // Retrieval info: PRIVATE: CNX_TX_LOCKED STRING "ON"
  125. // Retrieval info: PRIVATE: CNX_TX_OUTCLOCK STRING "ON"
  126. // Retrieval info: PRIVATE: CNX_USE_CLOCK_RESC STRING "Auto selection"
  127. // Retrieval info: PRIVATE: CNX_USE_PLL_ENABLE NUMERIC "0"
  128. // Retrieval info: PRIVATE: CNX_USE_TX_OUT_PHASE NUMERIC "0"
  129. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  130. // Retrieval info: PRIVATE: pCNX_OUTCLK_ALIGN STRING "UNUSED"
  131. // Retrieval info: PRIVATE: pINCLOCK_PHASE_SHIFT STRING "0.00"
  132. // Retrieval info: PRIVATE: pOUTCLOCK_PHASE_SHIFT STRING "0.00"
  133. // Retrieval info: CONSTANT: CENTER_ALIGN_MSB STRING "UNUSED"
  134. // Retrieval info: CONSTANT: COMMON_RX_TX_PLL STRING "ON"
  135. // Retrieval info: CONSTANT: CORECLOCK_DIVIDE_BY NUMERIC "2"
  136. // Retrieval info: CONSTANT: clk_src_is_pll STRING "off"
  137. // Retrieval info: CONSTANT: DATA_RATE STRING "480.0 Mbps"
  138. // Retrieval info: CONSTANT: DESERIALIZATION_FACTOR NUMERIC "10"
  139. // Retrieval info: CONSTANT: DIFFERENTIAL_DRIVE NUMERIC "0"
  140. // Retrieval info: CONSTANT: ENABLE_CLOCK_PIN_MODE STRING "UNUSED"
  141. // Retrieval info: CONSTANT: IMPLEMENT_IN_LES STRING "ON"
  142. // Retrieval info: CONSTANT: INCLOCK_BOOST NUMERIC "0"
  143. // Retrieval info: CONSTANT: INCLOCK_DATA_ALIGNMENT STRING "EDGE_ALIGNED"
  144. // Retrieval info: CONSTANT: INCLOCK_PERIOD NUMERIC "20833"
  145. // Retrieval info: CONSTANT: INCLOCK_PHASE_SHIFT NUMERIC "0"
  146. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  147. // Retrieval info: CONSTANT: LPM_HINT STRING "UNUSED"
  148. // Retrieval info: CONSTANT: LPM_TYPE STRING "altlvds_tx"
  149. // Retrieval info: CONSTANT: MULTI_CLOCK STRING "OFF"
  150. // Retrieval info: CONSTANT: NUMBER_OF_CHANNELS NUMERIC "3"
  151. // Retrieval info: CONSTANT: OUTCLOCK_ALIGNMENT STRING "EDGE_ALIGNED"
  152. // Retrieval info: CONSTANT: OUTCLOCK_DIVIDE_BY NUMERIC "10"
  153. // Retrieval info: CONSTANT: OUTCLOCK_DUTY_CYCLE NUMERIC "50"
  154. // Retrieval info: CONSTANT: OUTCLOCK_MULTIPLY_BY NUMERIC "2"
  155. // Retrieval info: CONSTANT: OUTCLOCK_PHASE_SHIFT NUMERIC "0"
  156. // Retrieval info: CONSTANT: OUTCLOCK_RESOURCE STRING "AUTO"
  157. // Retrieval info: CONSTANT: OUTPUT_DATA_RATE NUMERIC "480"
  158. // Retrieval info: CONSTANT: PLL_COMPENSATION_MODE STRING "AUTO"
  159. // Retrieval info: CONSTANT: PLL_SELF_RESET_ON_LOSS_LOCK STRING "ON"
  160. // Retrieval info: CONSTANT: PREEMPHASIS_SETTING NUMERIC "0"
  161. // Retrieval info: CONSTANT: REFCLK_FREQUENCY STRING "UNUSED"
  162. // Retrieval info: CONSTANT: REGISTERED_INPUT STRING "TX_CORECLK"
  163. // Retrieval info: CONSTANT: USE_EXTERNAL_PLL STRING "OFF"
  164. // Retrieval info: CONSTANT: USE_NO_PHASE_SHIFT STRING "ON"
  165. // Retrieval info: CONSTANT: VOD_SETTING NUMERIC "0"
  166. // Retrieval info: USED_PORT: pll_areset 0 0 0 0 INPUT NODEFVAL "pll_areset"
  167. // Retrieval info: CONNECT: @pll_areset 0 0 0 0 pll_areset 0 0 0 0
  168. // Retrieval info: USED_PORT: tx_coreclock 0 0 0 0 OUTPUT NODEFVAL "tx_coreclock"
  169. // Retrieval info: CONNECT: tx_coreclock 0 0 0 0 @tx_coreclock 0 0 0 0
  170. // Retrieval info: USED_PORT: tx_in 0 0 30 0 INPUT NODEFVAL "tx_in[29..0]"
  171. // Retrieval info: CONNECT: @tx_in 0 0 30 0 tx_in 0 0 30 0
  172. // Retrieval info: USED_PORT: tx_inclock 0 0 0 0 INPUT NODEFVAL "tx_inclock"
  173. // Retrieval info: CONNECT: @tx_inclock 0 0 0 0 tx_inclock 0 0 0 0
  174. // Retrieval info: USED_PORT: tx_locked 0 0 0 0 OUTPUT NODEFVAL "tx_locked"
  175. // Retrieval info: CONNECT: tx_locked 0 0 0 0 @tx_locked 0 0 0 0
  176. // Retrieval info: USED_PORT: tx_out 0 0 3 0 OUTPUT NODEFVAL "tx_out[2..0]"
  177. // Retrieval info: CONNECT: tx_out 0 0 3 0 @tx_out 0 0 3 0
  178. // Retrieval info: USED_PORT: tx_outclock 0 0 0 0 OUTPUT NODEFVAL "tx_outclock"
  179. // Retrieval info: CONNECT: tx_outclock 0 0 0 0 @tx_outclock 0 0 0 0
  180. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.v TRUE FALSE
  181. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.qip TRUE FALSE
  182. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.bsf TRUE TRUE
  183. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx_inst.v TRUE TRUE
  184. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx_bb.v TRUE TRUE
  185. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.inc TRUE TRUE
  186. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.cmp TRUE TRUE
  187. // Retrieval info: GEN_FILE: TYPE_NORMAL hdmitx.ppf TRUE FALSE
  188. // Retrieval info: LIB_FILE: altera_mf
  189. // Retrieval info: CBX_MODULE_PREFIX: ON