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