Forum Discussion

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

get value from master_read_32

Hello evryone,

I am trying to do a GUI interface with tcl to load the .sof that I generated into the FPGA with tcl.

I want also in this tcl script read from a memory adress, get a value and put it into a label in the GUI interface.

I am using master_read_32 command to do this:

# set m_path [lindex [get_service_paths master] 0]

# open_service master $m_path

# master_read_32 $m_path 0x00000000 1

to read the 32 bit value.

My question is how can I save this value to put it into the label in the GUI interface!?

I am waiting for some help please.

Thanks a lot.

23 Replies