add petrinet 'mutex'-example from MoSIS slides
This commit is contained in:
parent
5240c7e21a
commit
c9c5a5214d
3 changed files with 59 additions and 2 deletions
|
|
@ -23,8 +23,10 @@ if __name__ == "__main__":
|
|||
# Read models from their files
|
||||
mm_cs = read_file('metamodels/mm_design.od')
|
||||
mm_rt_cs = mm_cs + read_file('metamodels/mm_runtime.od')
|
||||
m_cs = read_file('models/m_example_simple.od')
|
||||
m_rt_initial_cs = m_cs + read_file('models/m_example_simple_rt_initial.od')
|
||||
# m_cs = read_file('models/m_example_simple.od')
|
||||
# m_rt_initial_cs = m_cs + read_file('models/m_example_simple_rt_initial.od')
|
||||
m_cs = read_file('models/m_example_mutex.od')
|
||||
m_rt_initial_cs = m_cs + read_file('models/m_example_mutex_rt_initial.od')
|
||||
|
||||
# Parse them
|
||||
mm = loader.parse_and_check(state, mm_cs, scd_mmm, "Petri-Net Design meta-model")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue