Forum Discussion

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

SOPC System Generation Error!

Hello,

I recently started working with the Altera NiosII Development kit based on Cyclon II FPGA. When I try to open the standard reference design provided using the SOPC builder and generate the reference design I recive the following error.

isa_europa.pm: calc_max_control_reg_sz(): No register size available for register cpuid

Will be glad if anyone can help me out to understand this error. I realise what the cpuid is for but dont understand how or where I can set the size of this cpuid and why I have this error when I am trying to generate a standard example design.

Best Regards,

Kumaran

3 Replies

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

    Hi,

    same here when upgrading a stable design from 8.1 to 9.0sp2.

    ideas anyone?

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

    Hi!,

    Here is the reply I got from Altera. I could solve this issue following the steps listed down.

    For error message "isa_europa.pm: calc_max_control_reg_sz(): No register size available for register cpuid", it is a running environment issue. If you have multi-version installation of Quartus II, when using v9.0, please make sure the following environment variables are set as follows (for example):

    QUARTUS_ROOTDIR = C:\ALTERA\90\quartus

    SOPC_KIT_NIOS2 = C:\ALTERA\90\nios2eds

    Please also delete environment variable SOPC_BUILDER_PATH (but you need to save the values for restoring when using versions other than v9.0).

    When using Quartus II/IP/Nios II EDS before v9.0 (such as v8.1), please recover the environment variable SOPC_BUILDER_PATH and set the value of the environment variables as follows (for example):

    QUARTUS_ROOTDIR = C:\ALTERA\81\quartus

    SOPC_KIT_NIOS2 = C:\ALTERA\81\nios2eds

    Then remove the following folders and restart Quartus II to try it again.

    c:\documents and settings\<user name>\.altera.quartus

    c:\documents and settings\<user name>\ipToolbench

    c:\documents and settings\<user name>\.sopc_builder.

    Best Regards