Commit Graph

41 Commits

Author SHA1 Message Date
Alex Mykyta
e788e7cafd Remove excessive secondary counter saturation clamping logic. Counters will now be allowed to be set to values beyond their saturation point if loaded through non-increment/decrement mechanism. #114 2024-12-19 21:41:20 -08:00
Alex Mykyta
ebd82dde1b Add peakrdl-cli optional dependency 2024-12-19 19:04:48 -08:00
Alex Mykyta
1d7d47f49c More type hint workarounds 2024-12-18 22:20:35 -08:00
Alex Mykyta
e0295ae526 Fixup test bitswap. mypy 2024-12-18 22:04:12 -08:00
Alex Mykyta
11d9f65dff Fix incorrect bit-order in packed struct output of external registers. #111 2024-12-18 21:17:31 -08:00
Alex Mykyta
399f942201 Fix doc typos 2024-12-18 20:29:17 -08:00
Alex Mykyta
f25ba60bfc Add packed struct overlay for external register bitfields. #84 2024-03-29 22:16:24 -07:00
Alex Mykyta
62518b318b Implement new SVInt object to defer literal expansion and allow bit-fiddling operations. Fix invalid bit-slicing of literals if field reset value is a constant. #71 2023-10-24 22:50:41 -07:00
Alex Mykyta
b5b1ba790e Simulator compatibility updates 2023-10-22 20:43:34 -07:00
Alex Mykyta
d689bb7077 Reorganize how tb infrstructure selects toolchains 2023-10-22 11:04:43 -07:00
Alex Mykyta
c0e341579c fix typo 2023-09-29 05:55:54 -07:00
Alex Mykyta
7bb6c0c41a Fix xsim compatibility quirk 2023-09-07 23:16:58 -07:00
Alex Mykyta
5c3dd6e6bb More test coverage 2023-08-03 22:18:55 -07:00
Alex Mykyta
f9e0d1babc Coverage improvements 2023-08-02 22:28:42 -07:00
Alex Mykyta
941871007b Omit unecessary hwif signals if an external register is read-only or write-only. #58 2023-08-02 21:38:06 -07:00
Alex Mykyta
0d82154b9d Add support for field paritycheck. #35 2023-05-15 22:53:17 -07:00
Alex Mykyta
fadb8ce19d Add Intel Avalon MM cpuif. #40 2023-05-14 17:00:55 -07:00
Alex Mykyta
b350da3e7c Add ability to control default reset style. #34 2023-05-13 17:15:31 -07:00
Alex Mykyta
5b3cdd9d7a Move get_always_ff_event() to a more sensible location 2023-05-12 21:51:42 -07:00
Alex Mykyta
ca9185dac7 Add support for external components. (#4 & #36) 2023-05-11 21:52:26 -07:00
Alex Mykyta
fc823455f9 Add testcase to test cumulative strobes. #38 2023-05-03 23:22:05 -07:00
Hugh Jackson
0c7e493976 Add support for user defined enums in field encode property. #29 2023-04-12 23:09:06 -07:00
Alex Mykyta
8b9dfe5ebe Add coveralls 2023-03-13 21:47:33 -07:00
Alex Mykyta
6026e3398e lint 2023-02-16 19:22:22 -08:00
Alex Mykyta
489b4d1310 Add 'rd_swacc' and 'wr_swacc' UDPs. #21 2022-11-09 21:25:02 -08:00
Alex Mykyta
232faba417 Coverage improvements. 2022-11-08 21:34:10 -08:00
Alex Mykyta
fcfd5c09f4 fixup 2022-11-08 21:09:58 -08:00
Alex Mykyta
9e76a712a7 Implement read buffering. (#22) 2022-11-06 23:28:07 -08:00
Alex Mykyta
279a3c5788 Implement write buffering (#22) 2022-10-29 22:02:04 -07:00
Alex Mykyta
808067fac9 Fix synthesizability of fields with msb0 ordering 2022-10-17 23:24:35 -07:00
Alex Mykyta
e07e7d26b2 Add support for wide registers (where accesswidth < regwidth) 2022-10-17 22:13:29 -07:00
Alex Mykyta
21a4e5a41c Add double-buffer UDP definitions 2022-10-09 22:48:43 -07:00
Alex Mykyta
1aa9d8b603 Move SV interface files into a common location. Add license info (#20) 2022-09-27 20:52:06 -07:00
Alex Mykyta
3b4289f2c6 Add APB4 cpuif 2022-09-13 22:39:36 -07:00
Alex Mykyta
6e4246a2cc Add support for cpuif that have write strobes 2022-09-13 22:03:54 -07:00
Paul Roukema
76fdb6e2ff tests: Correctly handle the reuse_hwif_typedefs parameter
This test parameter was not being passed to the exporter function.
This meant only the default setting (True) was tested

Signed-off-by: Paul Roukema <paul.roukema@fidus.com>
2022-09-12 20:48:42 -07:00
Alex Mykyta
8d13a9d7fe Switch to use regular non-namespaced package 2022-06-09 20:24:53 -07:00
Alex Mykyta
d3a8266c6d tweak readme 2022-05-02 21:01:16 -07:00
Alex Mykyta
03d77ea37b Add workaround to AXI4-Lite cpuif template to avoif quirk in Vivado xsim handling of non-power-of-2 array indexing. #7 2022-05-02 20:51:31 -07:00
Alex Mykyta
a1808298ae Enable Vivado's xsim to run on some simpler testcases for better compile-check coverage. #7 2022-05-02 20:22:55 -07:00
Alex Mykyta
54d783e1ab Reorganize test dir to ensure test of installed pkg 2022-02-28 23:08:41 -08:00