apfelaudio / verilog-vcvrack Goto Github PK
View Code? Open in Web Editor NEWAn example of simulating Verilog / FPGA gateware inside a VCV Rack plugin.
An example of simulating Verilog / FPGA gateware inside a VCV Rack plugin.
I am installing on macOS x64. after installing VCV Rack, the Rack SDK, and Verilator, when I run make
I get this error message:
c++ -std=c++14 -std=c++11 -stdlib=libc++ -I/usr/local/Cellar/verilator/5.022/share/verilator/include -faligned-new -fPIC -IRack-SDK/include -IRack-SDK/dep/include -MMD -MP -g -O3 -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_X64 -march=nehalem -DARCH_MAC -mmacosx-version-min=10.9 -c -o build/src/eurorack-pmod.cpp.o src/eurorack-pmod.cpp
In file included from src/eurorack-pmod.cpp:7:
In file included from src/../build/rtl-verilated/Vcore.h:11:
In file included from /usr/local/Cellar/verilator/5.022/share/verilator/include/verilated.h:42:
/usr/local/Cellar/verilator/5.022/share/verilator/include/verilatedos.h:265:3: error: "Verilator requires a C++14 or newer compiler"
# error "Verilator requires a C++14 or newer compiler
after modifying the Rack SDK compile.mk
file from
# C++ standard CXXFLAGS += -std=c++11
to # C++ standard CXXFLAGS += -std=c++14
I am able to make
and make install
the eurorack plugin, but even though the plugin appears to be in the correct location in my file path, Documents/Rack2/plugins-mac-x64/eurorack-pmod-vcvrack
, it is not visible after restarting VCV Rack.
Any help in debugging this problem would be appreciated, thank you!
Cloned repo, cloned verilator repo into plugin root folder and installed, manually setting export VERILATOR_ROOT=`pwd`
as per https://verilator.org/guide/latest/install.html
Trying to make
plugin fails
mkdir -p build; \
verilator --cc rtl/core.sv -Mdir build/rtl-verilated -CFLAGS -fPIC
%Error: verilator/include/verilated_std.sv:28:9: Redeclaring the 'std' package is not allowed
28 | package std;
| ^~~
./verilator/include/verilated_std.sv:2:1: ... note: In file included from verilated_std.sv
%Error: Exiting due to 1 error(s)
make: *** [Makefile:32: build/rtl-verilated/Vcore.mk] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.