Wire-Frame 3D Graphics Accelerator IP Core
|
Wire-Frame 3D Graphics Accelerator IP Core
|
Project Monophony
|
Project Monophony
|
================================================
|
================================================
|
Author: Kenji Ishimaru
|
Author: Kenji Ishimaru
|
|
|
implementation/ directory contains sample FPGA system.
|
implementation/ directory contains sample FPGA system.
|
|
|
Directories:
|
Directories:
|
------------------------------------------
|
------------------------------------------
|
rtl:
|
rtl:
|
de0: Dedicated RTL for DE0 system implementation.
|
de0: Dedicated RTL for DE0 system implementation.
|
fm_hvc: VGA Controller for sample system implementation
|
fm_hvc: VGA Controller for sample system implementation
|
|
|
synth/de0:
|
synth/de0:
|
Quartus II project data.
|
Quartus II project data.
|
The data is tested on Quartus II Version 13.1
|
The data is tested on Quartus II Version 13.1
|
|
|
How to Build FPGA Data
|
How to Build FPGA Data
|
------------------------------------------
|
------------------------------------------
|
1. Run Nios II Command Shell
|
1. Run Nios II Command Shell
|
|
|
2. Chenge direcroty to implement/synth/de0
|
2. Chenge direcroty to implement/synth/de0
|
|
|
3. Run de0_run_wb.sh script
|
3. Run de0_run_wb.sh script
|
$./de0_run_wb.sh
|
$./de0_run_wb.sh
|
|
|
If you try native(original) bus version, run de0_run_nb.sh.
|
If you try native(original) bus version, run de0_run_nb.sh.
|
In the case of run de0_run_nb.sh,
|
In the case of run de0_run_nb.sh,
|
remove D3D_WISHBONE definition in rtl/include/fm_3d_define.v.
|
remove D3D_WISHBONE definition in rtl/include/fm_3d_define.v.
|
|
|
Nios II Eclipse Project
|
Nios II Eclipse Project
|
------------------------------------------
|
------------------------------------------
|
Nios II Eclipse project is available at
|
Nios II Eclipse project is available at
|
implement/synth/de0/qtproject_wb/software.
|
implement/synth/de0/qtproject_wb/software.
|
|
|
The following steps import existing demo application projects.
|
The following steps import existing demo application projects.
|
1. run Eclipse Nios II
|
1. run Eclipse Nios II
|
$eclipse-nios2
|
$eclipse-nios2
|
|
|
2. In Workspace Launcher, set Workspace to
|
2. In Workspace Launcher, set Workspace to
|
"*/implement/synth/de0/qtproject_wb/software"
|
"*/implement/synth/de0/qtproject_wb/software"
|
|
|
3. Generate new project named "test"
|
3. Generate new project named "test"
|
File->New->Nios II Appication and BSP from Template,
|
File->New->Nios II Appication and BSP from Template,
|
|
|
SOPC Information File name:
|
SOPC Information File name:
|
"*/implement/synth/de0/qtproject_wb/d3d_system.sopcinfo"
|
"*/implement/synth/de0/qtproject_wb/d3d_system.sopcinfo"
|
Application project name:
|
Application project name:
|
test
|
test
|
Project template:
|
Project template:
|
Hello World
|
Hello World
|
|
|
4. Import existing projects
|
4. Import existing projects
|
File->Import...
|
File->Import...
|
General->Existing Projects into Workspace
|
General->Existing Projects into Workspace
|
Select root directory:"*/implement/synth/de0/qtproject_wb/software"
|
Select root directory:"*/implement/synth/de0/qtproject_wb/software"
|
|
|
After the projects are imported, the Project Explorer looks as follows:
|
After the projects are imported, the Project Explorer looks as follows:
|
----------
|
----------
|
bear
|
bear
|
cubes
|
cubes
|
hand
|
hand
|
simple_cube
|
simple_cube
|
test
|
test
|
test_bsp
|
test_bsp
|
----------
|
----------
|
test project is not used.(test_bsp is important for prepared projects)
|
test project is not used.(test_bsp is important for prepared projects)
|
|
|
5. Build projects
|
5. Build projects
|
Project->Build All
|
Project->Build All
|
|
|