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 that target the LEON processor can be downloaded from the following link:

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

Demo programs for LEON2

Demo programs for LEON2 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 for SPARC>
$ ./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.

Demo programs for NOEL-V

Demo programs for NOEL-V can be downloaded and compiled using the following commands:

$ git clone https://devsrv.daiteq.com/release/riscv-demo.git
$ cd riscv-demo/examples
<set path to the daiteq LLVM and binutils for RISC-V>
$ ./test.sh build test_list.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 extensions

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/release/daiteq-binutils.git

$ cd daiteq-binutils
$ ./run_sparc.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-. New assembler instructions can be used with options '--has-swar','--has-fhalf','--has-fcplx','--has-fpack'.

LLVM C Compiler for LEON with the daiteq extensions

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 ..

Binutils for NOEL-V with the daiteq extensions

Assembler programs that use the new NOEL-V 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/release/daiteq-binutils.git

$ cd daiteq-binutils
$ ./run_riscv.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 NOEL-V with the daiteq extensions

C programs written for the NOEL-V 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/release/riscv-llvm13.git

$ cd riscv-llvm13
$ ./run_riscv.sh all
$ export PATH=`pwd`/install/bin:$PATH
$ cd ..