From d3a8266c6d950084eceaf785fe3c3d4ff8f8e84b Mon Sep 17 00:00:00 2001 From: Alex Mykyta Date: Mon, 2 May 2022 21:00:59 -0700 Subject: [PATCH] tweak readme --- src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv | 4 ++-- tests/README.md | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv b/src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv index e61464e..20a87f8 100644 --- a/src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv +++ b/src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv @@ -140,8 +140,8 @@ struct { logic [{{cpuif.data_width-1}}:0] rdata; } axil_resp_buffer[{{roundup_pow2(cpuif.resp_buffer_size)}}]; {%- if not is_pow2(cpuif.resp_buffer_size) %} -// axil_resp_buffer is intentionally padded to the next power of two despite there -// only being {{cpuif.resp_buffer_size}} actual entries. +// axil_resp_buffer is intentionally padded to the next power of two despite +// only requiring {{cpuif.resp_buffer_size}} entries. // This is to avoid quirks in some tools that cannot handle indexing into a non-power-of-2 array. // Unused entries are expected to be optimized away {% endif %} diff --git a/tests/README.md b/tests/README.md index bcbf3a0..15350ce 100644 --- a/tests/README.md +++ b/tests/README.md @@ -56,6 +56,13 @@ You can also run a specific testcase. For example: pytest tests/test_hw_access ``` +Alternatively, launch tests using the helper script. This handles installing +dependencies into a virtual environment automatically. +```bash +cd tests +./run.sh +``` + # Test organization