clock_pll_bb.v 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. // megafunction wizard: %ALTPLL%VBB%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: altpll
  5. // ============================================================
  6. // File Name: clock_pll.v
  7. // Megafunction Name(s):
  8. // altpll
  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. // 21.1.1 Build 850 06/23/2022 SJ Lite Edition
  17. // ************************************************************
  18. //Copyright (C) 2022 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. module clock_pll (
  33. areset,
  34. inclk0,
  35. c0,
  36. c1,
  37. c2);
  38. input areset;
  39. input inclk0;
  40. output c0;
  41. output c1;
  42. output c2;
  43. `ifndef ALTERA_RESERVED_QIS
  44. // synopsys translate_off
  45. `endif
  46. tri0 areset;
  47. `ifndef ALTERA_RESERVED_QIS
  48. // synopsys translate_on
  49. `endif
  50. endmodule
  51. // ============================================================
  52. // CNX file retrieval info
  53. // ============================================================
  54. // Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
  55. // Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
  56. // Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
  57. // Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
  58. // Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
  59. // Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "1"
  60. // Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "0"
  61. // Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
  62. // Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
  63. // Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
  64. // Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
  65. // Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
  66. // Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
  67. // Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
  68. // Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
  69. // Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "Any"
  70. // Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "1"
  71. // Retrieval info: PRIVATE: DIV_FACTOR1 NUMERIC "1"
  72. // Retrieval info: PRIVATE: DIV_FACTOR2 NUMERIC "1"
  73. // Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
  74. // Retrieval info: PRIVATE: DUTY_CYCLE1 STRING "50.00000000"
  75. // Retrieval info: PRIVATE: DUTY_CYCLE2 STRING "50.00000000"
  76. // Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "100.000000"
  77. // Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE1 STRING "100.000000"
  78. // Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE2 STRING "50.000000"
  79. // Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
  80. // Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
  81. // Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
  82. // Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
  83. // Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
  84. // Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
  85. // Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
  86. // Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "50.000"
  87. // Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
  88. // Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
  89. // Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
  90. // Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
  91. // Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
  92. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  93. // Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
  94. // Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "0"
  95. // Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
  96. // Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
  97. // Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
  98. // Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
  99. // Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT1 STRING "deg"
  100. // Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT2 STRING "ps"
  101. // Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
  102. // Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
  103. // Retrieval info: PRIVATE: MIRROR_CLK1 STRING "0"
  104. // Retrieval info: PRIVATE: MIRROR_CLK2 STRING "0"
  105. // Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "2"
  106. // Retrieval info: PRIVATE: MULT_FACTOR1 NUMERIC "2"
  107. // Retrieval info: PRIVATE: MULT_FACTOR2 NUMERIC "1"
  108. // Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
  109. // Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
  110. // Retrieval info: PRIVATE: OUTPUT_FREQ1 STRING "100.00000000"
  111. // Retrieval info: PRIVATE: OUTPUT_FREQ2 STRING "50.00000000"
  112. // Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
  113. // Retrieval info: PRIVATE: OUTPUT_FREQ_MODE1 STRING "0"
  114. // Retrieval info: PRIVATE: OUTPUT_FREQ_MODE2 STRING "0"
  115. // Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
  116. // Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT1 STRING "MHz"
  117. // Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT2 STRING "MHz"
  118. // Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
  119. // Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
  120. // Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
  121. // Retrieval info: PRIVATE: PHASE_SHIFT1 STRING "180.00000000"
  122. // Retrieval info: PRIVATE: PHASE_SHIFT2 STRING "0.00000000"
  123. // Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
  124. // Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
  125. // Retrieval info: PRIVATE: PHASE_SHIFT_UNIT1 STRING "deg"
  126. // Retrieval info: PRIVATE: PHASE_SHIFT_UNIT2 STRING "ps"
  127. // Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
  128. // Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "1"
  129. // Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
  130. // Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
  131. // Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
  132. // Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
  133. // Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
  134. // Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
  135. // Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
  136. // Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
  137. // Retrieval info: PRIVATE: RECONFIG_FILE STRING "clock_pll.mif"
  138. // Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
  139. // Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
  140. // Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
  141. // Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
  142. // Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
  143. // Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
  144. // Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
  145. // Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.000"
  146. // Retrieval info: PRIVATE: SPREAD_USE STRING "0"
  147. // Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
  148. // Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
  149. // Retrieval info: PRIVATE: STICKY_CLK1 STRING "1"
  150. // Retrieval info: PRIVATE: STICKY_CLK2 STRING "1"
  151. // Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
  152. // Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
  153. // Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
  154. // Retrieval info: PRIVATE: USE_CLK0 STRING "1"
  155. // Retrieval info: PRIVATE: USE_CLK1 STRING "1"
  156. // Retrieval info: PRIVATE: USE_CLK2 STRING "1"
  157. // Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
  158. // Retrieval info: PRIVATE: USE_CLKENA1 STRING "0"
  159. // Retrieval info: PRIVATE: USE_CLKENA2 STRING "0"
  160. // Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
  161. // Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
  162. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  163. // Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "AUTO"
  164. // Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "1"
  165. // Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
  166. // Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "2"
  167. // Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
  168. // Retrieval info: CONSTANT: CLK1_DIVIDE_BY NUMERIC "1"
  169. // Retrieval info: CONSTANT: CLK1_DUTY_CYCLE NUMERIC "50"
  170. // Retrieval info: CONSTANT: CLK1_MULTIPLY_BY NUMERIC "2"
  171. // Retrieval info: CONSTANT: CLK1_PHASE_SHIFT STRING "5000"
  172. // Retrieval info: CONSTANT: CLK2_DIVIDE_BY NUMERIC "1"
  173. // Retrieval info: CONSTANT: CLK2_DUTY_CYCLE NUMERIC "50"
  174. // Retrieval info: CONSTANT: CLK2_MULTIPLY_BY NUMERIC "1"
  175. // Retrieval info: CONSTANT: CLK2_PHASE_SHIFT STRING "0"
  176. // Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
  177. // Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "20000"
  178. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  179. // Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
  180. // Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
  181. // Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
  182. // Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
  183. // Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_USED"
  184. // Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
  185. // Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
  186. // Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
  187. // Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
  188. // Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
  189. // Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
  190. // Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
  191. // Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
  192. // Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_UNUSED"
  193. // Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
  194. // Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
  195. // Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
  196. // Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
  197. // Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
  198. // Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
  199. // Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
  200. // Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
  201. // Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
  202. // Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
  203. // Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
  204. // Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
  205. // Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
  206. // Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
  207. // Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
  208. // Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_USED"
  209. // Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_USED"
  210. // Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_UNUSED"
  211. // Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
  212. // Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
  213. // Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
  214. // Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
  215. // Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
  216. // Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
  217. // Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
  218. // Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
  219. // Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
  220. // Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
  221. // Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
  222. // Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
  223. // Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
  224. // Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
  225. // Retrieval info: USED_PORT: areset 0 0 0 0 INPUT GND "areset"
  226. // Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
  227. // Retrieval info: USED_PORT: c1 0 0 0 0 OUTPUT_CLK_EXT VCC "c1"
  228. // Retrieval info: USED_PORT: c2 0 0 0 0 OUTPUT_CLK_EXT VCC "c2"
  229. // Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
  230. // Retrieval info: CONNECT: @areset 0 0 0 0 areset 0 0 0 0
  231. // Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
  232. // Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
  233. // Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
  234. // Retrieval info: CONNECT: c1 0 0 0 0 @clk 0 0 1 1
  235. // Retrieval info: CONNECT: c2 0 0 0 0 @clk 0 0 1 2
  236. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll.v TRUE
  237. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll.ppf TRUE
  238. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll.inc FALSE
  239. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll.cmp FALSE
  240. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll.bsf FALSE
  241. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll_inst.v FALSE
  242. // Retrieval info: GEN_FILE: TYPE_NORMAL clock_pll_bb.v TRUE
  243. // Retrieval info: LIB_FILE: altera_mf
  244. // Retrieval info: CBX_MODULE_PREFIX: ON