Skip to content

zoep/EmbeddedRocq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Experiments with Rocq on Arm processors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published