CBD model is computing Fibonacci numbers! :)
This commit is contained in:
parent
9c68b288c1
commit
80cba4b9f8
27 changed files with 429 additions and 269 deletions
6
examples/cbd/models/r_delay_in_nac.od
Normal file
6
examples/cbd/models/r_delay_in_nac.od
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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')`;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue