Example of Creating a Black Box for a Verilog HDL Custom Variation of a Megafunction
Refer to the following code sample from the top-level design file to specify that the Synplicity Synplify software should treat the my_pll.v file that you created in Example of Creating a Verilog HDL Custom Variation of the altclklock Function as a black box. In this example, the top-level design file is pllsource.v. To modify the source code for the pllsource.v file to define the module name and port type and to specify that the module is a black box, you can use the my_pll_bb.v empty module declaration and add it to the pll_source.v top-level design file as shown in the following code sample: