![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 90](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852090.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Adding Software Files to Custom Components
84
LatticeMico32 Hardware Developer User Guide
Adding Software Files to Custom Components
If your custom component provides software support, such as the component
initialization function noted in the previous section, you can optionally identify
these files in the Software Files tab of the Import/Create Custom Component
dialog box.
The Software Files tab enables you to import C software files that pertain to
your custom component. You can specify the file to be part of a managed
build.
Figure 44 shows the steps required for adding software support files.
Add
Adds a new element to the DDStruct structure with the values active in the
DDStruct Attributes group box.
Reset
Clears the DDStruct Attributes group box controls.
DRC
Performs a design-rule check of the new component.
Save
Adds the custom component to LatticeMico32. If the design-rule check fails, a
message appears that warns you that the data to be saved contains errors and
cannot be used in a platform. The component icon displays a small red “x” in the
bottom left-hand corner.
If the custom component passes the design-rule check, no message box or red
“x” appears, and the data is saved.
If you are going to override an existing file, another message comes up to ask
you for override permission.
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 12: Software Tab Options (Continued)
Option
Description