From a2dfcf8ced0b721c4661ff42de87db3644a183a7 Mon Sep 17 00:00:00 2001 From: Daniel Benusovich Date: Fri, 8 Mar 2019 20:05:29 -0800 Subject: [PATCH] Add one more function comment for vector address test --- TLB/test/test_address_encoder.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2