To bridge the power and interoperability of both the LatticeMico8™ (LM8) 8-bit microcontroller and the WISHBONE bus interface, this reference design provides logic to adapt the LM8 external I/O to a WISHBONE master interface. The LM8 to WISHBONE adapter reference designer uses the upper address lines to decode each individual slave device. The number of address lines used for this is configurable, with the number of decoded slaves equaling 2N address lines used. Based on this address decoding, the desired device is enabled.
The LatticeMico8 is an open IP licensed core that is easily configured for FPGA/CPLD devices. This versatile microcontroller provides a wide range of capabilities with minimal device resources. The WISHBONE interface is a flexible, multipurpose general interface bus. With the increasing number of WISHBONE-capable open-source designs and intellectual property (IP), system design can be greatly simplified.