mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-31 10:16:11 +02:00
jtag: add access to targeted idcode
This commit is contained in:
@@ -40,6 +40,12 @@ class Jtag {
|
||||
*/
|
||||
std::vector<int> get_devices_list() {return _devices_list;}
|
||||
|
||||
/*!
|
||||
* \brief return current selected device idcode
|
||||
* \return device idcode
|
||||
*/
|
||||
uint32_t get_target_device_id() {return _devices_list[device_index];}
|
||||
|
||||
/*!
|
||||
* \brief set index for targeted FPGA
|
||||
* \param[in] index: index in the chain
|
||||
|
||||
Reference in New Issue
Block a user