Intel® Quartus® Prime Pro Edition User Guide: Block-Based Design

ID 683247
Date 12/16/2019
Document Table of Contents Step 3: Developer: Create a Black Box File

Reusing a core partition .qdb file also requires that you add a supporting black box file to the Consumer project. A black box file is an RTL source file that only contains port and module or entity definitions, but does not contain any logic.
The black box file defines the ports and port interface types for synthesis in the Consumer project. Follow these steps to create a block box port definitions file for the partition.

The Compiler analyzes and elaborates any RTL that you include in the black box file. Edits to the RTL do not affect a partition that uses a .qdb file.

  1. Create an HDL file (.v, .vhd, .sv) that contains only the port definitions for the exported core partition. Include parameters or generics passed to the module or entity. For example:
    module bus_shift #(
    	parameter DEPTH=256,
    	parameter WIDTH=8
    	input clk,
    	input enable,
    	input reset,
    	input [WIDTH-1:0] sr_in,
    	output [WIDTH-1:0] sr_out
  2. Provide the black box file and exported core partition .qdb file to the Consumer.

Did you find the information on this page useful?

Characters remaining:

Feedback Message