Closed maleadt closed 2 years ago
tim@taurus ~/TRIAD/litex/xtrx_julia/software$ vivado -mode batch -source get_dna.tcl
****** Vivado v2022.1 (64-bit)
**** SW Build 3526262 on Mon Apr 18 15:47:01 MDT 2022
**** IP Build 3524634 on Mon Apr 18 20:55:01 MDT 2022
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
source get_dna.tcl
# set HW_SERVER localhost:3121
# open_hw
WARNING: 'open_hw' is deprecated, please use 'open_hw_manager' instead.
# if {[llength [get_hw_servers]] == 0 } then {
# connect_hw_server -quiet -url $HW_SERVER
# set disconnect_en 1
# }
WARNING: [Labtoolstcl 44-132] No matching hw_servers were found.
# refresh_hw_server -quiet
# foreach TARGET [get_hw_targets] {
# if { [get_property IS_OPENED $TARGET] } then {
# close_hw_target -quiet $TARGET
# }
# }
# foreach TARGET [get_hw_targets] {
# open_hw_target -quiet $TARGET
# refresh_hw_target -quiet $TARGET
# foreach DEVICE [get_hw_devices] {
# refresh_hw_device -quiet $DEVICE
# if { [get_property PROGRAM.IS_SUPPORTED $DEVICE] } then {
# set DNA_HEX [get_property REGISTER.EFUSE.DNA_PORT $DEVICE]
# puts "FPGA DNA: $TARGET=>$DEVICE = DNA(hex)=$DNA_HEX"
# }
# }
# close_hw_target -quiet $TARGET
# }
FPGA DNA: localhost:3121/xilinx_tcf/Digilent/210249B06F39=>xc7a50t_0 = DNA(hex)=10445867A084854
# if {$disconnect_en == 1 } {
# disconnect_hw_server -quiet
# }
INFO: [Common 17-206] Exiting Vivado at Thu Sep 1 14:46:23 2022...
tim@taurus ~/TRIAD/litex/xtrx_julia/software$ ./litepcie-user-library/litepcie_util info
[> FPGA/SoC Information:
------------------------
FPGA Identifier: LiteX SoC on Fairwaves XTRX 2022-09-01 14:25:42.
FPGA DNA: 0x010445867a084854
FPGA Temperature: 60.3 °C
FPGA VCC-INT: 0.94 V
FPGA VCC-AUX: 1.77 V
FPGA VCC-BRAM: 0.94 V
tim@taurus ~/TRIAD/litex/xtrx_julia/software$ SoapySDRUtil --find="driver=XTRX"
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################
Found device 0
driver = XTRX
identification = LiteX SoC on Fairwaves XTRX 2022-09-01 14:25:42
path = /dev/litepcie0
serial = 10445867a084854
@sjkelly On latex LiteX (including https://github.com/enjoy-digital/litex/commit/b24d744f8ed553c023e6ab54e05d237de3dadbb7) the DNA is fixed.
I changed the reporting to drop the leading zeros, which aren't interesting and just make the serial longer.