Forum Discussion

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

Transceiver toolkit commands

Hi, I have a simple question about transceiver toolkit commands.

I want t use some commands such as transceier_channel_rx_get_data , transcever_channel_rx_get_dcgan... in tcl console window.

next to the command, I have to define argument <service-path>.

Can you explain this argument and give me an example?

Thanks.

12 Replies

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

    --- Quote Start ---

    I tried and succeed.

    However, ActiveTcl doesn't support transceiver toolkit commnad such as get_service_paths.

    I want to use transceiver toolkit to measure number of bits, errors, and BER and tcom to arrange them in xlsx file.

    How can I do it?

    --- Quote End ---

    Ok, this confirms that there is nothing wrong with the Tcl package that you are trying to use. However, it does confirm that SystemConsole tool is not "real" Tcl. It does not support various Tcl commands, Tk does not work, and its difficult to integrate 3rd party packages.

    Unfortunately, because you want to use the Transceiver Toolkit commands, that forces you to use SystemConsole. You will need to find a work-around. Rather than using .xlsx format from Tcl, just use a file with comma-separated fields or tab-separated fields, and then read that using Excel.

    An alternative work-around is to control SystemConsole via a socket. I wrote a client-server application in Tcl for this tutorial;

    http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial

    There is a version of the server that runs under SystemConsole. This allows you to execute any SystemConsole command from another client, eg., a C application or a Tcl/Tk application. Examples of clients are included.

    Cheers,

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

    Succeed! Thanks.

    I have another question.

    I used "siv_1ch_8b_1250mbps" among transceiver toolkit example files altera provides.

    And I want to use more channel than 1.

    And I tried "siv_4ch_10b_2500mbps".

    But In compilation, there are 2 errors.

    Error (12002): Port "xcvr_rx_serial_data_export" does not exist in macrofunction "link_test_sopc_sys_inst"

    Error (12002): Port "xcvr_tx_serial_data_export" does not exist in macrofunction "link_test_sopc_sys_inst"

    My quartus version is 13.1

    Do I have to "xcvr_rx_serial_data_export" connect other using Qsys?

    Can I solve this problem?

    Thanks.