This repo contains all the code necessary for setting up a Nios II softcore able to drive a PSP 1000 LCD. The pin mapping in this project are made for a daugther board I have made for the DE0-Nano board. Schematics for the board will be added later.
More information can be found on my homepage: http://sites.google.com/site/mortenprojects/projects/DE0-Nano-LCD-screen
These instructions are testet with quartus 12.1
- Open project in quartus
- Open Qsys
- In Tools select `generate´
- Close Qsys
- Compile in Quartus (Time to make a cup of coffee)
- In Tools select
Nios II Software Build Tool for Eclipse
- Set project root as workspace
- File->New->Nios II Application and BSP from Template
- SOPC Information File name is the ending on .sopcinfo in project root
- Name the project display_test and click Finish
- Right click on the folder ending with display_test_bsp find Niso II and pick BSP Editor
- In main tab under hal select enable_reduced_device_drivers and enable_small_c_library
- Under the Linker Script tap set all regions to onchip_memory
- Click Generate and Exit
- Delete hello_world.c from display_test folder
- Go to terminal and make symlink from src folder in git root to software/display_test/
- Select Project->Build All
- Program FPGA
- Right click display_test folder and select Run As -> Nios II Hardware
If all is OK the LCD display should now show a test screen.