Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/13/03 14:24
Read: times


 
#58533 - RE: Memory interfacing problem
Responding to: ???'s previous message
there is some dependencies on both sides: ie don't write to the same location the other side is reading/writing
My technique is for the two parties to synchronize via ping-pong bytes that either are zero or something else. Such a flag can be simultaneously read and written with no ill effects.

an example: a byte indicating by non-zero that thye data block reserved for B to write to is ready to read.
If A read while B is writing non-zero, A will either read zero (the old value) or nonzero (the new value). If reading zero it will try later, if reading non-zero it does not matter if it was during a B write or not. Another byte is used for "A has read the block" in a similar manner.

Erik

List of 20 messages in thread
TopicAuthorDate
Memory interfacing problem            01/01/70 00:00      
   RE: Memory interfacing problem            01/01/70 00:00      
      RE: Memory interfacing problem            01/01/70 00:00      
         RE: Memory interfacing problem            01/01/70 00:00      
            RE: bull            01/01/70 00:00      
   !WR output destroyed?            01/01/70 00:00      
      RE: !WR output destroyed?            01/01/70 00:00      
         RE: !WR output destroyed?            01/01/70 00:00      
            RE: !WR output destroyed?            01/01/70 00:00      
               RE: !WR output destroyed?            01/01/70 00:00      
   RE: Memory interfacing problem            01/01/70 00:00      
      RE: Memory interfacing problem            01/01/70 00:00      
         RE: Memory interfacing problem            01/01/70 00:00      
            RE: Memory interfacing problem            01/01/70 00:00      
   RE: Memory interfacing problem            01/01/70 00:00      
      RE: Memory interfacing problem            01/01/70 00:00      
         RE: Memory interfacing problem            01/01/70 00:00      
            RE: Memory interfacing problem            01/01/70 00:00      
   RE: Memory interfacing problem            01/01/70 00:00      
      RE: Memory interfacing problem            01/01/70 00:00      

Back to Subject List