Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marc Solé Bonet
XOHW_GRLIB_AI_extension
Commits
7e7a3828
Commit
7e7a3828
authored
May 04, 2021
by
Marc
Browse files
added SIMD version message at the start of the simulation
parent
d00a16af
Changes
2
Hide whitespace changes
Inline
Side-by-side
grlib/lib/marcmod/simd/simd.vhd
View file @
7e7a3828
...
@@ -546,6 +546,16 @@ begin
...
@@ -546,6 +546,16 @@ begin
end
if
;
end
if
;
end
process
;
end
process
;
---------------------------------------------------------------
-- PRINT SIMD VERSION --
--------------------------------------------------------------
x
:
process
begin
wait
for
5
*
1
ns
;
print
(
"AI SIMD version: "
&
simd_version
);
wait
;
end
process
;
end
;
end
;
grlib/lib/marcmod/simd/simdmod.vhd
View file @
7e7a3828
...
@@ -5,6 +5,7 @@ use grlib.stdlib.all;
...
@@ -5,6 +5,7 @@ use grlib.stdlib.all;
package
simdmod
is
package
simdmod
is
constant
simd_version
:
string
:
=
"v1.1"
;
constant
XLEN
:
integer
:
=
32
;
--CFG_XLEN;
constant
XLEN
:
integer
:
=
32
;
--CFG_XLEN;
constant
VLEN
:
integer
:
=
8
;
--CFG_VLEN;
constant
VLEN
:
integer
:
=
8
;
--CFG_VLEN;
constant
LOGSZ
:
integer
:
=
2
;
-- CFG_LOGSZ;
constant
LOGSZ
:
integer
:
=
2
;
-- CFG_LOGSZ;
...
...
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