OpenCores
URL https://opencores.org/ocsvn/light52/light52/trunk

Subversion Repositories light52

[/] [light52/] [trunk/] [test/] [dhrystone/] [readme.txt] - Blame information for rev 13

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 ja_rd
Dhrystone -- Dhrystone benchmark ported to the light52 MCU.
2
 
3
This demo will just run the benchmark and print the results to the serial
4
port (19200/8/N/1). with a 50MHz clock, the benchmark should take about 15
5
seconds to complete.
6
 
7
In order to make this demo, you need the free C compiler SDCC and some flavor
8
of 'make'.
9
 
10
Running 'make all' will compile the demo and build a suitable object
11
code VHDL package that can then be used in synthesis or simulation.
12
See the makefile for other make targets ('clean', etc.).
13
 
14
You can run this demo on the software simulator B51 by running script 'run.bat'.
15
You can run this demo in Modelsim by modifyng script /sim/light52_c2sb_tb.do
16
slightly -- compile the object code package for this demo.
17
Note that both simulations will produce huge log files and take a very long
18
time, specially Modelsim's. Since B51 is not clock-accurate in the simulation of
19
peripherals, the logs may not be identical.
20
 
21
This demo is not meant for cosimulation but for execution on real hardware.
22
 
23
 
24
It should be easy to port the BAT scripts to any linux shell flavor.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.