Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 926 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 926 Bytes

Rocq on Bare Metal

This directory contains preliminary experiments on running Rocq (formerly known as Coq) code on ARM embedded processors. The code is compiled to C using the CertiCoq compiler.

Dependencies

To compile and run the code, you will need the following tools:

Machine and Processor Details

The experiments target the ARM Cortex-M3 processor, a 32-bit RISC processor. The machine model used in emulation is the Stellaris LM3S6965 Evaluation Board (lm3s6965evb).

Running the Experiments

The Coq code is located in tests.v. To compile it and link it with the necessary libraries, run:

make all

To execute the generated code using qemu, use:

qemu-system-arm -M lm3s6965evb -m 64K -nographic -kernel main.bin