![Lattice Semiconductor LatticeMico32 Hardware Developer User Manual Download Page 57](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852057.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
LatticeMico32 Hardware Developer User Guide
51
Chapter 3
Creating Custom Components in
LatticeMico System
This chapter shows you how to bring your WISHBONE interface component
into the Mico System Builder (MSB) so that it is listed as an available
component in MSB for use in platforms. It assumes that you already have the
Verilog or VHDL source code for the component that you wish to add. Refer to
the section “WISHBONE Interconnect Architecture” in the
LatticeMico32
Processor Reference Manual
.
Figure 23 shows an HDL diagrammatic representation of your custom
component.
This chapter assumes that you have implemented your custom component
and that your custom component has a WISHBONE interface that contains
the signals required for connecting to the LatticeMico32’s WISHBONE fabric.
Your custom component may have a custom I/O interface that may need to be
used as platform input and output pins. Finally, your custom component may
require a clock signal and a reset signal. It may provide an interrupt request to
the LatticeMico32 processor through an interrupt pin.
The Import/Create Custom component dialog box in MSB enables you to
specify the properties for your custom component and makes it available as a
Figure 23: Custom Component Representation