Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
White Rabbit Trigger Distribution
Commits
9729516c
Commit
9729516c
authored
Jan 16, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd_builder.py: add spec
parent
913c1b3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrtd_builder.py
builder/wrtd_builder.py
+3
-3
No files found.
builder/wrtd_builder.py
View file @
9729516c
...
...
@@ -98,7 +98,7 @@ def build_mt_config(desc, res):
res
.
mt_config
=
cfg
BOARD_SLOTS
=
{
'svec'
:
[
0
,
1
]}
BOARD_SLOTS
=
{
'svec'
:
[
0
,
1
]
,
'spec'
:
[
0
]
}
def
maybe_mkdir
(
path
):
...
...
@@ -202,9 +202,9 @@ def generate_top_hdl(f):
m
=
layout_re
.
match
(
l
)
if
m
is
None
:
error
(
'badly formatted sdb-layout line "{}"'
.
format
(
l
))
nbr_slaves
+=
1
d
=
" constant {} : integer := {};
\n
"
.
format
(
d
=
" constant {} : integer := c_WB_SLAVE_BASE + {};
\n
"
.
format
(
m
.
group
(
1
),
nbr_slaves
)
nbr_slaves
+=
1
templates
[
'slaves_decl'
]
+=
d
top_template
=
open
(
os
.
path
.
join
(
data_dir
,
f
.
board
,
'top.vhd'
))
.
read
()
...
...
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