U
SING
THE
L
ATTICE
M
ICO
S
YSTEM
S
OFTWARE
:
Creating the Microprocessor Platform in MSB
30
LatticeMico32 Hardware Developer User Guide
Assigning Component Interrupt
Priorities
Assign an interrupt request priority (IRQ) to all components that feature a
dash in the IRQ column of the Editor view. You cannot assign interrupt
priorities to components lacking this dash in the IRQ column, such as
memories and CPUs.
To assign interrupt priorities for all components other than memories
and the CPU:
1. In the MSB perspective, choose
Platform Tools > Generate IRQ
or click
the Generate IRQ toolbar button
. You can also right-click in the Editor
view and choose
Generate IRQ
from the pop-up menu.
2. Choose
File > Save
.
The interrupt priorities are now saved in the .msb file.
Performing Design Rule Checks
You can ensure that your design conforms to the design rules for a given
device by performing a design rule check (DRC).
To perform a design rule check and verify the addressing:
In the MSB perspective, choose
Platform Tools > Run DRC
or click the
Run DRC toolbar button
. You can also right-click in the Editor view
and choose
Run DRC
from the pop-up menu.
Saving the Microprocessor Platform
After you do a number of tasks to set up your microprocessor platform, you
should save your changes.
To save your platform changes in MSB:
In the MSB perspective, choose
File > Save
.
This operation specifically saves any changes you made to the .msb file
and any option settings you may have applied.
Generating the Microprocessor
Platform
Generating the microprocessor platform saves and updates the platform
definition by updating the .msb file. It also does the following:
Assigns addresses to components without locked addresses