URL
https://opencores.org/ocsvn/light52/light52/trunk
[/] [light52/] [trunk/] [test/] [blinker/] [readme.txt] - Blame information for rev 12
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
6 |
ja_rd |
Blinker -- LED blinker program.
|
2 |
|
|
|
3 |
|
|
This demo will just print a welcome message to the serial port (19200/8/N/1) and
|
4 |
|
|
then will count up seconds, displaying the count in ports P0 (high byte) and
|
5 |
|
|
P1 (low byte).
|
6 |
|
|
|
7 |
|
|
This is meant to be used in small dev boards that don't have a RS232 port (like
|
8 |
|
|
the only Spartan-3 dev kit I happen to have on hand).
|
9 |
|
|
|
10 |
|
|
In order to make this demo, you need the free C compiler SDCC and some flavor
|
11 |
|
|
of 'make'.
|
12 |
|
|
|
13 |
|
|
Running 'make all' will compile the demo and build a suitable object
|
14 |
|
|
code VHDL package that can then be used in synthesis or simulation.
|
15 |
|
|
See the makefile for other make targets ('clean', etc.).
|
16 |
|
|
|
17 |
|
|
Running this demo on the software simulator B51 is possible (by running script
|
18 |
|
|
'run.bat') but will do you no good: the Sw simulator doe snot simulate the
|
19 |
|
|
peripherals.
|
20 |
|
|
You can run this demo in Modelsim by modifyng script /sim/light52_hello_tb.do
|
21 |
|
|
slightly -- compile the object code package for this demo.
|
22 |
|
|
|
23 |
|
|
This program uses the timer0 interrupt so it covers a wider fraction of the
|
24 |
|
|
core.
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.