it's been a while
This commit is contained in:
parent
9f90b00b25
commit
e44f6b083b
11 changed files with 78 additions and 4 deletions
15
sim_inspect.tcl
Normal file
15
sim_inspect.tcl
Normal file
|
@ -0,0 +1,15 @@
|
|||
# bluetcl sim_inspect.tcl
|
||||
namespace import ::Bluetcl::*
|
||||
package require Bluesim
|
||||
|
||||
cd bram_tests
|
||||
sim load simBRAM.so mkTestbench
|
||||
set count_hdl [sim lookup count]
|
||||
set bram [sim lookup dut1_memory]
|
||||
|
||||
sim step
|
||||
sim step
|
||||
sim step
|
||||
|
||||
puts "Value of count: [sim get $count_hdl]"
|
||||
puts "Value of bram\[0:3\]: [sim getrange $bram 0 3]"
|
Reference in a new issue