https://github.com/nuvious/verilogplayground
https://github.com/nuvious/verilogplayground
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/nuvious/verilogplayground
- Owner: nuvious
- Created: 2023-02-06T21:53:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T22:54:07.000Z (over 3 years ago)
- Last Synced: 2025-03-20T08:14:53.928Z (over 1 year ago)
- Language: Dockerfile
- Size: 377 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iverilog Playground
Just a code playground for verilog.
## Development Environment
The development environment is based off of v12 of iverilog. To build the
container simply run the following:
```bash
docker build -t iverilog .
```
To launch the development environment in interactive mode run:
```bash
# Powershell or unix shell; assumes you're launching from your root source directory
docker run -it --rm -v $PWD:/workspace /bin/sh
```
You can then run compilations and executions from the internal shell:
```bash
/workspace # iverilog /examples/hello.vl
/workspace # ./a.out
Hello, World
/examples/hello.vl:46: $finish called at 0 (1s)
```
## Examples
- [Simple N-bit counter](examples/counter/README.md)
- [Naive integer division](examples/division/README.md)
- [Fastmod implementation](examples/fastmod/README.md)