Rewrite the 'rewriter' + Added transformation schedule to CBD example, simplifying the rules
This commit is contained in:
parent
80cba4b9f8
commit
ad3752cd61
13 changed files with 292 additions and 244 deletions
|
|
@ -1,6 +1,5 @@
|
|||
state:RAM_State # <- must repeat elements from LHS that we refer to
|
||||
|
||||
in_signal:RAM_Signal {
|
||||
# If the signal is already equal to the state, the NAC holds:
|
||||
RAM_x = `get_value(this) == get_slot_value(matched('state'), 'x')`;
|
||||
}
|
||||
:GlobalCondition {
|
||||
# No NAC
|
||||
condition = `False`;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue