OPENCORES.ORG

| Mission | FAQ | Projects | CVS | Mailing lists | Media | Tools | OpenIPCore |  | Search | |

| More
| CVSWeb
| CVSget
| Mailing list archives
| Mirrors
| Sponsors
| Logos
OpenIPCore
| Goals
| Definition
| Why
| Problems
| Business
| Protection
| Road map
| Design flow
Last updated
| nnARM synthesizeable soft core
What should we do in the future?
| Design extra cores
| Design boards
| Document current designs
| Other
Results
Past polls

| TestBench Home 1 following is the link to all result. add64.s 64 bit integer add adrlabel.s Branch with link to a subrution and then return armex.s Normal move and add and load jump.s A complex program contain MANY MANY MANY kinds of branch ldrlabel.s load label address loadcon.s load constant strcopy.s copy string from source to destination mul.s perform 1024 multiples mla.s perform 1024 multiples and add thumbsub.txt Thumb program that contain long branch and switch between Thumb and ARM state 2 how to use ARM SDT to generate binary image file I use the assembly source code come from ARM SDT 2.5 to test my design. I will describ the process to test them.This process include the following steps: First start the project manager and read in the assembly source code and add it to the project, And then execute the program and set the starting address of image file to address 0x8000 Then run it and dump the program to a file,please give the start address and the end address. 3 how to use GNU Tools to generate binary image file First usr "arm-elf-gcc" to compile you program with "-g" flag to generate executable binary file Then use "arm-elf-gdb" to debug your program, now you can dump out the binary image to a file. For detail of usage of GNU Tools, please refer to "GNU Tools" page of this site or man page of GNU Tools 4 generate ASCII file for simulator Now ,No matter what tools you use,you got a binary file of this program, but the verilog simulator can not read it directly, So I write a program to translate it into a ASCII file that can be read in by "readmemh" system task. This program's name is BIN2ASC,just run it, when it prompt for a file name,input the path and name of your image file,then it will generate a file "ASC" in current dictionary,copy this file to verilog source file dictionary. In the top level testbench file "tb_system.v", you can find two "readmemh" system task that read this ASCII file. After all is done just use you verilog simulator to simulate it and compare the result with ARM SDT. |

webmaster

Last modified on Monday, 23-Jul-2001 08:51:31 CEST

Copyright ©1999-2001 OPENCORES.ORG. All rights reserved.