Benchmark Applications for Synthesizeable VHDL Model

Instructions for Using HEX Benchmarks

  1. Convert benchmark hexfile into a VHDL ROM model
  2. In the Synopsys VHDL Debugger

Instructions for Recompiling C code

  1. Getting your C code ready to simulate (i.e. converting your C file to VHDL ROM model)
  2. Follow instructions listed above for using hex benchmarks in order to convert hex file into VHDL ROM file.

Benchmarks

The following programs can be used as benchmarks for power analysis and performance of the 8051.
C
HEX
Size (byte)
sqroot.c sqroot.hex
1167
matrix.c matrix.hex
490
pid.c pid.hex
2318
dct.c dct.hex
1357

Additional smaller programs

The following programs are smaller than those above, but may also prove useful.
C
HEX
Size (byte)
gcd.c gcd.hex
55
fib.c fib.hex
303
sort.c sort.hex
572
csumex.c csumex.hex
273

Additional benchmarks

These can be downloaded form the Keil webpage.
Name Description Download
Dhrystone Dhrystone consists of standard code and concentrates on string handling. It uses no floating-point operations. It is heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states, and integer data types. DHRY.C
TIME.C
README.C
ABSTREACT.TXT
Whetstone Whetstone is a benchmark test which attempts to measure the speed and efficiency at which a computer performs floating-point operations. The results of the test are given in units called whetstones. DHRY.C
TIME.C
README.C
ABSTRACT.TXT
The Sieve of Erosthostenes The sieve algorithm was developed in ancient Greece and is one of a number of methods used to find prime numbers. The sieve works by a process of elimination using an array that starts with 2 and keeps all the numbers in position. SIEVE.C
ABSTRACT.TXT