Commit Graph

38 Commits

Author SHA1 Message Date
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
56caf57fa4 Fix method name 2021-03-17 18:19:30 -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
69717c1698 Add AXI bus objects 2021-03-06 16:26:51 -08:00
Alex Forencich
c18fdd6e22 Consolidate AXI stream implementation to remove duplicate code 2021-01-08 16:08:36 -08:00
Alex Forencich
222af15437 Clear sim_time_end on start transmit 2021-01-08 15:54:26 -08:00
Alex Forencich
4ec0c36892 Support override of tx_complete 2021-01-04 22:43:17 -08:00
Alex Forencich
7c18f9b73f Improve AXI stream transfer tracking 2021-01-03 22:47:38 -08:00
Alex Forencich
7748f871f4 Add clear to AXI stream models 2021-01-02 16:15:51 -08:00
Alex Forencich
1618220a30 Rework AXI stream resets 2020-12-24 23:19:58 -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
f4f7c0b59d Store receive sim time in AxiStreamFrame 2020-12-21 23:09:29 -08:00
Alex Forencich
ad83d58b01 Init as bytearray instead of convert to bytearray 2020-12-21 23:09:02 -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
1103783b08 Return tdata when AxiStreamFrame is cast to bytes 2020-12-11 23:45:23 -08:00
Alex Forencich
2451921923 Replace SimLog with logger 2020-12-10 02:20:14 -08:00
Alex Forencich
e6e8a06dfe Accept byte_size or byte_lanes arguments in AXI stream constructors if tkeep is not used 2020-12-07 01:58:49 -08:00
Alex Forencich
3dd8114c05 Rename byte_width to byte_lanes 2020-12-07 01:50:48 -08:00
Alex Forencich
5c4072cb16 Add AXI stream monitor 2020-11-29 14:15:17 -08:00
Alex Forencich
e5076e700c Log model configuration information 2020-11-26 21:15:37 -08:00
Alex Forencich
81f8906548 Clean up and lint removal 2020-11-26 19:51:24 -08:00
Alex Forencich
2d3ad7658b Fix exception when tready not connected 2020-11-26 01:26:19 -08:00
Alex Forencich
96feba1016 Print version information in debug output 2020-11-22 23:09:20 -08:00
Alex Forencich
d4f53abeec Set default unit to ns 2020-11-14 22:39:16 -08:00
Alex Forencich
028acd6c2d Minor reorganization 2020-11-14 01:29:24 -08:00
Alex Forencich
c23e9f962b Inline init 2020-11-12 18:25:53 -08:00
Alex Forencich
4feef78988 Add full() to AXI stream sink 2020-11-12 18:25:05 -08:00
Alex Forencich
f4a13f6e8a Implement generators for source and sink pausing 2020-10-26 23:31:09 -07:00
Alex Forencich
ac27b1d69a Convert values to integers 2020-10-26 22:49:57 -07:00
Alex Forencich
86ba3ab5bf Handle bus object directly 2020-10-21 20:33:42 -07:00
Alex Forencich
46ff5a52a8 Add missing return 2020-10-21 15:49:54 -07:00
Alex Forencich
35ff3fa3b6 Initial commit 2020-10-19 14:54:41 -07:00