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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/22/05 09:36
Read: times


 
#95565 - Dual Port Question
Responding to: ???'s previous message
****Bonus OT question******
With dual port memory - what would happen if cpu B is reading the same location as cpu A is writing??
***************************


Dual port memories that I have used have a built in feature of some bit flag registers that can generate an interrupt each way. So processor A writes to the A->B flag and interrupts processor B after it has setup the whole data packet it wishes to send across to the other processor. In similar manner processor B has an almost identical B->A flag that it can interrupt back to processor A after the reply area is written. It can be a good idea to reserve specific areas of the dual port memory to be used for A->B and the B->A transfer buffers. If this is done carefully then you never create a condition wherein one processor is writing the same location that the other is reading.

Michael Karas




List of 16 messages in thread
TopicAuthorDate
Two micro in the same box not same board            01/01/70 00:00      
   Eh?            01/01/70 00:00      
   Design decisions            01/01/70 00:00      
      Connection Parallel or Serial.            01/01/70 00:00      
      OT answer            01/01/70 00:00      
      Dual Port Question            01/01/70 00:00      
         Dual ports ive known and loved            01/01/70 00:00      
            Good to see we know the pitfalls!            01/01/70 00:00      
               DPM            01/01/70 00:00      
            async DPM            01/01/70 00:00      
   yeah but no but yeah..            01/01/70 00:00      
      biting clocks            01/01/70 00:00      
   Biting clocks            01/01/70 00:00      
      Biting clocks            01/01/70 00:00      
      Forget this "clock biting"            01/01/70 00:00      
         Re: Forget clock biting.            01/01/70 00:00      

Back to Subject List