Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonathan Currier
litex
Commits
eb6fa458
Commit
eb6fa458
authored
5 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
cpu/vexriscv/core: update
parent
0cad80e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
litex/soc/cores/cpu/vexriscv/core.py
litex/soc/cores/cpu/vexriscv/core.py
+3
-3
No files found.
litex/soc/cores/cpu/vexriscv/core.py
View file @
eb6fa458
...
...
@@ -16,6 +16,7 @@ CPU_VARIANTS = {
"full"
:
"VexRiscv_Full"
,
"full+debug"
:
"VexRiscv_FullDebug"
,
"linux"
:
"VexRiscv_Linux"
,
"linux+debug"
:
"VexRiscv_LinuxDebug"
,
}
...
...
@@ -36,6 +37,7 @@ GCC_FLAGS = {
"full"
:
"-march=rv32im -mabi=ilp32"
,
"full+debug"
:
"-march=rv32im -mabi=ilp32"
,
"linux"
:
"-march=rv32ima -mabi=ilp32"
,
"linux+debug"
:
"-march=rv32ima -mabi=ilp32"
,
}
...
...
@@ -104,6 +106,7 @@ class VexRiscv(Module, AutoCSR):
i_externalResetVector
=
self
.
cpu_reset_address
,
i_externalInterruptArray
=
self
.
interrupt
,
i_timerInterrupt
=
0
,
i_softwareInterrupt
=
0
,
o_iBusWishbone_ADR
=
ibus
.
adr
,
o_iBusWishbone_DAT_MOSI
=
ibus
.
dat_w
,
...
...
@@ -130,9 +133,6 @@ class VexRiscv(Module, AutoCSR):
i_dBusWishbone_ERR
=
dbus
.
err
)
if
"linux"
in
variant
:
# Tie zero to prevent 1'bx here
self
.
cpu_params
[
"i_softwareInterrupt"
]
=
0
self
.
cpu_params
[
"i_externalInterruptS"
]
=
0
self
.
add_timer
()
if
"debug"
in
variant
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment