📄 benchmarks for synthesizeable vhdl model of 8051.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0062)http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/index.html -->
<HTML><HEAD><TITLE>Benchmarks for Synthesizeable VHDL Model of 8051</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Synthesizable VHDL Model of 8051" name=description>
<META content="8051, Free, VHDL, Model, Synthesizable, Intel" name=keywords>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff link=#990000 text=#000099 vLink=#990000>
<H1>Benchmark Applications for Synthesizeable VHDL Model</H1>
<H2>Instructions for Using HEX Benchmarks</H2>
<OL>
<LI>Convert benchmark hexfile into a VHDL ROM model
<UL type=DISC>
<LI>g++ -Wall i8051_mkr.cc
<LI>a.out filename.hex
<LI>a file called i8051_rom.vhd will be generated, copy this into your
project directory
<LI>you will have to re-analyze the files (see above) </LI></UL>
<LI>In the Synopsys VHDL Debugger
<UL type=DISC>
<LI>enter the time (in nanoseconds) that you want to simulate
<LI>Click on Run
<LI>The waveforms will appear in the Synopsys Waveform Viewer
</LI></UL></LI></OL>
<H2>Instructions for Recompiling C code</H2>
<OL>
<LI>Getting your C code ready to simulate (i.e. converting your C file to VHDL
ROM model)
<UL type=DISC>
<LI>Compile your C file into Intel hex format (If you are using a KEIL
compiler you can follow the steps below)
<UL type=CIRCLE>
<LI>c51 filename.c
<LI>bl51 filename.obj to filename.abs
<LI>oh51 filename.abs </LI></UL></LI></UL>
<LI>Follow instructions listed above for using hex benchmarks in order to
convert hex file into VHDL ROM file. </LI></OL>
<H2>List of Benchmarks</H2>The following programs can be used as benchmarks for
power analysis and performance of the 8051.
<TABLE border=5 width="50%">
<TBODY>
<TR>
<TD>
<CENTER><B>C</B></CENTER></TD>
<TD>
<CENTER><B>HEX</B></CENTER></TD>
<TD>
<CENTER><B>Size (byte)</B></CENTER></TD><!-- <td><center><b>Simulation Time (ns)</b></center></td> <td><center><b>Signal Trace</b></center></td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/gcd.c">gcd.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/gcd.hex">gcd.hex</A></TD>
<TD>
<DIV align=right>55</DIV></TD><!-- <td><div align=right>327,000</div></td> <td>P0 = 36, 25, 14, 3, 1</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/fib.c">fib.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/fib.hex">fib.hex</A></TD>
<TD>
<DIV align=right>303</DIV></TD><!-- <td><div align=right>1,042,000</div></td> <td>P0 = 1, 1, 2, 3, 5, 8, 13, 21, 34, 55</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/sort.c">sort.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/sort.hex">sort.hex</A></TD>
<TD>
<DIV align=right>572</DIV></TD><!-- <td><div align=right>3,600,000</div></td> <td>P0 = 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/sqroot.c">sqroot.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/sqroot.hex">sqroot.hex</A></TD>
<TD>
<DIV align=right>1167</DIV></TD><!-- <td><div align=right>4,000,000</div></td> <td>P0 = 9, P1 = 16, P2 = 25, P3 = 5</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/matrix.c">matrix.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/matrix.hex">matrix.hex</A></TD>
<TD>
<DIV align=right>490</DIV></TD><!-- <td><div align=right>4,000,000</div></td> <td>P0 = 9, P1 = 16, P2 = 25, P3 = 5</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/pid.c">pid.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/pid.hex">pid.hex</A></TD>
<TD>
<DIV align=right>2318</DIV></TD><!-- <td><div align=right>4,000,000</div></td> <td>P0 = 9, P1 = 16, P2 = 25, P3 = 5</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/csumex.c">csumex.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/csumex.hex">csumex.hex</A></TD>
<TD>
<DIV align=right>273</DIV></TD><!-- <td><div align=right>4,000,000</div></td> <td>P0 = 9, P1 = 16, P2 = 25, P3 = 5</td>--></TR>
<TR>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/dct.c">dct.c</A></TD>
<TD><A
href="http://www.cs.ucr.edu/~dalton/i8051/i8051benchmarks/dct.hex">dct.hex</A></TD>
<TD>
<DIV align=right>1357</DIV></TD><!-- <td><div align=right>4,000,000</div></td> <td>P0 = 9, P1 = 16, P2 = 25, P3 = 5</td>--></TR></TBODY></TABLE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -