Commit Graph

28 Commits

Author SHA1 Message Date
Alex Forencich
a34a1cd125 Properly handle None 2021-03-21 21:03:35 -07:00
Alex Forencich
5c6510faea Factor out common recv code; throw QueueEmpty exception in get_nowait 2021-03-21 21:02:44 -07:00
Alex Forencich
f52f6dbe33 Trigger transmit complete events when flushing queue to prevent deadlocks 2021-03-21 18:46:41 -07:00
Alex Forencich
63e6eafc07 Handle dropped transmit frames during reset 2021-03-21 14:08:27 -07:00
Alex Forencich
f4054cfd65 Ensure idle event is set when queue is empty 2021-03-21 13:03:17 -07:00
Alex Forencich
448815b16d Reset processing on assert edge only 2021-03-21 12:25:09 -07:00
Alex Forencich
78bc288812 Use start_soon instead of fork 2021-03-21 12:22:51 -07:00
Alex Forencich
5855644670 Use cocotb async queues 2021-03-17 18:13:04 -07:00
Alex Forencich
6835e921f8 Add reset_active_level parameters 2021-03-06 18:34:20 -08:00
Alex Forencich
63b60341ed Clear sim time fields on start transmit 2021-01-08 16:25:28 -08:00
Alex Forencich
a73c0b734e Support override of tx_complete 2021-01-04 22:42:53 -08:00
Alex Forencich
aa97848450 Store SFD transfer sim time 2021-01-03 23:28:33 -08:00
Alex Forencich
cfbc80c0cb Improve transfer tracking 2021-01-03 22:55:09 -08:00
Alex Forencich
1d5688778a Add clear method 2021-01-03 12:52:21 -08:00
Alex Forencich
2e0502fc6e Use F-string repr 2020-12-24 19:09:15 -08:00
Alex Forencich
5eeffc0c68 Rework resets 2020-12-24 19:08:41 -08:00
Alex Forencich
318f48785a Remove inherit from object 2020-12-24 14:40:03 -08:00
Alex Forencich
d97208d3c8 Remove await ReadOnly 2020-12-24 00:28:16 -08:00
Alex Forencich
c3207d68dc Convert send/recv to blocking, add nonblocking send_nowait/recv_nowait 2020-12-18 15:39:51 -08:00
Alex Forencich
af8fda0250 Return data when XgmiiFrame is cast to bytes 2020-12-11 23:47:09 -08:00
Alex Forencich
113ef043bf Remove aliases 2020-12-05 16:41:04 -08:00
Alex Forencich
9e5863684d Add from_raw_payload, pad frames to min length in from_payload 2020-12-05 01:32:41 -08:00
Alex Forencich
79a8ec57ea Add FCS insertion, removal, and verification to GmiiFrame and XgmiiFrame 2020-11-26 00:53:02 -08:00
Alex Forencich
c4ed6073d6 Skip using bus for more convenient support of non-standard signal names 2020-11-25 17:34:19 -08:00
Alex Forencich
3d9f20a844 Clean up and lint removal 2020-11-25 00:51:09 -08:00
Alex Forencich
a6d01c5b73 Detect SFD when splitting preamble 2020-11-23 15:21:55 -08:00
Alex Forencich
0a2079d4ea Print version information in debug output 2020-11-22 23:12:26 -08:00
Alex Forencich
e242c85d83 Initial commit 2020-11-16 22:31:32 -08:00