Forum Discussion

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

Altsyncram Cyclone

Hi

I want to use altsyncram block in one of my projects, and i have a little problem. I don't have any idea how to adress cells of memory in this block. With command I have to use here?

Could somebody help me and post here proper command and example of synthax.

THX for any help :)

3 Replies

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

    --- Quote Start ---

    Hi

    I want to use altsyncram block in one of my projects, and i have a little problem. I don't have any idea how to adress cells of memory in this block. With command I have to use here?

    Could somebody help me and post here proper command and example of synthax.

    THX for any help :)

    --- Quote End ---

    Hi,

    use Quartus build-in megawizard and generate the Memory you need.

    Tools -> MegaWizard Plug-In Manager -> "Create a new custom me ...." -> Memory Compiler

    Kind regards

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

    I don't want to "Create a new custom me ....". I have a altsyncram from cyclone megafunctions and don't now how can I write to memory and read from m... how to create appeal/cancellation to a memory?

    alt syncram have a wraddres[3..0], rdaddres[3..0] etc.. etc..

    http://zapodaj.net/images/fe586f981e52.png

    OK simpler.. I Have a signal suppose a "DATA" and i want to write DATA to memory, what code I must write/have to do it?

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

    set the "wren" input to high and it will write DATA to the WRADDRESS