tweak readme

This commit is contained in:
Alex Mykyta
2022-05-02 21:00:59 -07:00
parent 7418324ccf
commit d3a8266c6d
2 changed files with 9 additions and 2 deletions

View File

@@ -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 %}

View File

@@ -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