The names of circuit instances are often quite different and unintelligble relative to the names of the variables that the instances are assigned to.
For example, the name of a counter instance is Counter2_Mod4CE_inst0. However, this circuit is assigned to a python variable called outer_counter.
I would like to be able to write tester.print("outer counter: %d\n", tester.circuit.outer_counter) rather than tester.print("outer counter: %d\n", tester.circuit.Counter2_Mod4CE_inst0).
This is a low priority feature request.
The names of circuit instances are often quite different and unintelligble relative to the names of the variables that the instances are assigned to.
For example, the name of a counter instance is
Counter2_Mod4CE_inst0
. However, this circuit is assigned to a python variable calledouter_counter
.I would like to be able to write
tester.print("outer counter: %d\n", tester.circuit.outer_counter)
rather thantester.print("outer counter: %d\n", tester.circuit.Counter2_Mod4CE_inst0)
.