Skip to content

Commit ada93d2

Browse files
committed
readme: add readme and gif capture
1 parent b2c5153 commit ada93d2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Basic example of simulating Verilog inside a VCV Rack plugin.
2+
3+
This plugin simulates the panel layout of the [`eurorack-pmod`](https://github.com/schnommus/eurorack-pmod) FPGA-based module. See [`rtl/core.sv`](rtl/core.sv) for the Verilog source. This example is intentionally kept as simple as possible.
4+
5+
![eurorack-pmod running inside VCV rack](doc/capture-eurorack-pmod.gif)
6+
7+
# Dependencies
8+
9+
1. Install VCV rack binaries or build it from source.
10+
2. Install [VCV rack SDK](https://vcvrack.com/manual/PluginDevelopmentTutorial) (or just put this folder in the plugins/ directory of Rack if you are building from source)
11+
3. Install Verilator (used to build a C++ simulation from the Verilog core). You can either get it from your package manager or use the one included in the [oss-cad-suite](https://github.com/YosysHQ/oss-cad-suite-build#installation).
12+
13+
# Building and running
14+
15+
From the root directory of this repository:
16+
17+
```
18+
$ make
19+
$ make install
20+
```
21+
22+
This plugin should now be visible on restarting VCV Rack.
23+
24+
# Limitations
25+
26+
At the moment only the audio rate `sample_clk` is injected into the verilog core, I doubt verilator would be fast enough to simulate filters pipelined at the PLL clock (12MHz/24MHz).

doc/capture-eurorack-pmod.gif

484 KB
Loading

0 commit comments

Comments
 (0)