
PSD GPLD Primer - PSD6XX/7XX/8XX é Application Note
055
WSi Inc. Fremont CA 800-832-6974 www.wsipsd.com
22
2.5.2 Mapping Your Design to Maximize PSD Utilization
Take these preliminary steps to conceptualize your design before starting PSDsoft.
1.
Create a memory map of your system; consider paging, data space, and program space.
Carefully place your critical address space (I/O, interrupts, device drivers, stack, etc.) to ensure that
they are accessible from any page.
2.
Consider the MCU connections to the PSD to see how they effect available PSD I/O
pins. For example, if the MCU has a non-multiplexed data bus, then an additional port of the
PSD will be consumed for the data bus.
3.
Visualize I/O quantity and types; categorize the I/O so they can be best mapped into PSD
silicon. Make use of a table like the one in Figure A1 of Appendix A to map your functions. For
inputs, consider the following questions:
←
Will the inputs be read by the MCU asynchronously (such as MCU I/O mode)
←
Do the inputs need to be latched
←
Will the inputs be used as inputs to the AND array
←
Are you creating a data port using Peripheral I/O mode
←
Are the pins not full-time inputs (bi-directional pins)
For outputs consider the following questions:
←
Will the MCU set the outputs directly (MCU I/O mode)
←
Will there be enough OMCs for combinatorial outputs after internal logic is specified
←
Will the output enables need to be controlled
←
Will the outputs be de-multiplexed address bits to pass on to an external device
←
Will the outputs be open-drain
←
Will the outputs need a fast slew-rate
←
Are any outputs chip selects for external devices
1.
Separate I/0 functions that can be controlled at run-time by the microcontroller (such as
MCU I/O mode) from those that are programmed into the part by PSDsoft Non-Volatile Memory
(NVM) control bits.
2.
Check the PSD data books for functions that reside only on certain pins. For example,
not all port pins allow open drain outputs, external chip selects, de-multiplexed address outputs,
etc. This varies slightly between the PSD6XX, 7XX, and 8XX devices.
3.
Build up a logic scheme. Always plan to use OMCs for general purpose combinatorial
and sequential logic. Don't consume OMC's for general purpose I/O needlessly. Rather, use MCU
I/O mode, as this is the intent for which MCU I/O was designed.
4.
Invoke PSDsoft (see PSDsoft user manual).
5.
Open your Project. Select appropriate PSD part number and MCU template.
6.
Go to the PSD Design Entry. Edit the PSDabel template with appropriate equations for
your design. Make use of keywords (see PSDsoft user manual). We suggest that you specify no
pin numbers initially (if possible), so the fitter can optimally map the PSD. Also, remember that
labels are case sensitive.
Compile the PSDabel file within the PSDabel Design Entry section.
7.
8.
After a successful PSDabel Design Entry compile operation, exit Design Entry, and go to
PSD Configuration. Choose the type of MCU interface and other PSD configuration items.