Follow these steps to create the taps
block in the filtref.bdf file:
In the Block Editor window, click the Block Tool button on the toolbar.
Click a blank space in the Block Editor and drag the Block Tool pointer until the block is the size you want.
You can use the Undo and Redo commands (Edit menu) to make corrections, if necessary. |
Click the Selection and Smart Drawing Tool button on the toolbar.
With the Selection and Smart Drawing Tool, double-click the block_name
default block name.
To rename the block_name
default block name, type taps
and press Enter.
You can also specify the block name by double-clicking the block, and then specifying the block name in the General tab of the Block Properties dialog box. |
With the Selection and Smart Drawing Tool, double-click in the I/O column of the taps
block. The I/Os tab of the Block Properties dialog box appears automatically.
Under I/O, type clk
in the Name box as the first
port name, and in the Type list, select INPUT.
Click Add. The clk
port name appears in the Existing
block I/Os list.
Repeat steps 7 and 8 to enter each of the port names shown in the following table:
You can also type in all of the input port names at once, separating each name by a comma, and then click Add. |
Name: | Type: |
clk (already entered) |
INPUT |
reset |
INPUT |
sel[1..0] |
INPUT |
newt |
INPUT |
d[7..0] |
INPUT |
x[7..0] |
OUTPUT |
Click OK. You have now specified the input and output ports of the taps
block.
Select the taps
block.
Choose AutoFit (right button pop-up menu). This command resizes the border of the taps
block to fit proportionally around the I/O ports table, and ensures that all data about the block is visible.
|