Skip to content

Supporting Patmos

Martin Schoeberl edited this page Nov 19, 2022 · 8 revisions

Patmos is a RISC processor designed for real-time systems. Similar to FlexPRET it is written in Chisel. Porting the LF to support Patmos is a work-in-progress.

patmos-clang is the LLVM-based C compiler for Patmos. Currently, the compiler is working on Linux only, the Mac port is broken. For Mac users this involves a dual step to compile LF programs.

  1. use lfc to generate the C code. Include the target in the LF application: