![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852044.webp)
U
SING
THE
L
ATTICE
M
ICO
S
YSTEM
S
OFTWARE
:
Creating the Microprocessor Platform in MSB
38
LatticeMico32 Hardware Developer User Guide
Importing the EDIF File on Linux
For Linux, you import the EDIF file generated by the synthesis tool into
Diamond.
To import the EDIF (.edn or .edf) file output by MSB on Linux:
1. Choose
File > Add Existing File
.
2. In the dialog box, browse to the location of your .edn or .edf file, select the
file, and click
Open
.
Connecting the Microprocessor to FPGA Pins
You have two options for connecting the microprocessor to the FPGA pins:
Manually create the pin constraints and import them into Diamond.
Import a pre-created constraints file that is part of the platform templates
in the LatticeMico System software into Diamond.
For information about pin constraint assignments, see the “Applying Design
Constraints” and “Constraints Reference Guide” in the Lattice Diamond online
Help.
You can import the pin constraints specified for a template platform into
Diamond. When you use a platform template, MSB copies the logical
preference (.lpf) file associated with it into the ..\soc directory path of your
LatticeMico32 project.
To import the .lpf file:
1. In the Diamond, choose
File > Add > Existing File
.
2. Browse to the .lpf file and click
Open
.
Generating the Bitstream
Now you will generate a bitstream file to download the microprocessor to the
FPGA. This process automatically synthesizes, translates, maps, places, and
routes the design before it generates the bitstream file.
To generate a bitstream file:
1. In Diamond, select the Process tab.
2. In the Process pane, under Export Files, double-click
Bitstream File
.
The Diamond software generates the programming file in your project
folder. It is now ready for downloading onto the device.