#! /bin/bash
proj_name=spec7_write_top
lm32_wrpc_elf=../../../sw/precompiled/wrps-sw_spec7/wrc.elf
lm32_wrpc_instpath=lm32_wrpc_memory
/opt/Xilinx/Vivado/2019.2/bin/updatemem -meminfo ./${proj_name}.mmi -data ${lm32_wrpc_elf} -bit ./work/${proj_name}.runs/impl_1/${proj_name}.bit -proc ${lm32_wrpc_instpath} -out ./work/${proj_name}.runs/impl_1/${proj_name}_elf.bit -force 
