Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cMIPS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Strozzi
cMIPS
Commits
bad1beaa
Commit
bad1beaa
authored
9 years ago
by
Roberto Hexsel
Browse files
Options
Downloads
Patches
Plain Diff
fixed problem in edMemory.sh
parent
dcbde67c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
cMIPS/bin/build.sh
+2
-1
2 additions, 1 deletion
cMIPS/bin/build.sh
cMIPS/bin/edMemory.sh
+4
-1
4 additions, 1 deletion
cMIPS/bin/edMemory.sh
cMIPS/tests/mmu_tlbwi.s
+1
-1
1 addition, 1 deletion
cMIPS/tests/mmu_tlbwi.s
cMIPS/vhdl/packageMemory.vhd
+2
-2
2 additions, 2 deletions
cMIPS/vhdl/packageMemory.vhd
with
9 additions
and
5 deletions
cMIPS/bin/build.sh
+
2
−
1
View file @
bad1beaa
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
cMIPS/bin/edMemory.sh
+
4
−
1
View file @
bad1beaa
...
...
@@ -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
}
"
~
...
...
This diff is collapsed.
Click to expand it.
cMIPS/tests/mmu_tlbwi.s
+
1
−
1
View file @
bad1beaa
...
...
@@ -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
#
4
Kbyte
pages
.
set
TAG_G
,
0x00000000
#
mark
pages
as
global
.
set
TAG_G
,
0x00000000
#
mark
pages
as
non
-
global
#
read
from
MMU
(
6
)
...
...
This diff is collapsed.
Click to expand it.
cMIPS/vhdl/packageMemory.vhd
+
2
−
2
View file @
bad1beaa
...
...
@@ -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"000
4
0000"
;
constant
x_DATA_MEM_SZ
:
reg32
:
=
x"0000
4
000"
;
constant
x_DATA_BASE_ADDR
:
reg32
:
=
x"000
1
0000"
;
constant
x_DATA_MEM_SZ
:
reg32
:
=
x"0000
8
000"
;
constant
x_IO_BASE_ADDR
:
reg32
:
=
x"0F000000"
;
constant
x_IO_MEM_SZ
:
reg32
:
=
x"00002000"
;
constant
x_IO_ADDR_RANGE
:
reg32
:
=
x"00000020"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment