Skip to content

Commit

Permalink
ZynqEmioPort: added methods to get/set verbose flag and timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kazanzides committed Dec 7, 2024
1 parent d2856b4 commit d08207b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/ZynqEmioPort.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ class ZynqEmioPort : public BasePort {
ZynqEmioPort(int portNum = 0, std::ostream &debugStream = std::cerr);
~ZynqEmioPort();

// Get/set EMIO timeout in microseconds
double GetTimeout_us(void) const { return emio->GetTimeout_us(); }
void SetTimeout_us(double time_uSec) { emio->SetTimeout_us(time_uSec); }

// Get/set EMIO verbose flag
bool GetVerbose() const { return emio->GetVerbose(); }
void SetVerbose(bool newState) { emio->SetVerbose(newState); }

//****************** BasePort pure virtual methods ***********************

PortType GetPortType(void) const { return PORT_ZYNQ_EMIO; }
Expand Down

0 comments on commit d08207b

Please sign in to comment.