OpenVAF

(โ˜… 195)

An innovative Verilog-A compiler

  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG_OSDI.md
  • CHANGELOG_VERILOGAE.md
  • foo.sh
  • LICENSE
  • local_ci.sh
  • logo.png
  • logo_dark.svg
  • logo_light.svg
  • README.md
  • rustfmt.toml
  • setup.py
  • typos.toml

# Installation Guide

1. Get the code
git clone https://github.com/pascalkuthe/OpenVAF

Downloads the entire project code from GitHub to your computer.

cd OpenVAF

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
in our docker images. These binaries are build on centos-7 and will therefore

Type this command into your terminal and run it.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install .

Installs the package published on PyPI directly โ€” no need to clone the source.

python <์‹คํ–‰ํ•  ํŒŒ์ผ๋ช…>.py # README์—์„œ ์ •ํ™•ํ•œ ์‹คํ–‰ ํŒŒ์ผ๋ช…์„ ํ™•์ธํ•˜์„ธ์š”

Runs the Python script (or module).

โœ… If it runs without errors and prints output in the terminal, it worked.

4. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
OpenVAF **requires rust/cargo 1.64 or newer** (best installed with [rustup](https://rustup.rs/)). Furthermore, the **LLVM-15** development libraries and **clang-15** are required. Newer version also work but older versions of LLVM/clang are not supported. Note that its imperative that **you clang version matches your LLVM version**. If you want to compile VerilogAE python 3.8+ is also required.

Runs the Python script (or module).

For development [cargo-nexttest](https://nexte.st/) is recommended to run these tests as it significantly reduces the test runtime.

Type this command into your terminal and run it.

However, the built-in cargo test runner (requires no extra installation) can also be used.

Type this command into your terminal and run it.

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation