Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
769 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
25 Views

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
Honored Contributor I
25 Views

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