Skip to content

Commit

Permalink
Merge pull request #145 from pulp-platform/generalize_assign
Browse files Browse the repository at this point in the history
assign.svh: Add macros for assigning between structs and generalize `AXI_TO_*` to any LHS and RHS
  • Loading branch information
andreaskurth authored Jan 19, 2021
2 parents ca5250a + 1cd3914 commit c4329f5
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 268 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added
- Add infinite, simulation-only memory `axi_sim_mem`.
- `assign.svh`: Add macros for assigning between `struct`s, both inside a process
(`AXI_SET_*_STRUCT`) and outside a process (`AXI_ASSIGN_*_STRUCT`). This is safer than assigning
`struct`s with a simple `=`, because the macros assign individual fields. (Fields that mismatch
between two `struct`s, e.g., due to different `user` signal widths, should, and in some cases
must, be still assigned separately.)

### Changed
- Rename the following classes in `axi_test` to follow the convention that all user-facing objects
Expand Down
Loading

0 comments on commit c4329f5

Please sign in to comment.