2
0

hdmitx.v 8.3 KB

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