Skip to content
Snippets Groups Projects
Commit bad1beaa authored by Roberto Hexsel's avatar Roberto Hexsel
Browse files

fixed problem in edMemory.sh

parent dcbde67c
Branches
No related tags found
No related merge requests found
......@@ -54,7 +54,8 @@ pkg_vhd="$srcVHDL/packageMemory.vhd"
if [ $pkg_vhd -nt $c_ld -o\
$pkg_vhd -nt $c_s -o\
$pkg_vhd -nt $c_h ] ; then
$pkg_vhd -nt $c_h -o\
! -f ${srcVHDL}/.last_import ] ; then
"${bin}"/edMemory.sh -v || errorED || exit 1
fi
......
......@@ -60,7 +60,10 @@ VARIABLES="x_INST_BASE_ADDR x_INST_MEM_SZ x_DATA_BASE_ADDR x_DATA_MEM_SZ x_IO_BA
EXCEPTION_VECTORS="x_EXCEPTION_0000 x_EXCEPTION_0100 x_EXCEPTION_0180 x_EXCEPTION_0200 x_EXCEPTION_BFC0 x_ENTRY_POINT"
if [ "${dfn}" -nt "${lnk}" ] || [ "${dfn}" -nt "${asm}" ] || [ "${dfn}" -nt "${hdr}" ] ;
if [ "${dfn}" -nt "${lnk}" ] ||\
[ "${dfn}" -nt "${asm}" ] ||\
[ "${dfn}" -nt "${hdr}" ] ||\
[ ! -f ${srcVHDL}/.last_include ] ;
then
cp "${asm}" "${asm}"~
......
......@@ -229,7 +229,7 @@ read3: tlbr # read TLB at index = 3
## test will break if MMU is initialized with different page #s
.set PAGE_SZ, 4096
.set TAG_MASK, 0xfffff000 # 4Kbyte pages
.set TAG_G, 0x00000000 # mark pages as global
.set TAG_G, 0x00000000 # mark pages as non-global
# read from MMU(6)
......
......@@ -42,8 +42,8 @@ package p_MEMORY is
-- you may change the values, not names neither formatting --
constant x_INST_BASE_ADDR : reg32 := x"00000000";
constant x_INST_MEM_SZ : reg32 := x"00004000";
constant x_DATA_BASE_ADDR : reg32 := x"00040000";
constant x_DATA_MEM_SZ : reg32 := x"00004000";
constant x_DATA_BASE_ADDR : reg32 := x"00010000";
constant x_DATA_MEM_SZ : reg32 := x"00008000";
constant x_IO_BASE_ADDR : reg32 := x"0F000000";
constant x_IO_MEM_SZ : reg32 := x"00002000";
constant x_IO_ADDR_RANGE : reg32 := x"00000020";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment