#include <oagTimerModel.h>
Public Member Functions | |
TimerModel () | |
TimerModel (const TimerModel &c) | |
~TimerModel () | |
int | pushLoadAxis (double d) |
int | pushClockSlewAxis (double d) |
int | pushInputSlewAxis (double d) |
int | pushSlewAxis (double d) |
void | reserveData () |
int | pushData (double d) |
void | clear () |
DelayType | lookup (double load, DelayType slew, double loadLimit) |
Static Public Member Functions | |
TimeType | MAX_TIME () |
TimeType | ZERO_TIME () |
DelayType | MAX_DELAY () |
DelayType | ZERO_DELAY () |
Private Attributes | |
unsigned int | loadSize |
unsigned int | slewSize |
unsigned int | dataSize |
std::vector< double > | loadAxis |
std::vector< double > | slewAxis |
std::vector< double > | tableData |
bool | originalSlewMajor |
unsigned int | ptr |
|
The constructor, initialize all the members. |
|
The constructor, copy. |
|
The desctructor, which is empty now. |
|
Clear all the vectors. |
|
Compute the delay value or slew rate from the lookup table. Will print a warning message if the load exceeds the load limit.
|
|
maximum delay value TWEAK |
|
maximum time value TWEAK |
|
Push one number into the clock slew axis. |
|
Push one number into the data table. |
Here is the call graph for this function:
|
Push one number into the input slew axis. |
|
Push one number into the load axis. |
|
Push one number into the slew axis. |
|
Reserve the data space for the table. |
|
zero delay value TWEAK |
|
zero time value TWEAK |
|
|
|
|
|
|
|
this flag shows whether slew appears first or not |
|
a pointer which points to the next empty data position |
|
|
|
|
|
|