From aad8289d4ecb5f4f63ee13dc05dfa7b44ceff305 Mon Sep 17 00:00:00 2001 From: Yehowshua Immanuel Date: Wed, 20 Mar 2024 02:37:24 -0400 Subject: [PATCH] now with info on how to simulate experimental BRAM --- experiments/bram/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 experiments/bram/README.md diff --git a/experiments/bram/README.md b/experiments/bram/README.md new file mode 100644 index 0000000..a7ca319 --- /dev/null +++ b/experiments/bram/README.md @@ -0,0 +1,23 @@ +# 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 + +```bash +bsc -sim -u -g mkTestbench Testbench.bsv; bsc -sim -e mkTestbench -o simBRAM; +./simBRAM -V +``` + +## With TCL + +```bash +bsc -sim -u -g mkTestbench Testbench.bsv; bsc -sim -e mkTestbench -o simBRAM; +bluetcl sim_inspect.tcl +``` \ No newline at end of file