![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 98](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852098.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Custom Component Example
92
LatticeMico32 Hardware Developer User Guide
Custom Component Example
The example in this section shows you how to add a custom component to
the MSB graphical user interface so that it is available for use in other
platforms.
This example demonstrates how to:
Make the created component available in MSB.
Provide a component customization dialog box for configuring RTL
instantiation parameters.
Add software support files and generate instance-specific data structures.
Sample Custom Component
This example includes a custom component that uses a Verilog RTL
implementation file and software driver files as sources, typical sources for
importing a custom component.
Verilog RTL Implementation
The Verilog (.v) source file for this example is shown in Figure 47.