Opened 13 years ago
Last modified 13 years ago
#1567 closed defect (fixed)
Simplify delay-expressions
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, |
Description
The following will store two different delay-expressions in the simulation runtime:
{{{delay(x,3)
delay(3*x,3)}}}
However, it is equivalent to:
{{{delay(x,3)
3*delay(x,3)}}}
which only need to store one of the expressions in the delay buffer
Note:
See TracTickets
for help on using tickets.
I read the C code a little wrong... Seems even if we delay the same expression, we store duplicates. This should be fixed :(