![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852062.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Specifying WISHBONE Interface Connections
56
LatticeMico32 Hardware Developer User Guide
Specifying WISHBONE Interface Connections
Once you have specified the general properties for your custom component,
you must specify the WISHBONE interface connections to and from your
custom component. You specify the WISHBONE interface connections for
master ports and slave ports in the Master/Slave Ports tab of the Import/
Create Custom Component dialog box. Refer to the
LatticeMico32 Processor
Reference Manual
for information on WISHBONE port signals.
If your component has a master port—that is, if it can drive the WISHBONE
bus—you must specify master port connections. If your component has a
slave port—that is, it responds to bus master requests—you must specify the
slave port connections. If your component has both types of ports, you must
specify both port connections sequentially.
Access
The text entered in this field is not used by MSB for any other purpose
than to concatenate to the Display Name.
For example, the SPI flash
component has read-only access, so
the SPI flash can be used to store the
read-only or code sections of the .elf file, but it cannot be used for the
read-write section of the .elf file.
Read – Stores .
elf file
.
rodata
, .
boot, and
.
text sections in memory
.
Write – Stores .
elf file
.
bss and
.
data sections in memory.
Read/Write – Stores
any .elf section in memory.
HTML Help
Specifies the name of the help file, if your component has an HTML help file
associated with it. It enables you to enter a path to an existing HTML file
describing your new component. Once you close the dialog box, this file is copied
into the directory structure created by the dialog box, so the original file is no
longer referenced. The contents of this file are displayed in the MSB Component
Help view. This file is optional.
DRC
Performs a design-rule check of the new component.
Save
Saves all the data currently entered for the component being defined. The Save
button performs a DRC to determine if the component is syntactically correct and
saves the data.
If the DRC fails, a message is displayed indicating that the component has errors
and cannot be used in a platform. The component icon displays a small red “x” in
the bottom left-hand corner.
If you are going to overwrite an existing component, another message appears
that asks permission to overwrite the previous design files.
Cancel
Cancels the actions and closes the dialog box. If you did not save your changes,
a message box comes up to warn you that the changed data will be lost.
Reset
Resets all values in all tabs in the dialog box.
Help
Displays the help for the dialog box.
Table 1: Component Tab Options (Continued)
Option
Description