1
0

NTSC_pll_bb.v 14 KB

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