Skip to content
/ fara Public

Custom Instruction set architecture with LLVM backend and emulator

Notifications You must be signed in to change notification settings

fotcorn/fara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FARA (FARA Research Architecture)

A custom Instruction Set Architecture (ISA) with a simulator written in Rust and a custom LLVM backend for code generation.

  • 64bit instruction set with 24 general purpose integer register
  • RISC architecture (no complex indirect adressing mode etc.)

Initial documentation is in the doc/ directory.

LLVM backend

An LLVM backend for the ISA is developed here: https://github.com/fotcorn/fara-llvm-backend

Current features of the backend:

  • Machine code generation from assembly
  • Instruction selection for simple C programs
  • Basic setup in Clang to support C programs
  • Linker support for ELF files in LLD

About

Custom Instruction set architecture with LLVM backend and emulator

Topics

Resources

Stars

Watchers

Forks