09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

S. Verlan, J. Quiros<br />

more relevance: local rules are processed by the regi<strong>on</strong> processors and, after<br />

that, a communicati<strong>on</strong> process between regi<strong>on</strong>s takes place in order to update<br />

the multiplicity of objects. In both architectures, there is a c<strong>on</strong>trol logic which<br />

synchr<strong>on</strong>izes the operati<strong>on</strong>s of processing units and updating of registers which<br />

save system’s c<strong>on</strong>figurati<strong>on</strong>. How registers are grouped and what it is c<strong>on</strong>sidered<br />

as a basic processing unit depend <strong>on</strong> the approach (rules or regi<strong>on</strong>s).<br />

An important point for a (parallel) computing platform for membrane computing<br />

is to achieve a good balance between performance, flexibility and scalability.<br />

This is especially important for hardware simulators because the high<br />

performance comes often at an important price of flexibility or scalability. The<br />

important drawback of FPGA simulators from [14, 11] is that they suppose that<br />

the evoluti<strong>on</strong> of P system is deterministic an thus these simulators will yield<br />

always the same result for the same initial c<strong>on</strong>figurati<strong>on</strong>. However, the n<strong>on</strong>determinism<br />

in P systems plays an important role and its absence drastically<br />

reduces the classes of P systems that can be used with above simulators.<br />

In this paper we present basic ideas of the c<strong>on</strong>structi<strong>on</strong> of FPGA simulators<br />

for n<strong>on</strong>-deterministic P systems with the choice between possibilities being d<strong>on</strong>e<br />

randomly with a uniform distributi<strong>on</strong>. Such a c<strong>on</strong>structi<strong>on</strong> can be d<strong>on</strong>e in a<br />

rather simple strait manner, however the resulting performance is not very high.<br />

We c<strong>on</strong>centrated <strong>on</strong> more complex designs that permit to achieve a performance<br />

close to the maximal theoretical performance for FPGA based simulators. Our<br />

approach also implies less flexibility as it cannot be applied to all kinds of P<br />

systems. However, the important difference with previous approaches is that in<br />

our case its applicability depends not <strong>on</strong> class of c<strong>on</strong>sidered P systems, but <strong>on</strong><br />

the complexity of rules dependencies, which makes it applicable for a wide range<br />

of P systems. To exemplify our approach we present an implementati<strong>on</strong> based<br />

<strong>on</strong> our ideas yielding a simulator performing around 2×10 7 computati<strong>on</strong>al steps<br />

per sec<strong>on</strong>d, independently of the number of used rules.<br />

This paper is organized as follows. First, in Secti<strong>on</strong> 2 we give a brief introducti<strong>on</strong><br />

to the theory of formal power series and give examples of the computati<strong>on</strong><br />

of generating series for different languages. In Secti<strong>on</strong> 3 we explain our method<br />

of pre-computati<strong>on</strong> of all possible rules’ applicati<strong>on</strong>s. Secti<strong>on</strong> 4 gives an example<br />

of an FPGA implementati<strong>on</strong> of a c<strong>on</strong>crete P systems using our ideas: in<br />

subsecti<strong>on</strong> 4.1 we present the mathematical details c<strong>on</strong>cerning the example, subsecti<strong>on</strong><br />

4.2 overviews the hardware design for the simulator and subsecti<strong>on</strong> 4.3<br />

presents the obtained results.<br />

2 Preliminaries<br />

We assume that the reader is familiar with the noti<strong>on</strong>s of the formal language<br />

theory. We refer to [15] for more details. We denote by |w| the length of the word<br />

w or the cardinality of the multiset or set w.<br />

We also assume that the reader is familiar with the basic noti<strong>on</strong>s about P<br />

systems and we refer to the books [13, 12] for more details.<br />

434

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!