Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新SimTrace功能的描述 #21

Open
Jack0Chan opened this issue Dec 15, 2022 · 0 comments
Open

更新SimTrace功能的描述 #21

Jack0Chan opened this issue Dec 15, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Jack0Chan
Copy link
Owner

Jack0Chan commented Dec 15, 2022

印象中对于SimTrace的过滤功能好像没有案例或者描述之类的,看看能不能补上。下面是需要考虑的点。

FilterByAction

You can filter specific edges with specific actions.

FilterByClock

You can filter constraints with specific clocks (e.g. gclk).

Constraints with certain clocks:
t1
t1 or t2 or t3
t1 and t2
t1 or (t3 and t4)
'or' means exist one in DBM form.
'and' means both in DBM form.
For example:
DBM = 
 [(t1, t2, True, 100), 
   (t1, t3, True, 500), 
   (t2, t4, True, 200),
   (t3, t4, True, 300)]
t1 will filter: 
 [(t1, t2, True, 100), 
   (t1, t3, True, 500), 
   (t2, t4, True, 200),
   (t3, t4, True, 300)]
t1 or t2 or t3 will filter:
 [(t1, t2, True, 100), 
 (t1, t3, True, 500), 
 (t2, t4, True, 200),
 (t3, t4, True, 300)]
t1 and t2 will filter:
 [(t1, t2, True, 100), 
   (t1, t3, True, 500), 
   (t2, t4, True, 200),
   (t3, t4, True, 300)]
t1 or (t3 and t4) will filter:
 [(t1, t2, True, 100), 
   (t1, t3, True, 500), 
   (t2, t4, True, 200),
   (t3, t4, True, 300)]
(t1 and t2 and t3) or t4
S = [t1, t2, t3], [t1, t2, t3, *]

(t1 and t2) or (t1 and t3) or (t2 and t3)

find (exp1, exp2) \in S*S
exp1 * exp2 \subset S*S

Action Pattern (Untime)

In most conditions, experts are concerned more about the sequence of the events than the exact clock constraints. Pattern is the sequence of focused actions without clock constraints. Due to the partial observations, there are different patterns that can explain the current features. In the pipes examples, there are two different paths that can lead to exit2.
Pattern = Untime(Trace)
All patterns.

@Jack0Chan Jack0Chan added the documentation Improvements or additions to documentation label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant