- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
could someone advice: I want to wait in my testbench for a signal rise time, like this: wait until rising_edge(MySignal) however the rising edge must come within certain time, e.g. up to 100us. I've testested flavors of constructs like: wait until rising_edge(MySignal) or now > 100 us; however whatever I do, it does not react on the time condition. Only on the rising edge. What do I do wrong? thanks d.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try:wait until rising_edge(MySignal) for 100 us;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ahmm, thanks, this combination did not come into my mind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can never use NOW in a wait statement because it is not a signal so it will never produce an event so it waits forever.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page