Software Tools

The software tools provide access to the LEON2 extensions in C and assembler programs for those configurations that are not supported in legacy toolchains. The basis of the tools are formed by standard GNU binutils and llvm C compiler that have been extended to support the added functionality provided by the daiteq IP cores.

Pre-compiled binaries for LEON with the daiteq FPU and SWAR

The tool binaries can be downloaded from the following link:

https://www.daiteq.com/download/sparc-daiteq-elf-10.0.0.tar.bz2.

Demo programs

Demo programs can be downloaded and compiled using the following commands:

$ git clone https://devsrv.daiteq.com/martin/daiteq-demo.git
$ cd daiteq-demo/examples
<set path to the daiteq LLVM and binutils>
$ ./test.sh build test_list.txt
$ ./test.sh build test_list_swar.txt

The compiled demo binaries will be stored in the directory BUILD. The elf files can be downloaded and executed in LEON2; the processor has to be configured with the required FPU and SWAR features.

Binutils for LEON with the daiteq FPU and SWAR

Assembler programs that use the new LEON floating-point and SWAR opcodes can be processed using the GNU binutils with daiteq extensions. The modified binutils from daiteq can be downloaded and installed using the following commands:

$ git clone https://devsrv.daiteq.com/martin/daiteq-binutils.git
$ cd daiteq-binutils
$ ./run.sh all
$ export PATH=`pwd`/install/bin:$PATH
$ cd ..

To use the new binutils change the tool prefix in your Makefile to sparc-daiteq-elf-.

LLVM C Compiler for LEON with daiteq FPU and SWAR

C programs written for the LEON processor that use new user-defined data types for daiFPU and SWAR arithmetic can be compiled by the LLVM compiler with daiteq extensions. The compiler can be downloaded and installed using the following commands:

$ git clone https://devsrv.daiteq.com/martin/daiteq-llvm10.git
$ cd daiteq-llvm10
$ ./run.sh all
$ export PATH=`pwd`/install/bin:$PATH
$ cd ..