This repository has been archived on 2025-06-25. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
riscv-bluespec-classic/experiments/bram/README.md
2024-05-19 01:14:17 -04:00

480 B

About

Trying to get a feel for what might constitute a good flow when needing to inspect simulated memories in Bluespec.

Here, we simulate a small BRAM and try to print out some of its values in TCL.

Compiling and Simulating

Without TCL

bsc -sim -u -g mkTestbench Testbench.bs; bsc -sim -e mkTestbench -o simBRAM;
./simBRAM -V

With TCL

bsc -sim -u -g mkTestbench Testbench.bsv; bsc -sim -e mkTestbench -o simBRAM;
bluetcl sim_inspect.tcl