Skip to content

Commit

Permalink
tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed May 3, 2022
1 parent 7418324 commit d3a8266
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/peakrdl/regblock/cpuif/axi4lite/axi4lite_tmpl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
7 changes: 7 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3a8266

Please sign in to comment.