BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
5fb274f
Branches
Tags
master
mips_sys
memory_maps
check.sh
infrastructure to change SW without re-synthesizing
Stefan Schuermans
commited
5fb274f
at 2012-03-25 02:16:26
check.sh
Blame
History
Raw
#! /bin/bash cd "$(dirname "$0")" DATA2MEM="/opt/Xilinx/13.4/ISE_DS/ISE/bin/lin64/data2mem" cd .. ERR=0 "$DATA2MEM" \ -bm memory_maps/mips_sys_bd.bmm \ -bt e_system.bit \ -d >e_system.bit.txt "$DATA2MEM" \ -bm memory_maps/mips_sys_bd.bmm \ -bt e_system.bit \ -bd fw/rom.bin tag rom \ -o b changed_rom.bit "$DATA2MEM" \ -bm memory_maps/mips_sys_bd.bmm \ -bt changed_rom.bit \ -d >changed_rom.bit.txt N=$(diff e_system.bit.txt changed_rom.bit.txt | wc -l) if (($N > 12)) then echo "ROM failed" >&2 ERR=1 fi "$DATA2MEM" \ -bm memory_maps/mips_sys_bd.bmm \ -bt e_system.bit \ -bd fw/ram.bin tag ram \ -o b changed_ram.bit "$DATA2MEM" \ -bm memory_maps/mips_sys_bd.bmm \ -bt changed_ram.bit \ -d >changed_ram.bit.txt N=$(diff e_system.bit.txt changed_ram.bit.txt | wc -l) if (($N > 12)) then echo "RAM failed" >&2 ERR=1 fi exit $ERR