06.05.2013 Views

sumador secuencial - QueGrande

sumador secuencial - QueGrande

sumador secuencial - QueGrande

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

9.5. Obter o autómata de control e deseñar a unidade de control microprogramada completa que<br />

implemente o algoritmo seguinte:<br />

INICIO: activar READY<br />

IF start goto INICIO<br />

BUCLE: activar OK, STARTING<br />

IF end goto ESPERAR<br />

ELSE<br />

activar OK, SELECT<br />

IF input = 00<br />

activar PROCESSING<br />

ELSE IF input = 01<br />

activar INITIATING<br />

activar PROCESSING<br />

activar DONE<br />

ELSE goto RECUPERAR<br />

END IF<br />

goto BUCLE<br />

ESPERAR: activar WAIT, CHECK<br />

IF ready goto ESPERAR<br />

goto INICIO<br />

RECUPERAR: activar FAULT<br />

IF ready<br />

activar WAIT, RESTORING<br />

goto ESPERAR<br />

END IF<br />

goto BUCLE

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

Saved successfully!

Ooh no, something went wrong!