Skip to content

Repository files navigation

Gold

This repository contains examples of machines built using Gold

  1. Automata
  1. Turing machines

Petri nets

The example Petri net programs bellow are defined using both the HiPS : Hierarchical Petri net Simulatorhttps://sourceforge.net/projects/hips-tools/ using the .hps files (for windows users), and Hybrid Petri Net ICSI Simulatorhttps://sourceforge.net/projects/hisim/ using the .xml files (java based simulator).

Problem NameDescriptionInvariant
CountSimulates a counter from 0 to 999CountIn = Temp + p0 + 10*p1 + 100*p2
Traffic lightsSimulates a standard 4-color traffic lightred + yellow + green <= 2
red<=1
yellow<=1
green<=1
Basic one queue one processorOne queue serviced by two different processorsWorking1+ReadyProc1=1
Working2+ReadyProc2=1
1q2pOne queue serviced by two different processorsWorking1+ReadyProc1=1
Working2+ReadyProc2=1

About

Example programs implemented in Gold

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages