Skip to content

Commit d08207b

Browse files
author
Peter Kazanzides
committed
ZynqEmioPort: added methods to get/set verbose flag and timeout
1 parent d2856b4 commit d08207b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/ZynqEmioPort.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ class ZynqEmioPort : public BasePort {
7474
ZynqEmioPort(int portNum = 0, std::ostream &debugStream = std::cerr);
7575
~ZynqEmioPort();
7676

77+
// Get/set EMIO timeout in microseconds
78+
double GetTimeout_us(void) const { return emio->GetTimeout_us(); }
79+
void SetTimeout_us(double time_uSec) { emio->SetTimeout_us(time_uSec); }
80+
81+
// Get/set EMIO verbose flag
82+
bool GetVerbose() const { return emio->GetVerbose(); }
83+
void SetVerbose(bool newState) { emio->SetVerbose(newState); }
84+
7785
//****************** BasePort pure virtual methods ***********************
7886

7987
PortType GetPortType(void) const { return PORT_ZYNQ_EMIO; }

0 commit comments

Comments
 (0)