Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-hdl
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
white-rabbit
wr-switch-hdl
Commits
55d9ed75
Commit
55d9ed75
authored
Jan 22, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added shared WR types package
parent
f3069ac7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
70 deletions
+28
-70
wrsw_shared_types_pkg.vhd
modules/wrsw_shared_types_pkg.vhd
+28
-0
ad9516_regs.h
rt/dev/ad9516_regs.h
+0
-70
No files found.
modules/wrsw_shared_types_pkg.vhd
0 → 100644
View file @
55d9ed75
library
ieee
;
use
ieee
.
STD_LOGIC_1164
.
all
;
package
wrsw_shared_types_pkg
is
constant
c_RTU_MAX_PORTS
:
integer
:
=
64
;
type
t_rtu_request
is
record
valid
:
std_logic
;
smac
:
std_logic_vector
(
47
downto
0
);
dmac
:
std_logic_vector
(
47
downto
0
);
vid
:
std_logic_vector
(
11
downto
0
);
has_vid
:
std_logic
;
prio
:
std_logic_vector
(
2
downto
0
);
has_prio
:
std_logic
;
end
record
;
type
t_rtu_response
is
record
valid
:
std_logic
;
port_mask
:
std_logic_vector
(
c_RTU_MAX_PORTS
-1
downto
0
);
prio
:
std_logic_vector
(
2
downto
0
);
drop
:
std_logic
;
end
record
;
type
t_rtu_request_array
is
array
(
integer
range
<>
)
of
t_rtu_request
;
type
t_rtu_response_array
is
array
(
integer
range
<>
)
of
t_rtu_response
;
end
wrsw_shared_types_pkg
;
rt/dev/ad9516_regs.h
deleted
100644 → 0
View file @
f3069ac7
const
struct
{
int
reg
;
uint8_t
val
}
ad9516_regs
[]
=
{
{
0x0000
,
0x99
},
{
0x0001
,
0x00
},
{
0x0002
,
0x10
},
{
0x0003
,
0xC3
},
{
0x0004
,
0x00
},
{
0x0010
,
0x7C
},
{
0x0011
,
0x01
},
{
0x0012
,
0x00
},
{
0x0013
,
0x04
},
{
0x0014
,
0x07
},
{
0x0015
,
0x00
},
{
0x0016
,
0x04
},
{
0x0017
,
0x00
},
{
0x0018
,
0x07
},
{
0x0019
,
0x00
},
{
0x001A
,
0x00
},
{
0x001B
,
0x00
},
{
0x001C
,
0x02
},
{
0x001D
,
0x00
},
{
0x001E
,
0x00
},
{
0x001F
,
0x0E
},
{
0x00A0
,
0x01
},
{
0x00A1
,
0x00
},
{
0x00A2
,
0x00
},
{
0x00A3
,
0x01
},
{
0x00A4
,
0x00
},
{
0x00A5
,
0x00
},
{
0x00A6
,
0x01
},
{
0x00A7
,
0x00
},
{
0x00A8
,
0x00
},
{
0x00A9
,
0x01
},
{
0x00AA
,
0x00
},
{
0x00AB
,
0x00
},
{
0x00F0
,
0x0A
},
{
0x00F1
,
0x0A
},
{
0x00F2
,
0x0A
},
{
0x00F3
,
0x0A
},
{
0x00F4
,
0x08
},
{
0x00F5
,
0x0A
},
{
0x0140
,
0x43
},
{
0x0141
,
0x43
},
{
0x0142
,
0x43
},
{
0x0143
,
0x43
},
{
0x0190
,
0x00
},
{
0x0191
,
0x80
},
{
0x0192
,
0x00
},
{
0x0193
,
0xBB
},
{
0x0194
,
0x00
},
{
0x0195
,
0x00
},
{
0x0196
,
0x00
},
{
0x0197
,
0x00
},
{
0x0198
,
0x00
},
{
0x0199
,
0x22
},
{
0x019A
,
0x00
},
{
0x019B
,
0x11
},
{
0x019C
,
0x00
},
{
0x019D
,
0x00
},
{
0x019E
,
0x22
},
{
0x019F
,
0x00
},
{
0x01A0
,
0x11
},
{
0x01A1
,
0x00
},
{
0x01A2
,
0x00
},
{
0x01A3
,
0x00
},
{
0x01E0
,
0x04
},
{
0x01E1
,
0x02
},
{
0x0230
,
0x00
},
{
0x0231
,
0x00
},
{
0x0232
,
0x00
},
{
-
1
,
0
}};
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