Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TDC core
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
TDC core
Commits
b4ea135f
Commit
b4ea135f
authored
Aug 26, 2011
by
Sebastien Bourdeauducq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hostif: complete, untested
parent
9d6b7c7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
391 additions
and
0 deletions
+391
-0
genconn.py
hostif/genconn.py
+15
-0
tdc_hostif.vhd
hostif/tdc_hostif.vhd
+376
-0
No files found.
hostif/genconn.py
0 → 100755
View file @
b4ea135f
#!/usr/bin/python
nchan
=
30
for
i
in
range
(
0
,
nchan
):
print
"tdc_desh
%
d_o => wbg_des(
%
d downto
%
d),"
%
(
i
,
i
*
64
+
63
,
i
*
64
+
32
)
print
"tdc_desl
%
d_o => wbg_des(
%
d downto
%
d),"
%
(
i
,
i
*
64
+
31
,
i
*
64
)
for
i
in
range
(
0
,
nchan
):
print
"tdc_raw
%
d_i => wbg_raw(
%
d downto
%
d),"
%
(
i
,
i
*
32
+
31
,
i
*
32
)
print
"tdc_mesh
%
d_i => wbg_mes(
%
d downto
%
d),"
%
(
i
,
i
*
64
+
63
,
i
*
64
+
32
)
print
"tdc_mesl
%
d_i => wbg_mes(
%
d downto
%
d),"
%
(
i
,
i
*
64
+
31
,
i
*
64
)
for
i
in
range
(
0
,
nchan
):
print
"irq_ie
%
d_i => wbg_ie(
%
d),"
%
(
i
,
i
)
hostif/tdc_hostif.vhd
0 → 100644
View file @
b4ea135f
This diff is collapsed.
Click to expand it.
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