background image

6

Altera Corporation

Nios Embedded Processor Getting Started User Guide

Figure 2. GERMS Monitor 

f

See the 

Software Development Reference Manual 

for a table of GERMS 

monitor commands and usage examples. 

4.

Press Ctrl+C

 

to exit the terminal communication program and return 

to the Nios SDK Shell prompt. 

Testing the 
System

You will now compile and download the lcd demo to the Nios embedded 
processor system. Change directories to the standard 32-bit example 
design by typing the following command:

cd vhdl/standard_32/cpu_sdk/src

This command places you in the default software development directory 
for the vhdl version of the example design. This design is pre-
programmed into the development board Flash memory. 

1

If you prefer working with verilog designs, type the following 
command:

cd verilog/standard_32/cpu_sdk/src

Содержание Excalibur APEX 20K200E

Страница 1: ...101 Innovation Drive San Jose CA 95134 408 544 7000 http www altera com A UG NIOSGSG 2 0 Getting Started Nios Embedded Processor User Guide January 2002 Version 2 0 ...

Страница 2: ...ucts are protected under numerous U S and foreign patents and pending applications maskwork rights and copyrights Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty but reserves the right to make changes to any products and services at any time without notice Altera assumes no responsibility or liability arising out of ...

Страница 3: ...installation and licensing information How to Find Information The Adobe Acrobat Find feature allows you to search the contents of a PDF file Click the binoculars toolbar icon to open the Find dialog box Bookmarks serve as an additional table of contents Thumbnail icons which provide miniature previews of each page provide a link to the pages Numerous links shown in green text allow you to jump to...

Страница 4: ...tera com mysupport FTP site ftp altera com ftp altera com Table 3 Conventions Visual Cue Meaning Bold Type with Initial Capital Letters Command names dialog box titles checkbox options and dialog box options are shown in bold initial capital letters Example Save As dialog box bold type External timing parameters directory names project names disk drive names filenames filename extensions and softw...

Страница 5: ...I qdesigns tutorial chiptrip gdf Also sections of an actual file such as a Report File references to parts of files e g the AHDL keyword SUBDESIGN as well as logic function names e g TRI are shown in Courier 1 2 3 and a b c Numbered steps are used in a list of items when the sequence of the items is important such as the steps listed in a procedure Bullets are used in a list of items when the sequ...

Страница 6: ......

Страница 7: ...and how to set up and test the Nios development board Once set up you are ready to begin using the Nios Development Kit to create your own Nios system module A description of the documents is available to assist you in choosing which documents to use for designing your Nios embedded system Before You Begin Be sure to check the contents in each box of the kit to verify that you received all the ite...

Страница 8: ...ne marked physical address is your NIC number When entering the NIC number exclude the dashes Do not choose a directory name with spaces such as Program Files Spaces in a directory name may cause the Quartus II software to not work properly You will need administrative privileges to install parts of the Quartus II software on WinNT or Win2000 CD Software Description Nios Embedded Processor The SOP...

Страница 9: ...ssor Third Party Evaluation CD ROMS The third party development tools included in the Nios development kit support the Nios embedded processor Refer to the readme for more information about these third party evaluation CD ROMS The Nios Development Board Use the Nios development board to begin developing embedded systems running on an Altera programmable device A 32 bit Nios CPU running a boot moni...

Страница 10: ...with a small triangle arrow molded into the plastic of the connector You will use the LCD module later for testing the system 1 Pin 3 on the LCD module has been deliberately removed This pin controls the contrast of the LCD module 6 Connect the 9 V DC power supply to J1 Select the appropriate power cord for your location Connect one end to the 9 V DC power supply and the other end to an outlet You...

Страница 11: ... method for Nios 2 0 2 Type nios run t r to begin communicating with the development board 1 Step 2 assumes the serial cable is connected to COM1 If you are using COM2 type nios run p com2 t r 3 Press Enter several times The GERMS monitor code that executes and controls the boot process running on the Nios CPU displays the first few lines of memory starting at address 0000 as shown in Figure 2 You...

Страница 12: ... the System You will now compile and download the lcd demo to the Nios embedded processor system Change directories to the standard 32 bit example design by typing the following command cd vhdl standard_32 cpu_sdk src This command places you in the default software development directory for the vhdl version of the example design This design is pre programmed into the development board Flash memory...

Страница 13: ...e 2 Type nios run lcd_demo1 srec r to download the srec file over the serial port and begin execution You will see a message appear on the LCD screen Press any of the push button switches SW4 SW7 and the message is replaced with a timer count Your Nios system is now working You are now ready to start designing your own Nios system Select Start Programs Altera Excalibur Nios 2 0 Altera Excalibur Ni...

Страница 14: ...ment Reference Manual This reference manual nios_software_development_reference pdf provides information for programmers developing software for the Nios embedded processor The primary focus of this document is for developers writing code in C and includes sections addressing code written in assembly Table 1 Nios Documentation Document Hardware Developer Software Developer IP Developer Nios Embedd...

Страница 15: ...eral registers peripheral template file PTF assignments and software routines SOPC Builder Reference Manual This reference manual sopc_reference_manual pdf provides an explanation of the process for constructing a Nios system an overview of the SOPC Builder MegaWizard an explanation of the PTF structure and a PTF dictionary Nios Ethernet Development Kit User Guide This user guide nios_edk_user_gui...

Страница 16: ...uctions pdf describes the custom instruction feature and how to implement custom instructions in Nios based designs It includes a design example that shows the benefits of using custom instructions Simulating Nios Embedded Processor Designs This application note nios_an189_simulating_designs pdf describes the simulation flow of a simulation project and walks the user through the process of simulat...

Отзывы: