Skip to content

Commit ae8df19

Browse files
committed
installation
1 parent ed086a8 commit ae8df19

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"Cocotb",
55
"SLTI",
66
"UNOPTFLAT",
7+
"Verilog",
78
"Veryl",
9+
"ccache",
810
"endmodule",
911
"funct",
1012
"nocapture",

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
- Marlin, [library](https://www.ethanuppal.com/marlin/) (used as a Rust library)
1010
- Cocotb, [install](https://docs.cocotb.org/en/stable/install.html)
1111

12+
## Installation
13+
14+
The project has been tested under Linux (arch, and arch based Manjaro) and MacOs.
15+
16+
Rust based tooling (Veryl, Surfer) works as expected cross the board of operating systems. (First make sure that you have a work rust tool-chain installed ([Rust](https://www.rust-lang.org/tools/install)), and follow the instructions for installing Veryl and Surfer as above). Marlin is brought in as a library by Veryl, so no separate installation is required.
17+
18+
For Verilator, you may use your system's package manager. Under arch based Linux `pacman`, while under MacOs either [Brew](https://brew.sh/) or [Mac Ports](https://www.macports.org/). For better performance you may want to install Verilator from source. This allows to use `ccache`for accelerating incremental builds and `mold`for improved linker performance. Further details are operating system dependent and not covered here.
19+
20+
Cocotb, is implemented in python. Here you have the option to either install in the python package manager, or through the system wide package manager, so it depends on your system installation which way to go, python provides a jungle of opportunities to get lost.
21+
22+
The tests in this repo, exemplifies the various methods to test Veryl modules adopting System Verilog, cocotb and Marlin.
23+
1224
## Veryl Test, Simulation, and View
1325

1426
To test all modules:

src/adder.veryl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ async def test(dut):
100100
}}}
101101

102102
#[test(adder32_py_extern, Adder)]
103-
include (cocotb, "vips_tb.py");
103+
include (cocotb, "vips_adder_tb.py");
File renamed without changes.

0 commit comments

Comments
 (0)