Add one more function comment for vector address test
[soc.git] / TLB / test / test_address_encoder.py
index 8c3b6ad70a006f3274032c203c61dbd838707ccf..dd83208f7e619466e7e67685e122214eabaf2dfd 100644 (file)
@@ -8,6 +8,10 @@ from AddressEncoder import AddressEncoder
 
 from test_helper import assert_eq, assert_ne, assert_op
 
+# This function allows for the easy setting of values to the AddressEncoder
+# Arguments:
+#   dut: The AddressEncoder being tested
+#   i (Input): The array of single bits to be written
 def set_encoder(dut, i):
     yield dut.i.eq(i)
     yield