Forum Discussion

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

Board Description Editor

I installed Quartus 5.1 SP1 and I still can not "Generate" the SOPC system after making a board description. I tried selecting the new board description, de-selecting it, selecting it again, etc... Without a board description you can not use the flash programmer IDE. The command line works, but regardless the IDE would be easier for the end-user and it *should* work!

I still get the following error - does anyone else?

................# 2006.02.01 09:06:18 (*) Running Generator Program for cpu

ERROR:

c:/altera/kits/nios2_51/components/altera_nios2/cpu_core_select.pl 49 CALLED (e_project::new)

c:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 188 CALLED (e_project::build_new)

c:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 213 CALLED (e_project::handle_args)

c:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 312 CALLED (e_project::device_family) WHERE

'expected exactly one argument' OCCURRED on c:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 1315

Error: Generator program

for module 'cpu' did NOT run successfully.

4 Replies

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

    I also can't use the "new board description" of sopc builder.

    But command line mk_target_board is giving the following error:

    [SOPC Builder]$ mk_target_board --name=cpuBoard --family=cyclone --clock=50 --index=1 --epcs=U40 --buffer_size=512

    Make Target Board version 1.01

    Switch summary:

    Board name: "cpuBoard"

    Board class: cpuBoard

    Device family: Cyclone

    Clock frequency: 50000000hz

    Payload buffer size: 512 bytes

    EPCS flash enabled with reference designator: U40

    ERROR:

    c:/altera/kits/nios2_51/bin/create-board.pl 1279 CALLED (main)

    c:/altera/kits/nios2_51/bin/create-board.pl 99 CALLED (cb_setup_directories)

    c:/altera/kits/nios2_51/bin/create-board.pl 511 CALLED (europa_utils::find_com

    ponent_dir)

    /cygdrive/c/altera/quartus51sp1/sopc_builder/bin/europa/europa_utils.pm 2030

    CALLED (europa_utils::ensure_class_ptfs) WHERE

    'get_class_ptf and ensure_class_ptfs must be called with g{system_directory}' OCCURRED on /cygdrive/c/altera/quartus51sp1/sopc_builder/bin/europa/europa_utils.pm 1923

    Anyone knows what may be wrong?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well, I have a Service Request open with Altera about this and they are aware of the problem. They are able to reproduce the errors with my project that I sent them which just has a Nios and some flash - nothing else in the FPGA.

    Why they needed my project to reproduce this error, or why it was released twice with the same known bug is beyond me. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ph34r.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    lemonoje, I found I can&#39;t do flash programmer with NiosII IDE5.1+SP1 even though I use the altera EP2c35 board. But I can flash programmer by using the altera EP2c35 board with NiosII IDE5.0. whether there is some bugs with NiosII IDE5.1+SP1.

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

    I don&#39;t know why it isn&#39;t working for you but the problem i had was due to the Board Description Editor. However, the command line interface to the flash programmer works fine, except for the Verify function (unless that was repaired in 5.1 SP1).

    The BDE only works if you make the Board Description/Save it, open it back up select the device family, exit the BDE, de-select it in SOPC, RE-select it in SOPC and it may generate without errors (from what they tell me).