From: Daniel Benusovich Date: Sat, 9 Mar 2019 04:05:29 +0000 (-0800) Subject: Add one more function comment for vector address test X-Git-Tag: div_pipeline~2328 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2dfcf8ced0b721c4661ff42de87db3644a183a7;p=soc.git Add one more function comment for vector address test --- diff --git a/TLB/test/test_address_encoder.py b/TLB/test/test_address_encoder.py index 8c3b6ad7..dd83208f 100644 --- a/TLB/test/test_address_encoder.py +++ b/TLB/test/test_address_encoder.py @@ -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