mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-07 03:42:59 +02:00
XADC and DNA for Xilinx FPGA (#407)
* xilinx: add XADC and DNA args, see https://github.com/cfib/openFPGALoaderXADC/tree/XADC_3 parts: add xcku060 * doc: add xcku060
This commit is contained in:
+10
-1
@@ -24,7 +24,8 @@ class Xilinx: public Device, SPIInterface {
|
||||
const std::string &spiOverJtagPath,
|
||||
const std::string &target_flash,
|
||||
bool verify, int8_t verbose,
|
||||
bool skip_load_bridge, bool skip_reset);
|
||||
bool skip_load_bridge, bool skip_reset,
|
||||
bool read_dna, bool read_xadc);
|
||||
~Xilinx();
|
||||
|
||||
void program(unsigned int offset, bool unprotect_flash) override;
|
||||
@@ -191,6 +192,14 @@ class Xilinx: public Device, SPIInterface {
|
||||
SECONDARY_FLASH = 0x2
|
||||
};
|
||||
|
||||
/* XADC */
|
||||
unsigned int xadc_read(unsigned short addr);
|
||||
void xadc_write(unsigned short addr, unsigned short data);
|
||||
unsigned int xadc_single(unsigned short ch);
|
||||
|
||||
/* DNA */
|
||||
unsigned long long fuse_dna_read(void);
|
||||
|
||||
/*!
|
||||
* \brief Starting from UltraScale, Xilinx devices can support dual
|
||||
* QSPI flash configuration, with two different flash chips
|
||||
|
||||
Reference in New Issue
Block a user