Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
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 ADC 100M 14b 4cha - Gateware
Commits
24bfb057
Commit
24bfb057
authored
Mar 07, 2013
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: Add sdb meta-info, fix sdb devices last addresses.
parent
49ea11d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
7 deletions
+51
-7
sdb_meta_pkg.vhd
hdl/spec/rtl/sdb_meta_pkg.vhd
+36
-0
spec_top_fmc_adc_100Ms.vhd
hdl/spec/rtl/spec_top_fmc_adc_100Ms.vhd
+15
-7
No files found.
hdl/spec/rtl/sdb_meta_pkg.vhd
0 → 100644
View file @
24bfb057
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
package
sdb_meta_pkg
is
------------------------------------------------------------------------------
-- Meta-information sdb records
------------------------------------------------------------------------------
-- Top module repository url (64 bytes)
constant
c_REPO_URL
:
t_sdb_repo_url
:
=
(
-- url (utf-8, 63 bytes)
repo_url
=>
"git://ohwr.org/fmc-projects/fmc-adc-100m14b4cha.git "
);
-- Synthesis informations (64 bytes)
constant
c_SYNTHESIS
:
t_sdb_synthesis
:
=
(
-- Top module name (utf-8, 16 bytes)
syn_module_name
=>
"spec_top_fmc_adc"
,
-- Commit ID (hex string, 128-bit = 32 char)
syn_commit_id
=>
"150b83db8fa9e0ff9050166b7695ee9a"
,
-- Synthesis tool name (utf-8, 8 bytes)
syn_tool_name
=>
"ISE "
,
-- Synthesis tool version (bcd encoded, 32-bit)
syn_tool_version
=>
x"00000133"
,
-- Synthesis date (bcd encoded, 32-bit)
syn_date
=>
x"20130307"
,
-- Synthesised by (utf-8, 15 bytes)
syn_username
=>
"mcattin "
);
end
sdb_meta_pkg
;
package
body
sdb_meta_pkg
is
end
sdb_meta_pkg
;
hdl/spec/rtl/spec_top_fmc_adc_100Ms.vhd
View file @
24bfb057
...
...
@@ -47,6 +47,7 @@ use work.ddr3_ctrl_pkg.all;
use
work
.
gencores_pkg
.
all
;
use
work
.
wishbone_pkg
.
all
;
use
work
.
fmc_adc_100Ms_core_pkg
.
all
;
use
work
.
sdb_meta_pkg
.
all
;
entity
spec_top_fmc_adc_100Ms
is
...
...
@@ -240,6 +241,12 @@ architecture rtl of spec_top_fmc_adc_100Ms is
-- WARNING: All address in sdb and crossbar are BYTE addresses!
------------------------------------------------------------------------------
-- Meta-information sdb records
constant
c_SDB_INFO
:
t_sdb_record_array
(
1
downto
0
)
:
=
(
0
=>
f_sdb_embed_repo_url
(
c_REPO_URL
),
1
=>
f_sdb_embed_synthesis
(
c_SYNTHESIS
)
);
-- Number of master port(s) on the wishbone crossbar
constant
c_NUM_WB_MASTERS
:
integer
:
=
10
;
...
...
@@ -270,7 +277,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"00000000000000
23
"
,
addr_last
=>
x"00000000000000
3F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000601"
,
...
...
@@ -302,7 +309,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"000000000000001
3
"
,
addr_last
=>
x"000000000000001
F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000603"
,
...
...
@@ -318,7 +325,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"00000000000000
43
"
,
addr_last
=>
x"00000000000000
7F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000604"
,
...
...
@@ -334,7 +341,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"000000000000000
B
"
,
addr_last
=>
x"000000000000000
F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000605"
,
...
...
@@ -350,7 +357,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"000000000000001
B
"
,
addr_last
=>
x"000000000000001
F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000606"
,
...
...
@@ -366,7 +373,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"000000000000001
B
"
,
addr_last
=>
x"000000000000001
F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000607"
,
...
...
@@ -382,7 +389,7 @@ architecture rtl of spec_top_fmc_adc_100Ms is
wbd_width
=>
x"4"
,
-- 32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"00000000000000
67
"
,
addr_last
=>
x"00000000000000
7F
"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"00000608"
,
...
...
@@ -723,6 +730,7 @@ begin
g_num_slaves
=>
c_NUM_WB_MASTERS
,
g_registered
=>
true
,
g_wraparound
=>
true
,
g_info
=>
c_SDB_INFO
,
g_layout
=>
c_INTERCONNECT_LAYOUT
,
g_sdb_addr
=>
c_SDB_ADDRESS
)
port
map
(
...
...
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