Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 2cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 2cha
Commits
9464d0e8
Commit
9464d0e8
authored
Feb 24, 2023
by
Tom Levens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Take version from sourceid
parent
a3dc2ea8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
FfpgPkg.vhd
hdl/ffpg/rtl/FfpgPkg.vhd
+0
-4
FfpgSlave.vhd
hdl/ffpg/rtl/FfpgSlave.vhd
+4
-3
No files found.
hdl/ffpg/rtl/FfpgPkg.vhd
View file @
9464d0e8
...
...
@@ -40,10 +40,6 @@ use work.wishbone_pkg.all;
package
FfpgPkg
is
constant
VersionMajor
:
natural
:
=
2
;
constant
VersionMinor
:
natural
:
=
0
;
constant
VersionRevision
:
natural
:
=
0
;
type
t_Ad5600Interface
is
record
FrameSynchronization_n
:
std_logic
;
SerialClock
:
std_logic
;
...
...
hdl/ffpg/rtl/FfpgSlave.vhd
View file @
9464d0e8
...
...
@@ -47,6 +47,7 @@ use ieee.numeric_std.all;
use
work
.
FfpgPkg
.
all
;
use
work
.
ffpg_wbgen2_pkg
.
all
;
use
work
.
wishbone_pkg
.
all
;
use
work
.
sourceid_svec_top_ffpg_pkg
;
entity
FfpgSlave
is
generic
(
...
...
@@ -398,8 +399,8 @@ begin
-- Version information
----------------------------------
WbRegsInput
.
version_major_i
<=
to_unsigned
(
VersionMajor
,
WbRegsInput
.
version_major_i
'length
);
WbRegsInput
.
version_minor_i
<=
to_unsigned
(
VersionMinor
,
WbRegsInput
.
version_minor_i
'length
);
WbRegsInput
.
version_revision_i
<=
to_unsigned
(
VersionRevision
,
WbRegsInput
.
version_revision_i
'length
);
WbRegsInput
.
version_major_i
<=
"00"
&
unsigned
(
sourceid_svec_top_ffpg_pkg
.
version
(
31
downto
24
)
);
WbRegsInput
.
version_minor_i
<=
"00"
&
unsigned
(
sourceid_svec_top_ffpg_pkg
.
version
(
23
downto
16
)
);
WbRegsInput
.
version_revision_i
<=
unsigned
(
sourceid_svec_top_ffpg_pkg
.
version
(
11
downto
0
)
);
end
architecture
;
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