![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 78](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852078.webp)
C
REATING
C
USTOM
C
OMPONENTS
IN
L
ATTICE
M
ICO
S
YSTEM
:
Specifying RTL Files
72
LatticeMico32 Hardware Developer User Guide
Specifying RTL Files
Once you have specified the general attributes for your custom component,
as well as the port connections to and from your custom component, you must
specify the HDL files that implement your custom component. The only
acceptable HDL type is Verilog, and the files must have a .v extension.
You specify the Verilog HDL files in the RTL Files tab of the Import/Create
Custom Component dialog box.
Figure 39 provides an overview of the steps required in this tab.
Currently the only HDL available in MSB is Verilog. Components written in
VHDL must have a Verilog black-box wrapper around them. The VHDL
component must be compiled to NGO format independently of MSB, using
Lattice Diamond, and placed in the working directory.
Figure 38: Specifying the External Interface Completed