![Lattice Semiconductor LatticeMico32 Hardware Developer User Manual Download Page 74](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852074.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Specifying Clock/Reset and External Ports
68
LatticeMico32 Hardware Developer User Guide
Specifying the Interrupt Port
To specify the interrupt port:
1. Select the
Interrupt
line in the Parameters window.
2. Select the Active drop-down menu and choose
High
or
Low
to specify
whether your component’s interrupt line is active high or active low.
Active high means that your component asserts an interrupt when the
selected interrupt port’s signal value is high.
Active low means that your component asserts an interrupt when the
selected interrupt port’s signal value is low.
The MSB platform generator inserts the appropriate logic when
connecting your component’s interrupt line to the processor according to
this specification and when generating a platform that contains your
custom component.
3. Enter
interrupt_signal
in the Connect To box to specify the interrupt port
connection between your component and the GUI-generated wrapper, as
shown in Figure 36.
4. Click the
Update
button to apply this specification.
Figure 34: Entering wb_clk in Connect To Box