--- Quote Start ---
For master_write_32 $master_path [expr $base_reconfig + 0x40*4], can anybody tell me what *4 means exactly? Thanks
--- Quote End ---
Avalon-MM master addresses are 32-bits wide. The address map for the reconfiguration controller probably has the register offsets in words, i.e., the register located at 32-bit word offset 0x40 is located at byte offset 4*0x40.
If the address map for the reconfiguration controller is already in byte offsets, and the register you want to access is at byte-offset 0x40, then the 4* would be unnecessary.
Cheers,
Dave