Commit Graph

31 Commits

Author SHA1 Message Date
Alex Forencich
a66dfea6f7 Factor out common recv code; throw QueueEmpty exception in get_nowait 2021-03-21 21:02:28 -07:00
Alex Forencich
bce364eef5 Ensure idle event is set when queue is empty 2021-03-21 18:39:10 -07:00
Alex Forencich
7fb8c4e28b Reset processing on assert edge only to permit operations to be queued while reset is asserted 2021-03-21 12:13:19 -07:00
Alex Forencich
6c66776518 Use start_soon instead of fork 2021-03-21 11:40:25 -07:00
Alex Forencich
abb78308ff Defer idle event until completion of transfer 2021-03-17 18:02:11 -07:00
Alex Forencich
f19ca9f651 Use cocotb async queues 2021-03-17 17:34:26 -07:00
Alex Forencich
1c40b8fa58 Use cocotb-bus 2021-03-16 18:47:32 -07:00
Alex Forencich
35ed1472d6 Add reset_active_level parameters 2021-03-06 17:30:05 -08:00
Alex Forencich
08122c1a65 Use -1 instead of None for no limit 2021-03-06 17:04:37 -08:00
Alex Forencich
69717c1698 Add AXI bus objects 2021-03-06 16:26:51 -08:00
Alex Forencich
ffaf8932fc Rewrite stream resets 2021-01-07 20:30:04 -08:00
Alex Forencich
8f719daf75 Add queue_occupancy_limit to StreamSink 2021-01-07 20:08:44 -08:00
Alex Forencich
154d3b11f4 Remove drive 2021-01-07 20:08:19 -08:00
Alex Forencich
5593bfe296 Rebase StreamSink from StreamMonitor 2021-01-07 18:48:17 -08:00
Alex Forencich
3caa343845 Remove callbacks 2021-01-07 18:10:33 -08:00
Alex Forencich
6654c707b2 Remove redundant code 2021-01-07 18:10:07 -08:00
Alex Forencich
fcf6374c3c Remove inherit from object 2020-12-24 14:44:42 -08:00
Alex Forencich
7582067929 Remove await ReadOnly 2020-12-24 00:24:03 -08:00
Alex Forencich
cd272b2a59 Convert send/recv to blocking, add nonblocking send_nowait/recv_nowait 2020-12-18 15:33:23 -08:00
Alex Forencich
2451921923 Replace SimLog with logger 2020-12-10 02:20:14 -08:00
Alex Forencich
81f8906548 Clean up and lint removal 2020-11-26 19:51:24 -08:00
Alex Forencich
306b09f967 Pull out common functionality into StreamBase and StreamPause 2020-11-22 23:08:15 -08:00
Alex Forencich
ea6d9090ca Add all signals to transaction object 2020-11-12 18:17:32 -08:00
Alex Forencich
f575a975d0 Add missing imports 2020-11-12 18:16:36 -08:00
Alex Forencich
f4a13f6e8a Implement generators for source and sink pausing 2020-10-26 23:31:09 -07:00
Alex Forencich
0c9cd9084c Fix pause handling 2020-10-26 13:34:02 -07:00
Alex Forencich
c7783ef7c0 Implement transaction object init and repr 2020-10-23 00:29:51 -07:00
Alex Forencich
344eae4b82 Include signal names in transaction objects 2020-10-23 00:23:03 -07:00
Alex Forencich
ca88fa3a31 Add missing initializers 2020-10-22 23:33:36 -07:00
Alex Forencich
182f1e2380 Correctly handle None 2020-10-22 23:27:58 -07:00
Alex Forencich
a9e0561eba Add generic stream classes 2020-10-21 23:54:54 -07:00