Forum Discussion

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

system console

hello,

I would use the master_write_memory command of the system console tool with the -format option to avoid byte-size transfers (as documented in the Quartus Prime v16.1 Standard Edition Handbook vol3, p. 1675) but the command generates an error. It works without the -format option for a byte transfer.

The master_read_memory command works fine with the -format option. Please find below the command used:

master_write_memory -format 32 $claim_path [expr $baseaddr + $ctrl] 1

(BaseAddr and Ctrl variables have been previously defined with a set command).

Thank you in advance for your help.

Thierry

2 Replies

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

    master_write_memory doesn't support the -format option. I have the Pro handbook open write now where table 61, page 1525 shows this. Just use master_write_16 or master_write_32 to write the size you want.

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

    thanks a lot for your quick reply. I will use the master_write_32 command.