Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

I got a problem with assign pins to SRAM address.

I got a problem with assign pins to SRAM address. tri_state_bridge address have 17 bits [16..0] and SRAM address have 16 bits [15..0]. How to assign pins to SRAM with 17bits?

Thanks for any help.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The tristate bus component is outputting byte addresses. Your SRAM sounds like it has a 16 bit data path so that means you just need to connect 16..1 from SOPC builder to 15..0 of the SRAM. By connecting 16..1 you are going to be reading/writing on 16 bit boundaries (which is what your SRAM expects).