主页
> 支持
> 软件
> 综合工具
> FPGA Compiler II
> Example of Creating a Black Box for a Verilog HDL Custom Megafunction Variation with the FPGA Compiler II Software
Example of Creating a Black Box for a Verilog HDL Custom Megafunction Variation with the FPGA Compiler II Software
To specify that the FPGA Compiler II software should treat the lvds_rx_wrapper.v file that you created in Example of Creating a Verilog HDL Custom Variation of the altlvds_rx Function as a black box, refer to the following code sample from the top-level design file. In this example, the top-level design file is top_level_lvds.v. To modify the source code for the top_level_lvds.v file to define the module name and port type and to specify that the module is a black box, you can use the lvds_rx_wrapper_bb.v empty module declaration and add it to the top_level_lvds.v top-level design file as shown in the following code sample: