- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How do I know how match conditions I can put inside the "if (conditions) then" without causing any timing issue (missing clocks...)? Can I write: "if (a='1' and b='0' and…… z='1') then idan<='1';"? maybe something to do to Fmax … Thanks, IdanLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I commonly use this construct to test for saturation:
clocked process... if signed(data) < 32768 and signed(data > -32768 then... with data about 18 or 20 bits thus the test involves 40 bits comparator. I don't see any timing problem. But data is registered before the if test. So as long as your inputs to the if test are registered and result is registered then hope it will not be a burden on timing.
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