Skip to content

michg/elftools_riscv32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny assembler and static linker for elf32-riscv

The assembler is based on minias, the linker on neatld.

Prequisites:
Building minias and nld:

make

Running the testcases:

single instruction testcases:

cd tests/ins
./test_ins.sh

Results including a summary of the results will be in ./result.

FatFs testcase:

cd tests/fatfs

Build the firmware:
make

Build the verilator simulation: cd verilator make

Execute the simulation: cd ../result ./Vsystem