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
Update README.md with installation instructions (#14)
* Upstream my workaround of running this on my Macbook (#2)
* Update Makefile
* Update README.md
* Update README.md
* Update README.md
---------
Co-authored-by: Tiezhen WANG <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -313,7 +313,11 @@ RET ; end of kernel
313
313
314
314
# Simulation
315
315
316
-
tiny-gpu is setup to simulate the execution of both of the above kernels. Before simulating, you'll need to install [iverilog](https://steveicarus.github.io/iverilog/usage/installation.html) and [cocotb](https://docs.cocotb.org/en/stable/install.html).
316
+
tiny-gpu is setup to simulate the execution of both of the above kernels. Before simulating, you'll need to install [iverilog](https://steveicarus.github.io/iverilog/usage/installation.html) and [cocotb](https://docs.cocotb.org/en/stable/install.html):
317
+
318
+
- Install Verilog compilers with `brew install icarus-verilog` and `pip3 install cocotb`
319
+
- Download the latest version of sv2v from https://github.com/zachjs/sv2v/releases, unzip it and put the binary in $PATH.
320
+
- Run `mkdir build` in the root directory of this repository.
317
321
318
322
Once you've installed the pre-requisites, you can run the kernel simulations with `make test_matadd` and `make test_matmul`.
0 commit comments