From c125ea64409bf348480326c1de24defbe2c000a8 Mon Sep 17 00:00:00 2001 From: Tim Ansell Date: Fri, 1 Sep 2017 23:27:58 +1000 Subject: [PATCH] Adding a little docs to field descriptions. --- litex/soc/tools/remote/etherbone.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/litex/soc/tools/remote/etherbone.py b/litex/soc/tools/remote/etherbone.py index 2f95e31d4..7be257763 100644 --- a/litex/soc/tools/remote/etherbone.py +++ b/litex/soc/tools/remote/etherbone.py @@ -10,12 +10,12 @@ etherbone_packet_header_fields = { "magic": HeaderField(0, 0, 16), "version": HeaderField(2, 4, 4), - "nr": HeaderField(2, 2, 1), - "pr": HeaderField(2, 1, 1), - "pf": HeaderField(2, 0, 1), + "nr": HeaderField(2, 2, 1), # No Reads + "pr": HeaderField(2, 1, 1), # Probe Reply + "pf": HeaderField(2, 0, 1), # Probe Flag - "addr_size": HeaderField(3, 4, 4), - "port_size": HeaderField(3, 0, 4) + "addr_size": HeaderField(3, 4, 4), # 1=8bits, 2=16bits, 4=32bits, 8=64bits + "port_size": HeaderField(3, 0, 4), # Same as above } etherbone_packet_header = Header(etherbone_packet_header_fields, etherbone_packet_header_length,