CSP2PN is a tool able to automatically transform a CSP specification into an equivalent Petri net. The Petri net is generated by using an instrumentation of the CSP's operational semantics which generates it as a side-effect. The Petri net generated produces the same sequences of visible events as the CSP specification. In CSP terminology, these sequences are the so-called traces. In Petri nets they correspond to the transition firing sequences.
You can find a more detailed description of the tool here, including the source files..
|