Ngalamou, Lucien; Dixon, Andrew; Coore, Daniel N.
Author Affiliation, Ana.
Department of Physics
Petri nets-to-VHDL code generation: An approach
Proceedings: World Multiconference on Systemics, Cybernetics and Informatics SCI2001/ISAS
Place of Publication
International Institute of Informatics and Systemics
Date of Publication
Series Editor Role
Series Volume Identification
Series Issue Identification
This paper explores the possibility of constructing a translator that is able to convert the CPN model  of a digital system to its equivalent VHDL code  for physical implementation using FPGAs or CPLDs . Traditional compilers for languages such as C, and Pascal operate on source code that is structured to be easily scanned and parsed for further conversion. In our case we are dealing with a graphical tool that has a hierarchical description. Our CPN model is converted to an intermediate form called “Petri Nets definition language” (PDL), that describes the system being modeled in a textual form. The first attempt used ML language, and presently we have moved to a more efficient representation using XML format in conjunction with MetaScribe toolkit. The design of the “generator of transformation” which receives a PDL file and produces a VHDL file requires an efficient formalism. MetaScribe which is a toolkit for program generators, offers this feature.....