This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EMIFA nEMA_WE_DQM of C674x

Hi.

I'd like to confirm the nEMA_WE_DQM[1:0] behavior to interface FPGA.
Would you please check if the following understanding is correct?

nEMA_WE_DQM[1] nEMA_WE_DQM[0]
Low Low 16-bit Access
High Low Lower 8-bit Access
Low High Upper 8-bit Access
High High All 16bits Masked <- Right?

Best regards,
Tsutomu Furuse

  • In addition to the above question, I also want to know if connecting nEMA_WE_DQM[1:0]  to 16-bit device is a must to write/read 8-bit value to/from 16-bit device.

    Best regards,
    Tsutomu Furuse

  • Tsutomu – San,

    Yes, you’re correct

    Tsutomu – San said:
     

    Q : In addition to the above question, I also want to know if connecting nEMA_WE_DQM[1:0]  to 16-bit device is a must to write/read 8-bit value to/from 16-bit device.

    The DQM signals toggle depending on the size of the access and the size of the EMIF bus.  For example, if your EMIF bus is16-bits in size and you perform a 32-bit access. You will see two 16-bit accesses on the bus with both DQM pins asserted (low).  If your access is 8 bits, then DQM0 will go low if the LSB of the address is 1 or DQM1 will go low if the MSB is 1.  If your EMIF bus is 8-bit in size, then only DQM0 should toggle and it will toggle for every access.

    Regards

    Antony

  • Antony,

    Thank you for your answer.

     If your access is 8 bits, then DQM0 will go low if the LSB of the address is 1 or DQM1 will go low if the MSB is 1.

    I'm not clear the above statement.
    If the "B" of "LSB" and "MSB" is "Bit", I can understand as following.

    DQM0 will go low if the LSB of the logical address is 0.
    DQM1 will go low if the LSB of the logical address is 1.

    Would you please tell me what you meant?

    Best regards,
    Tsutomu Furuse

  • Tsutomu -San,

    Yes, you'r understanding is correct , I have mentioned MSB instead of LSB  it's a typo.

    If your access is 8 bits, then DQM0 will go low if the LSB of the address is 0 or DQM1 will go low if the LSB is 1

    Sorry about that .

    Regards

    Antony

  • Antony,

    Thank you for the clarification.

    Best regards,
    Tsutomu Furuse