Visible to Intel only — GUID: vgo1433150481116
Ixiasoft
1.5.2. Running the Design in Software
To run the reference designs in software, follow these steps:
- Launch Nios II Software Build Tools (SBT) for Eclipse.
- Import the project files from the software folder.
- In the Nios II SBT for Eclipse window, open File > Import > Nios II Software Build Tools Project > Import Nios II Software Build Tools Project.
- Select the required files.
- Master Mode
- a10_pmbus
- a10_pmbus_bsp
- Slave Mode
- a10_pmbus_master_slave0
- a10_pmbusmaster_slave0_bsp
- a10_pmbusmaster_slave1
- a10_pmbusmaster_slave1_bsp
- Multi-Master Mode
- a10_pmbus_multimaster0
- a10_pmbus_multimaster0_bsp
- a10_pmbus_multimaster1
- a10_pmbus_multimaster1_bsp
- Master Mode
- Regenerate the Board Support Package (BSP).
- Right click <file_name>_bsp > Nios II > Generate BSP.
- Master Mode
- a10_pmbus_bsp
- Slave Mode
- a10_pmbusmaster_slave0_bsp
- a10_pmbusmaster_slave1_bsp
- Multi-Master Mode
- a10_pmbus_multimaster0_bsp
- a10_pmbus_multimaster1_bsp
- Master Mode
- Right click <file_name>_bsp > Nios II > Generate BSP.
- Open the following the files in the Nios II command shell.
- Master Mode
- a10_pmbus
- Slave Mode
- a10_pmbus_slave0
- a10_pmbus_slave1
- Multi-Master Mode
- a10_pmbus_multimaster0
- a10_pmbus_multimaster1
- Master Mode
- Open the downloaded .sof and program the software.
- In the Nios command shell, type the following:
- Master Mode
- a10_pmbus:
nios2-download –g a10_pmbus.elf && nios2-terminal
- a10_pmbus:
- Slave Mode
- a10_pmbus_slave0:
nios2-download -g a10_pmbus_slave0.elf -i 0 && nios2-terminal -i 0
- a10_pmbus_slave1:
nios2-download -g a10_pmbus_slave1.elf -i 1 && nios2-terminal -i 1
- a10_pmbus_slave0:
- Multi-Master Mode
- a10_pmbus_multimaster0:
nios2-download -g a10_pmbus_multimaster0.elf -i 0 && nios2-terminal -i 0
- a10_pmbus_multimaster1:
nios2-download -g a10_pmbus_multimaster1.elf -i 1 && nios2-terminal -i 1
- a10_pmbus_multimaster0:
- Master Mode
- In the Nios command shell, type the following: