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
Trying to experiment with the REPL provided by bluetcl, I wrote a small testbench module to experiment, and noticed that by default struct values are flattened to bitvectors in bluesim. My main question is: is it possible to print the structured value in the repl. Like ideally when one would do % eval sim get [sim lookup FOO] one would see the values not flattened as a bitvector but structured.
I tried using the package Types (after sourcing util/bluetcl-scripts/types.tcl, and then using Types::import_package) that looked potentially promising, but it does not seem to be intended to do that.
Side-note: I noticed that the pkgIndex.tcl seemed missing for types.tcl (I wanted to use auto-source), but when I try to build it I get another error:
% pkg_mkIndex -verbose [pwd] types.tcl
warning: error while sourcing types.tcl: unknown namespace in import pattern "::utils::*"
The text was updated successfully, but these errors were encountered:
Trying to experiment with the REPL provided by bluetcl, I wrote a small testbench module to experiment, and noticed that by default struct values are flattened to bitvectors in bluesim. My main question is: is it possible to print the structured value in the repl. Like ideally when one would do
% eval sim get [sim lookup FOO]
one would see the values not flattened as a bitvector but structured.I tried using the package Types (after sourcing
util/bluetcl-scripts/types.tcl
, and then using Types::import_package) that looked potentially promising, but it does not seem to be intended to do that.Side-note: I noticed that the
pkgIndex.tcl
seemed missing fortypes.tcl
(I wanted to use auto-source), but when I try to build it I get another error:The text was updated successfully, but these errors were encountered: