You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.
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).
0 commit comments