![Lattice Semiconductor LatticeMico32 Hardware Developer User Manual Download Page 75](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852075.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Specifying Clock/Reset and External Ports
LatticeMico32 Hardware Developer User Guide
69
Connecting External Output Ports
To connect the external output ports:
1. Click the
Reset
button to specify a new connection.
2. In the
Connect To
box, enter
external_out_bus
to specify a connection
to the component’s external_out_bus port, as shown in Figure 37.
3. Since this is an output port from the component, select the
Direction
pull-
down menu and select
output
.
4. Since the external port is 16 bits wide, enter 16 in the
Width
box.
The MSB
Run Generator
function creates the LatticeMico32 top-level
Verilog file, which exposes the signals from your custom component. For
this example, you will make MSB expose the “external_out_bus” from the
component as “my_out_bus.”
Figure 35: Selecting the Reset Port in the Parameters Window