Visible to Intel only — GUID: wtw1459910983560
Ixiasoft
Customizing the Design Example
To customize the design example to meet your requirements, follow the steps listed in the Importing Design Template and Importing Software Code for the Nios® II Processor sections.
Importing Design Template
To import design template, follow these steps:
- Download the design example from Intel Cloud.
- Launch the Intel® Quartus® Prime software. Click the File menu and select New Project Wizard.
- Specify the working directory for your design. Type BMC as the project name. Click Next.
- Select Project template in the Project Type page. Click Next.
- On the Design Templates page, click Install the design templates.
- In the Design Template Installation window, browse to the working directory where the bmc.par file is located. The default destination directory is the location you have specified in Step 3. Next, click OK to install the design template.
- After the installation completes, you will receive a message to prompt you that the design template installation was successful. Click OK.
- On the Design Templates page, select Board Management Controller in the list of available design templates. Click Next.
- On the Summary page, click Finish to complete the Intel® Quartus® Prime project creation.
- On the Tool menu, select Platform Designer .
- In the Open window, select nios.qsys file. Click Open.
- If you encounter error messages on the nios.i2c_opencores_0 and nios.pwm_0, you need to include the <design_folder>/platform/ip folder in the IP search path.
- On the Tools menu, select Options to update the IP search path.
- In the Options window, click Add and browse to the <design_folder>/platform/ip folder. Click Finish.
- You can customize the Platform Designer system to meet your design requirements. Save the changes and generate the HDL.
Importing Software Code for the Nios® II Processor
To import the software code for the design example, follow these steps:
- Unzip the bmc_software.zip in the <project_folder>\software folder.
- Launch the Nios® II Software Build Tools for Eclipse.
- Specify the workspace for the project.
- In the Project Explorer tab, select Import.
- On the Import window, select Import Nios® II Software Build Tools Project. Click Next.
- On the Import Software Build Tools Project window, click Browse to select the <design_folder>/software/bmc folder in the Project location. Type bmc as the Project name. Click Finish.
- On the Importing a custom Software Build Tools project window, click Browse to select the <design_folder>/software/bmc_bsp folder in the Project location. Type bmc_bsp as the Project name. Click Finish.
- In the Project Explorer tab, select the bmc_bsp project. Right-click and select Nios® II and Generate BSP.
- You can edit the C codes in the bmc folder to meet your design requirements. Save the changes.
- On the Project menu, select Build All to compile the changes made on the C codes.