Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
d70eafc6
Commit
d70eafc6
authored
May 12, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'ohwr/develop' into release/v1.4.12
parents
4a9afbe5
403bd9af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
Manifest.py
hdl/rtl/Manifest.py
+14
-1
spec_base_wr.vhd
hdl/rtl/spec_base_wr.vhd
+12
-2
No files found.
hdl/rtl/Manifest.py
View file @
d70eafc6
files
=
[
"spec_base_regs.vhd"
,
"spec_base_wr.vhd"
]
files
=
[
"spec_base_regs.vhd"
,
"spec_base_wr.vhd"
,
"sourceid_spec_base_pkg.vhd"
,
]
try
:
# Assume this module is in fact a git submodule of a main project that
# is in the same directory as general-cores...
exec
(
open
(
"../../../"
+
"/general-cores/tools/gen_sourceid.py"
)
.
read
(),
None
,
{
'project'
:
'spec_base'
})
except
Exception
as
e
:
print
(
"Error: cannot generate source id file"
)
raise
hdl/rtl/spec_base_wr.vhd
View file @
d70eafc6
...
@@ -36,6 +36,7 @@ use work.wr_spec_pkg.all;
...
@@ -36,6 +36,7 @@ use work.wr_spec_pkg.all;
use
work
.
buildinfo_pkg
.
all
;
use
work
.
buildinfo_pkg
.
all
;
use
work
.
wr_fabric_pkg
.
all
;
use
work
.
wr_fabric_pkg
.
all
;
use
work
.
streamers_pkg
.
all
;
use
work
.
streamers_pkg
.
all
;
use
work
.
sourceid_spec_base_pkg
;
library
unisim
;
library
unisim
;
use
unisim
.
vcomponents
.
all
;
use
unisim
.
vcomponents
.
all
;
...
@@ -599,9 +600,18 @@ begin -- architecture top
...
@@ -599,9 +600,18 @@ begin -- architecture top
when
x"3"
=>
when
x"3"
=>
-- BOM
-- BOM
metadata_data
<=
x"fffe0000"
;
metadata_data
<=
x"fffe0000"
;
when
x"4"
|
x"5"
|
x"6"
|
x"7"
=>
when
x"4"
=>
-- source id
-- source id
metadata_data
<=
x"00000000"
;
metadata_data
<=
sourceid_spec_base_pkg
.
sourceid
(
127
downto
96
);
when
x"5"
=>
-- source id
metadata_data
<=
sourceid_spec_base_pkg
.
sourceid
(
95
downto
64
);
when
x"6"
=>
-- source id
metadata_data
<=
sourceid_spec_base_pkg
.
sourceid
(
63
downto
32
);
when
x"7"
=>
-- source id
metadata_data
<=
sourceid_spec_base_pkg
.
sourceid
(
31
downto
0
);
when
x"8"
=>
when
x"8"
=>
-- capability mask
-- capability mask
metadata_data
<=
x"00000000"
;
metadata_data
<=
x"00000000"
;
...
...
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