S
Skybuck Flying
Guest
Hi,
First I would like to program a simple CPU and Memory chip in pascal/delphi.
(Maybe a better word for memory chip would be memory controller ?)
The CPU and Memory chip communicatie in serial bits with each other.
These serial bits could be commands/addressess which the memory chip can
understand.
I would like to program the cpu's microcode with blocking
routines/functions.
For example:
ReadBit( A ); // block until a bit has been read.
ReadBit( A ); // block until the next bit has been read.
ReadBit( A ); // block until the next bit has been read.
WriteBit( B ); // block until a bit has been written.
WriteBit( B ); // block until the next bit has been written.
WriteBit( B ); // block until the next bit has been written.
For simulation purposes the implementation of these routines could be really
simply to fake communication with the memory chip.
The question is if these two functions can be implemented two BLOCK in a
realworld microcode cpu enviroment (cpu's usually work with clocks which
keep on ticking... ) ?
Bye,
Skybuck.
First I would like to program a simple CPU and Memory chip in pascal/delphi.
(Maybe a better word for memory chip would be memory controller ?)
The CPU and Memory chip communicatie in serial bits with each other.
These serial bits could be commands/addressess which the memory chip can
understand.
I would like to program the cpu's microcode with blocking
routines/functions.
For example:
ReadBit( A ); // block until a bit has been read.
ReadBit( A ); // block until the next bit has been read.
ReadBit( A ); // block until the next bit has been read.
WriteBit( B ); // block until a bit has been written.
WriteBit( B ); // block until the next bit has been written.
WriteBit( B ); // block until the next bit has been written.
For simulation purposes the implementation of these routines could be really
simply to fake communication with the memory chip.
The question is if these two functions can be implemented two BLOCK in a
realworld microcode cpu enviroment (cpu's usually work with clocks which
keep on ticking... ) ?
Bye,
Skybuck.