![Lattice Semiconductor LatticeMico32 Скачать руководство пользователя страница 9](http://html1.mh-extra.com/html/lattice-semiconductor/latticemico32/latticemico32_hardware-developer-user-manual_3843852009.webp)
L
ATTICE
M
ICO
S
YSTEM
O
VERVIEW
:
LatticeMico System Design Flow
LatticeMico32 Hardware Developer User Guide
3
Device Support
The Lattice FPGA devices that are currently supported in this design flow are
the following:
ECP5
LatticeECP
LatticeEC
LatticeECP2
LatticeECP2M
LatticeECP3
LatticeXP
LatticeXP2
LatticeSC
LatticeSCM
Design Flow Steps
The major steps involved in designing a LatticeMico32 soft-core
microprocessor are the following:
1. Create a project in the Lattice Diamond software that targets the desired
device family.
2. Use the Mico System Builder (MSB) in the LatticeMico System software to
create and develop a microprocessor platform. You access this in the
MSB perspective. Creating a platform involves generating an .msb file,
selecting component peripherals, and connecting them to the
LatticeMico32 platform.
3. In the MSB perspective, designate and develop drivers as necessary for
available peripherals and add them to the platform you created.
4. In the MSB perspective, generate a platform build, which automatically
creates a build structure with associated makefiles and an appropriate
linker script. This process involves the device drivers and any other
software components other than the user application.
5. In C/C++ SPE, use the C/C++ perspective to write the C/C++ user
application software and build your application.
6. Using the Debugger in the LatticeMico System software, test your code on
the target hardware, configure the target hardware, find issues with your
code, and correct them. You access the Debugger in either the
C/C++ perspective or the Debug perspective.
7. Using Diamond Programmer, download the executable code to on-board
flash memory. You can deploy the application providing a boot loader that
straps onto the application for loading the application from slow, non-
volatile storage (flash memory device) to fast volatile storage (on-chip or
off-chip RAM), without having to rebuild the application.