An open API service indexing awesome lists of open source software.

https://github.com/dmoore12/sv-sim

A simple SystemVerilog simulation tool written in rust
https://github.com/dmoore12/sv-sim

systemverilog systemverilog-simulation systemverilog-test-bench

Last synced: 2 months ago
JSON representation

A simple SystemVerilog simulation tool written in rust

Awesome Lists containing this project

README

          

# SystemVerilog Simulation

_A simple SystemVerilog simulation tool written in rust_

> This project is in a very early state

## Project Scope

- [X] Provide an incomplete, slightly broken SystemVerilog parser
- [ ] Provide a simple SystemVerilog parser
- [ ] Provide simple analysis tools
- [ ] Allow design verification for simple projects

## Repository Contents

- [src](https://github.com/DMoore12/sv-sim/tree/main/src): source files
- [sv](https://github.com/DMoore12/sv-sim/tree/main/sv): example SystemVerilog files for testing

## Installation

**sv-sim** uses `cargo` for package management. If you wish to generate documentation with styling, `generate_docs.sh` is provided. In order to apply styling, git submodules must be initialized.

```shell
# Clone repo
git clone https://github.com/DMoore12/sv-sim.git

# Initialize submodules
cd ./sv-sim
git submodule init

# Run test file
cargo run -- ./sv/cu_top.sv none

# Generate documentation
sudo chmod +x generate_docs.sh
./generate_docs.sh
```

## Usage

**sv-sim** uses `clap` for argument parsing. Use `cargo run -- --help` or `sv-sim[EXE] --help` to view input arguments and parameters

### Arguments

- `log_level`
- Log level for output. Defaults to `error`
- `verbose`
- Gives additional build information in output