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
Copy file name to clipboardExpand all lines: src/examples/README.md
+11-7
Original file line number
Diff line number
Diff line change
@@ -221,27 +221,31 @@ The first option would be to re-write all the cocotb.test() stuff to use only ui
221
221
222
222
Rather than do all that work, and have ugly `tt.ui_in.value[5]` stuff everywhere as a bonus, you can extend the DUT class to add in wrappers to these values.
223
223
224
-
To do this, you just derive a new class from `ttboard.cocotb.dut.DUT`, create the attributes using `new_bit_attribute` or `new_slice_attribute` (for things like `tt.ui_in[3:1]`).
224
+
To do this, you just derive a new class from `ttboard.cocotb.dut.DUT`, create the attributes using `add_bit_attribute` or `add_slice_attribute` (for things like `tt.ui_in[3:1]`).
0 commit comments