CREATING CUSTOM COMPONENTS IN L ATTICE M ICO S YSTEM : Opening the Import/Create Custom Component Dialog Box52 LatticeMico32 Hardware Developer User Guidecomponent in MSB. Once imported, your custom component is availableevery time that you start MSB. The dialog box also enables you to create acomponent configuration dialog box that lists parameters that you canconfigure for your custom component. If your custom component hasassociated software drivers or routines, you can specify them in the dialogbox so that they can be used in managed-make projects or a platform-libraryproject for a platform that uses this custom component.The following steps are required to import your custom component into MSB:1. Open the Import/Create Custom Component dialog box.2. Specify the component attributes.3. Specify the WISHBONE interface connections.4. Specify the clock/reset and optional external port connections.5. Specify your custom component’s RTL design files.6. Specify the user-configurable parameters that your RTL design, software,or both may need, if applicable.7. Optionally, specify software elements.8. Specify the optional software files that your custom component mayprovide for use in LatticeMico32 applications.9. Apply the changes.The following sections introduce you to the Import/Create Custom Componentdialog box and explain the steps just given.Once you have imported your custom component into MSB, you can use thesame Import/Create Custom Component dialog box to edit the providedinformation.Opening the Import/Create Custom ComponentDialog Box The LatticeMico32 MSB perspective has an Import/Create CustomComponent dialog box that allows you to create or import custom componentsfor use in your MSB platform.To import your WISHBONE-interface-compliant custom component, you musthave the following items: RTL source files that implement your custom componentNoteThe entire flow is based on the assumption that your custom component is written inVerilog. If you have a custom component written in VHDL, you must perform a fewmore steps before performing the steps just given. Refer to “Creating the VerilogWrapper for VHDL Designs” on page 87 for these steps.