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.

Fast hardware implementati<strong>on</strong>s of P systems<br />

The corresp<strong>on</strong>ding system (2) of linear equati<strong>on</strong>s has the following soluti<strong>on</strong><br />

q 0 = x3 + 2x 2 + x<br />

1 − x 2 − x 3<br />

x + 1<br />

q 1 =<br />

1 − x 2 − x 3<br />

q 2 =<br />

x2 + x<br />

1 − x 2 − x 3<br />

q 3 = x2 + x + 1<br />

1 − x 2 − x 3<br />

q 4 =<br />

x2 + x<br />

1 − x 2 − x 3<br />

We can expand q 0 to obtain q 0 (n) (= [x n ]q 0 )<br />

q 0 = x + 2x 2 + 2x 3 + 3x 4 + 4x 5 + 5x 6 + 7x 7 + 9x 8 + . . .<br />

The coefficients of the above series give the number of words of the corresp<strong>on</strong>ding<br />

length. For example, there are 9 words of length 8 in L I .<br />

It is not difficult to verify that the coefficients [x n ]q k , 0 ≤ k ≤ 4, of the<br />

corresp<strong>on</strong>ding power series are particular cases of the Padovan sequence q k (n) =<br />

q k (n − 2) + q k (n − 3), n > 3, with the following starting values:<br />

k q k (0) q k (1) q k (2)<br />

0 1 1 2<br />

1 1 1 1<br />

2 0 1 1<br />

3 1 1 2<br />

4 0 1 1<br />

3 Formal Part of Simulator’s Design<br />

We will follow the approach given in [3], however we will not enter into deep<br />

details c<strong>on</strong>cerning the notati<strong>on</strong> and the definiti<strong>on</strong> of derivati<strong>on</strong> modes given<br />

there. C<strong>on</strong>sider a (static) P system Π of any type evolving in any derivati<strong>on</strong><br />

mode. The key point of the semantics of P systems is that according to the type<br />

of the system and the derivati<strong>on</strong> mode δ for any c<strong>on</strong>figurati<strong>on</strong> of the system<br />

C a set of multisets (over R) of applicable rules, denoted by Appl(Π, C, δ),<br />

is computed. After that, <strong>on</strong>e of the elements R from this set is chosen, n<strong>on</strong>deterministically,<br />

for the further evoluti<strong>on</strong> of the system.<br />

The main idea for the c<strong>on</strong>structi<strong>on</strong> of a fast simulator is to avoid the computati<strong>on</strong><br />

of the set Appl(Π, C, δ) and to compute the multiset of rules to be<br />

applied R directly. In this article we are interested by algorithms that permit<br />

to perform this computati<strong>on</strong> <strong>on</strong> FPGA in c<strong>on</strong>stant time. We remark that, in a<br />

437

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

Saved successfully!

Ooh no, something went wrong!