birds  
 
Home Digital Software   Contact
 
 

Getting started

The easiest way to start is to use one of the following reference design examples. Reference design examples are currently available for 2 platforms: Altera Cyclone II and Altera Cyclone IV. Please wisit www.terasic.com for details about FPGA development boards.

C_II_DE1
Reference design Cyclone II
Reference design for this board includes:
- Altera Cyclone II project (including pre-compiled files)
- Netlist of Osinka32 MCU
- 16-bit timers (verilog source)
- 32-bit timers (verilog source)
- UART (verilog source)
- In-system debug module
- Several FW examples
  Which one is better?
 
Cyclone II DE1 board contains a lot of periphery: buttons, leds, 7-segment indicators, UART communication port and others. FW examples use those periphery for demonstration purpose. UART communication port is used by the in-system debugger for MCU programming and step-by-step execution. Firmware contains an example for output a constant string into a debug terminal window.
 
Cyclone IV DE0 Nano board contains bigger and faster FPGA, but much less periphery. There is no UART either. So step-by-step execution is not possible with this board. MCU programming must be done through memory content editor integrated into Altera Quartus software.
 
Or just run the same in simulation. You will need a free version of ModelSim. There is a simulation "do" file provided with design examples.
C_IV_DE0
Reference design Cyclone IV
Reference design for this board includes:
- Altera Cyclone IV project (including pre-compiled files)
- Netlist of Osinka32 MCU
- 16-bit timers (verilog source)
- 32-bit timers (verilog source)
- UART (verilog source)
- Several FW examples
Simulation example
Simulation testbench
The testbench allows to run design in simulation.
Design is exactly the same as for FPGA boards, contains same MCU and periphery and allows to try any of described FW examples.
pdf User manual Read this document for the details about MCU implementation. The document describes the internal structure of the MCU including registers, set of commands and different working modes. It shows how MCU can be integrated into the system with different periphery modules and communication between them.
pdf Reference design The best way to start is to download and compile the design example. This document explains how to do this, which examples exist, and briefly describes each example. There is a way to skip digital implementation details, download an existing FPGA programming file and go directly to software inplementation.
pdf Periphery manual Each microcontroller system includes not only the MCU but also different periphery units such as timers, communication devices etc. Design examples given here is not an exception: there are several simple periphery units which are used. This short document describes briefly each periphery unit and how they are integrated.
zip bir_de0.zip Download reference design examples. This includes also a free netlist of osinka32 MCU and a verilog source of a few periphery modules.
7z bir_de0.7z
gzip bir_de0.tgz
 
  Copyright 2012 Birusinka