Download DKAN0011A - Digi-Key

Transcript
Setting Up a Nios II System with SDRAM on the DE2
Add the red LEDs next. Expand Peripherals, expand Microcontroller Peripherals, select PIO
(Parallel I/O), and click Add. Set the Width to 18 and click Finish. Refer to Figure 13.
To ensure proper functionality, rename the pio_0 that was generated. Select pio_0, right-click on it,
select Rename, rename it to ledr, and press Enter.
Figure 13. PIO Red LED Setup
Digi-Key Corporation
Page 13 of 35