Forum Discussion

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

system console without target

Hi,

i'm writing a system console tcl script in order to debug my nios vhdl design.

Is there any way to test my script functionalities without target (fpga connected to usb-blaster)?

Any function as add_monitor_range or get_service_paths returns errors because there is no target connected.

If not, is there any way to simulate the presence of target?

Thanks.

2 Replies

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

    No, there is no way to connect system console to a simulation or otherwise fake having hardware.

    If hardware access is an issue, just buy a cheap board and put a dummy project on there to support your script development.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I've never done this with system_console, but in other environments, you can replace hardware related functions with software simulations. Check the system console documentation to see if there is a way to add additional code to override these functions..