diff options
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 96ff266c..fae9770e 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -360,14 +360,16 @@ enum TimingPortClass TMG_IGNORE, // Asynchronous to all clocks, "don't care", and should be ignored (false path) for analysis }; +enum ClockEdge +{ + RISING_EDGE, + FALLING_EDGE +}; + struct TimingClockingInfo { IdString clock_port; // Port name of clock domain - enum - { - RISING, - FALLING - } edge; + ClockEdge edge; DelayInfo setup, hold; // Input timing checks DelayInfo clockToQ; // Output clock-to-Q time }; |