prepared by P. Bakowski
Contents: specification , C-code, requirements, development, package, package body, RAM component, processor component, system
The processor itself operates in three steps:
|----|----|-------------------------|
31 ..27...23........................0
-- type bit_vector is array (natural range <> ) of bit;
package body STSL is
function CONVERT (val : MOTB) return INTEGER is variable result:INTEGER :=0; begin
architecture first of RAM is begin process(RW) -- processus reexecute à chaque modif de RW
use work.stsl.all; entity micro is generic (tps : time := 10 ns); port (abus : buffer MOTB; dbus : inout MOT; RW : out MVL; start : in bit); -- on utilise buffer pour pouvoir modifier abus dans le programme end micro;