cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Contributor
Contributor
221 Views
Registered: ‎04-11-2017

Determine device using Linux, ZU2EG vs ZU3EG

Jump to solution

We’re programming the PL on the Ultrascale+ at run-time from Linux.  We’d like to write the code so that it can support either the ZU2EG or ZU3EG and load the correct corresponding bitstream.  We’re trying to determine if there’s a way to query the part type from Linux. 

In the technical reference manual, I see that those two parts have different IDCODEs, but most of the documentation talks about reading the IDCODE register from JTAG.  Is there a way to read the IDCODE from Linux running on the PS.  If not, then is there a different way firmware could determine what part type it’s running on?

0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
187 Views
Registered: ‎10-12-2018

Hi @400garrison,

You can read back the contents of FPGA configuration registers using fpgautil -r command to know the IDCODE.

Please check this wiki.

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

1 Reply
Xilinx Employee
Xilinx Employee
188 Views
Registered: ‎10-12-2018

Hi @400garrison,

You can read back the contents of FPGA configuration registers using fpgautil -r command to know the IDCODE.

Please check this wiki.

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post