Closed maleadt closed 2 years ago
FWIW these are the DNA numbers on two rev5:
0x0003fe00e00e00e0
0x0001f87819861801
So there may not be an issue. Some devices just look suspect. I think we should go ahead with the gateware changes and ID reporting. I will push them here.
xref for DNA enable: bb901007f0a260b056a75205fc35082ee91c6d35
With this, the XTRX device is per-path, and should discover automatically:
For serial-based identification, I had a look at the FPGA's DNA, but the returned value seems fishy:
Also, the internet tells me we should use the 64-bit FUSE_DNA instead of the 57-bit DNA_PORT, but I don't know how to read that from Verilog (i.e., just changing DNA_PORT to FUSE_DNA in LiteX' generators doesn't work).
Filed an issue for this, https://github.com/enjoy-digital/litex/issues/1411, but it's not critical.