This repository provides a minimal framework for developing, simulating, and debugging Verilog-based digital designs. It supports both standard simulation and NVBoard-based graphical simulation for visual interaction.
v-skeleton/
├── constr/ # Timing constraint files
│ └── top.nxdc # Top-level constraint file (e.g., for FPGA tools)
├── include/ # Common C/C++ headers
│ ├── debug.h # Debugging macros
│ └── macro.h # Utility macros
├── Makefile # Build system configuration
├── README.md # This file
├── src/ # C++ simulation entry points
│ ├── main_sim.cpp # CLI-based simulation without GUI
│ └── nvboard/
│ └── main_nv.cpp # NVBoard-based simulation with GUI
└── vsrc/ # Verilog source files
└── top.v # Top-level Verilog module
Ensure the following tools are installed:
Verilator– for Verilog-to-C++ simulation.g++– for compiling the C++ simulation driver.- (Optional)
NVBoard– for GUI simulation support.
To build the command-line simulation version:
make simTo build the NVBoard-based GUI version:
make nvAfter a successful build, run the executable:
./build/sim # Run command-line simulation
./build/nv # Run with NVBoard GUI- Use macros in
debug.hfor printing debug information. - Clean build artifacts with:
make cleanPlease choose and specify a license (e.g., MIT, BSD, GPL) appropriate for your use case.