Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

vegaluisjose/reticle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reticle (WIP, highly experimental)

Setup, build, and install

  1. Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Install 1.50.0 rust version
rustup toolchain install 1.50.0
rustup override set 1.50.0
  1. Run unit tests
cargo test --all
  1. Build, binaries are located in target/release
cargo build --release
  1. Optional, install locally (binaries are normally located in ~/.cargo/bin)
cargo install --bin rt --bin ro --path .

How to use reticle compiler

  1. Compile IR program to assembly (asm)
./target/release/rt --from ir --to asm examples/ir/add.ir
  1. Compile IR program to machine IR (xir)
./target/release/rt --from ir --to xir examples/ir/add.ir
  1. Compile IR program to structural Verilog (struct)
./target/release/rt --from ir --to struct examples/ir/add.ir
  1. Compile IR program to behavioral Verilog (behav)
./target/release/rt --from ir --to behav examples/ir/add.ir

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages