Forum Discussion

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

Connecting SRAM in Parallel - Quartus

Hi,

I am using DSP development kit stratix ii edition. It has two 16bit SRAM chips. I intent to connect these as one 32bit memory. So essentially, some pins (rather address bits) have to be shared by both. Can someone please advise as to how this can be done during pin assignment in quartus?

Thanks

Vik

4 Replies

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

    I'm not familiar with this development kit, but you can simply connect two output addres buses into one in FPGA. For example:

    entity SRAM_driver is
     port
    (
    ...
    address_bus_1 : out std_logic_vector(15 downto 0);
    address_bus_2 : out std_logic_vector(15 downto 0);
    ...
    );
    end SRAM_driver;
    architecture behavioral of SRAM_driver is
    ...
    signal internal_address_signal : std_logic_vector(15 downto 0);
    ...
    begin
    ...
    ...
    address_bus_1 <= internal_address_signal;
    address_bus_2 <= internal_address_signal;
    ...
    ...
    end behavioral;
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    according to "Stratix II DSP Development Board Reference Manual pp. 2-16,2-18", this kind of connection is already made to the FPGA. Make a review of one of the examples included in your CD for pin assignments for chip IDT71V416S.