Aligning byte enables for synchronous dual port

Question: - If I connected a 32-bit processor to a 36-bit wide dual-port, how can I align the byte enables? - Can I use the byte enables of the 18-bit wide dual-port if my system is only 16 bits?

 

Answer:

Even if the bus width of the processor does not match the bus width of the dual-port being used, it is quite possible to use tie the byte enables of the two devices together. All that it requires is careful connection of I/Os. For example: 

 

                                                                                                                                                                                                 
   

     36-bit Dual-port to 32-bit Processor

  
   

     Dual-port Signal

  
   

     Processor Signal

  
   

     Other

  
   

     I/O[0:7]

  
   

     I/O[0:7]

  
   

     --

  
   

     I/08

  
   

     --

  
   

     GND or VCC

  
   

     I/O[9:16]

  
   

     I/O[8:15]

  
   

     --

  
   

     I/017

  
   

     --

  
   

     GND or VCC

  
   

     I/O[18:25]

  
   

     I/O[16:23]

  
   

     --

  
   

     I/026

  
   

     --

  
   

     GND or VCC

  
   

     I/O[27:34]

  
   

     I/O[24:31]

  
   

     --

  
   

     I/035

  
   

     --

  
   

     GND or VCC

  
   

     B[0-3]

  
   

     B[0-3]

  
   

     --