-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


[ ] Petrify:

, 18 2017 . 13:58 +
, Petrify , , . - ( 20), . . .

? 3 :

1. STG. , , , .. , , - . ? , ? Petrify . .

2. . , . , , .

3. . .

Petrify, - ? , ! . , . , -. . , 2 , . Petrify , . . , (, ), .

. :

1. ;
2. ;
3. ;
4. , "+" "-", "-" "+";
5. 2 .

CSC , , . :

:

$$display$$ ... x+ ... x- ... $$display$$


:

$$display$$ ... y- x+ ... x- y+ ... $$display$$


:

$$display$$x=NOR(y,AND(a,b,c,...,d)) $$display$$


:

$$display$$... d- ... y- x+ ... c- ... d+ ... b- ... c+ ... a- ... b+ ... a+ x- y+ ... $$display$$


. a, b, c, d ( ) x-, x+. CSC .
:

$inline$x=NOR(y,f) $inline$
$inline$f=AND(g,a) $inline$
$inline$g=AND(h,b) $inline$
$inline$h=AND(c,d) $inline$

:

image
- . , . , .

, , 5 . .

4 . :
image
4 : a b. ( c). -.
image
( ).

3, . , . , , . 3 .

1 . :

$$display$$... n+ n- ... $$display$$


. . . :

$$display$$... n+ a- b+ n- c+ ... d+ b- a+ c- ... d- ... $$display$$


:

$inline$a=NOR(n,b) $inline$
$inline$b=NOR(d,a) $inline$
$inline$c=NOR(a,n) $inline$

a, b, c , .. . , n .

2 :
image

, . , , , (h g).
image

$inline$e=NAND(a,f) $inline$
$inline$j=NAND(e,h) $inline$
$inline$i=NOT(j) $inline$
$inline$h=NAND(b,j) $inline$
$inline$f=NAND(b,i) $inline$
$inline$k=NOT(f) $inline$
$inline$g=NAND(a,k) $inline$

e, j, i, h, f, k, g . a, b . a- b-. , .

3 . a+ b, .
image

, .
image

$inline$g=NAND(a,i) $inline$
$inline$h=NOR(b,g) $inline$
$inline$f=NAND(a,b) $inline$
$inline$j=NOR(f,g) $inline$
g, h, f, j . a, b, g . h+ j+. -.

5, .

$$display$$... x- ... x+ ... x- ... x+ ... $$display$$


x .

$$display$$... a+ x- b+ ... a- x+ b- ... c+ d- ... f+ x- g+ ... f- x+ g- ... c- d+ ... $$display$$


$inline$x=NOR(a,f) $inline$
$inline$b=NOR(x,c) $inline$
$inline$g=NOR(x,d) $inline$

x, b, g . x .

2, . .

1. .
image
$inline$f=NAND(a,b) $inline$
$inline$g=NOR(f,c) $inline$

f, g .

2. a+ b-, a- b+ .
image
.

, 1, .

. . , , . .
image

.

: N. N. , N, .

: 4 {4, 5, 6, 1, 2}. 3 {3, 1, 2}. . , .

1. , . . , .
image
$inline$x=NAND(a,b) $inline$
$inline$c=NAND(x,g) $inline$
$inline$d=NAND(x,f) $inline$

x, c, d . x . . . . 1.

2. , , . , .
image
4 3. : .
3. . .
image
$inline$x= NAND(a,y) $inline$
$inline$y=NAND(b,x) $inline$
$inline$c=NOR(a,y) $inline$
$inline$d=NOR(b,x) $inline$

x, y, c, d . . , ( ). . , 1.

.

, . , , . , , . . . , .

. , . . , Petrify. 1.5 . , Petrify , (C-), , , .
Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/331142/

:  

: [1] []
 

:
: 

: ( )

:

  URL