Forum Discussion

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

Managing input on the FPGA board

Hello,

I have following kind of input in my VHDL Program:

type binary_array is array(0 to 1099) of std_LOGIC_VECTOR(13 downto 0);

I run the Program successfully in Quratus and also tested it by giving such 1100 input via Testbench in Modelsim.

But I am wondering how can I run that program on real FPGA board because number of input in real case is several thousands (not equal to 1099) which is not even fixed as input is given by means of antenna, receiver, Analog to digital converter, etc??

can anybody give some idea how can I manage the input?

--Thanks in advance

14 Replies

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

    --- Quote Start ---

    remember rams can be dual ported, so you can add another address port to read to the PC.

    --- Quote End ---

    Sorry, I didn't understand it.

    Info of SRAM I am using:

    2MB (1Mx16) SRAM

    SRAM_ADDR[19..0] i.e. 20 bit address port

    SRAM_DQ[15..0] i.e. 16 bit data port

    using Dual ported here means assign half of the address port to read to the PC and rest half for input of memory ?? or anything else?

    and what is the meaning of read to PC? I mean by which interface to PC and in which format?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    all the internal memory on the FPGA is dual ported. So the same memory hass access from two sepearte things. So there are 2x 20bit address port and 2x 16 bit data port (in the configuration you're talkingabout).

    I suggest reading the altera cyclone guide (specifically the ram architecture) and the quartus HDL coding styles guide.