Forum Discussion

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

Why can't I add SDRAM to NiosII1.1+QuartusII4.2

I do a very simple test: building a system( niosII+flash+sram+dma+sdram), the sopc builder can generate the system without errors. But when I synthesis this system, the QuartusII 4.2 give me the following error messages(64 error messages in all, all the messages say the same thing):

.......

Error: Can't process assignment. Attribute format is illegal -- parsing error (line 20). Use legal format for ALTERA_ATTRIBUTE assignment.

.......

When I double click this error message to go into the error source, it is in the "sdram_0.v", but the the "error line " is just a simple Verilog statement, I cannot see any erron in it.

The sdram_0.v is generate by the sopc builder comes with QuartusII4.2, why QuartusII 4.2 say something is wrong with it ?

In additon to the test, the example design comes with nios2 1.1 cannot pass the synthesis also. The error messages also point to the sdram.

********************************************************************************

The software upgrade speed of altera is very fast, but the reliability does keep up with it.

We need reliability !

4 Replies

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

    Hi,

    I had this problem when i tried to use QuartusII 4.2 with the previous NiosII version (v1.0 sp1). It is caused by a version conflict between the Perl generator scripts. When you do an Altera product upgrade, make sure you completely remove the old version first.

    If you have Nios II v1.01 or older installed, before you upgrade to Nios II v1.1 uninstall the old Nios II kit and then go to /altera/kits (if you kept the default install directory) and manually delete the nios2 folder. If you didn't do this, uninstall Nios II v1.1 completely, manually remove the aforementioned folder then reinstall.

    If this doesn't fix your problem, do the uninstall/manual remove thing on the quartus folders as well, then reinstall.

    Good Luck

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

    I am uninstalling all the altera products, waiting to see the results.

    Thank you clancy