34 Commits

Author SHA1 Message Date
Alex Forencich
baac5f8d81 Reorganize PTP timestamp capture logic; determine PTP clock step size from PTP time instead of parameters
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2024-02-12 17:29:31 -08:00
Alex Forencich
870cebb798 Clean up PTP parameters on MACs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2024-02-11 13:00:37 -08:00
Alex Forencich
eb0f01f276 Rework MAC TX error handling to streamline logic; pad errored frames to avoid generating runt frames
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2024-01-29 18:33:14 -08:00
Alex Forencich
13c1872a42 Clean up XGMII symbol generation
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2024-01-28 20:36:06 -08:00
Alex Forencich
b22db1d2d2 Add CRC state registers where possible to 10G/25G MAC modules
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2024-01-14 19:17:00 -08:00
Alex Forencich
fa05d4ff3c Add TX and RX enable inputs to MACs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-08-24 01:24:33 -07:00
Alex Forencich
20c542051d Use cfg prefix for configuration signals
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-08-22 17:14:52 -07:00
Alex Forencich
2858aaaef7 Add TX PTP timestamp enable bit in tuser
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-07-17 10:58:40 -07:00
Alex Forencich
a1abc97e2a ISE does not support clog2 in localparam
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-12-27 18:26:47 -08:00
Alex Forencich
40acee1bc5 Rework MAC PTP timestamp adjustment logic
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-25 16:35:26 -07:00
Alex Forencich
07aeae5c2f Rework lane swapping logic
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-25 15:06:09 -07:00
Alex Forencich
fbaa714d2a Remove unnecessary CRC resets
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-25 15:03:03 -07:00
Alex Forencich
cb273970c3 Rework MAC frame padding logic
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-24 22:46:03 -07:00
Alex Forencich
2ce89aec09 Use generate blocks for Ethernet FCS computation
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-24 19:52:55 -07:00
Alex Forencich
5f39d6ece6 Improve internal encoding to simplify logic
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-24 17:32:43 -07:00
Alex Forencich
2601127679 Remove unnecessary zeroing
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-24 14:09:09 -07:00
Alex Forencich
ebd5f04e2d Remove unnecessary resets
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-07-24 10:14:54 -07:00
Alex Forencich
6b18e56cb1 Add default_nettype none and resetall directives 2021-10-20 17:29:12 -07:00
Alex Forencich
5494f3b678 Rewrite resets 2021-10-15 23:33:35 -07:00
Alex Forencich
3684ccafb2 Make use of blocking statements consistent 2019-06-15 16:56:45 -07:00
Alex Forencich
296744b37e Make use of blocking statements consistent 2019-06-12 23:31:03 -07:00
Alex Forencich
6eff2f0030 Decouple transmit PTP tag enable and transmit PTP timestamp enable 2019-06-09 22:03:24 -07:00
Alex Forencich
2794c315e8 Fix synthesizer complaints 2019-06-08 17:36:09 -07:00
Alex Forencich
82fe5a6bdd Add PTP timestamp capture logic to MACs 2019-06-07 16:38:36 -07:00
Alex Forencich
659aa67481 Pack start packet strobes into the same signal 2019-06-06 17:13:14 -07:00
Alex Forencich
585ccefa15 Add TX underflow error signal 2019-03-26 12:42:08 -07:00
Alex Forencich
0efb135b7a Fix STATE_WAIT_END 2019-03-25 15:06:45 -07:00
Alex Forencich
e644ce3895 Add start packet strobe timing outputs to MAC modules 2019-01-31 17:00:23 -08:00
Alex Forencich
9ae60dcd9a Simplify lane swapping code 2019-01-22 14:22:01 -08:00
Alex Forencich
6238ed5755 Report error for invalid encoding 2019-01-22 14:19:43 -08:00
Alex Forencich
e784900050 Remove unused code 2019-01-22 14:18:27 -08:00
Alex Forencich
ebe31e811c Use parameters for control characters 2018-11-08 13:15:47 -08:00
Alex Forencich
d2fedc4134 Rename ports 2018-11-07 22:35:06 -08:00
Alex Forencich
de69975872 Add AXI stream XGMII RX and TX modules and testbenches 2018-10-23 23:34:43 -07:00