Here's an example design for the kit. Rebuild the design as follows;
APEX20K NIOS Processor Development Kit
--------------------------------------
9/15/2014 D. W. Hawkins (dwh@ovro.caltech.edu)
This is a really old development kit that I picked up on
eBay. Fortunately it came with a couple of CD-ROMs, so
I have the schematic and technical documentation.
An Altera Forum user also picked up this kit, but did
not have the docs. The docs package is 93MB, email
me if you want a link to it.
This example design provides a basic top-level design,
including pin assignments and basic timing assignments.
The kit comes with two possible devices. The kit I have
has a EP20K200EFC484-2, but the Altera Forum member
posted a photo showing his board contained a
EP20K200EFC484-2X (where the X means it has the clock-lock
feature, i.e., a basic PLL). Edit synth.tcl to change the
part number.
To synthesize the design;
1. Unzip the zip file, eg., into
c:\temp\nios_hdk_basic
2. Start Quartus II 9.0SP2
I believe this is the final version to support APEX20K
devices. It is the last version that supports FLEX10K
and ACEX devices.
Select the Tcl console. If you cannot see the Tcl console,
make it visible via View->Utility Windows->Tcl console.
3. Change directory to the project folder and source the
synthesis script, i.e.,
# cd {c:\temp\nios_hdk_basic}
# source scripts/synth.tcl
Synthesizing the NIOS HDK 'basic' design
----------------------------------------
- Creating the VHDL files list
- Applying constraints
- Processing the design
- Processing completed
where# is the Quartus Tcl console prompt.
4. Start the Quartus programmer and program the board.
I used a USB-Blaster, clicked on the programmer
"Auto Detect" button, which determined that there
are two devices in the JTAG chain, changed the
EP20K200C/E file to apex.sof, checked the
"Program/Configure" option, and then clicked
the "Start" button.
The hex displays on the board then show an incrementing
count. Pressing the push-button switches lights LEDs ...
SW4 = RHS hex display decimal point
SW5 = LHS hex display decimal point
SW6 = LED2
SW7 = LED1
Viola! You have a working example.
Enjoy.
Cheers,
Dave