Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wrpc-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
hdl-core-lib
wr-cores
wrpc-sw
Commits
2f91dafd
Commit
2f91dafd
authored
11 years ago
by
Tomasz Wlostowski
Browse files
Options
Downloads
Patches
Plain Diff
softpll: sync up register definitions with the multichannel SPLL HDL
parent
f132291c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
softpll/hw/softpll_regs.h
+31
-21
31 additions, 21 deletions
softpll/hw/softpll_regs.h
with
31 additions
and
21 deletions
softpll/hw/softpll_regs.h
+
31
−
21
View file @
2f91dafd
...
...
@@ -3,7 +3,7 @@
* File : softpll_regs.h
* Author : auto-generated by wbgen2 from spll_wb_slave.wb
* Created :
Wed Mar 20 14:50:14
2013
* Created :
Thu Jul 25 11:14:53
2013
* Standard : ANSI C
THIS FILE WAS GENERATED BY wbgen2 FROM SOURCE FILE spll_wb_slave.wb
...
...
@@ -33,20 +33,26 @@
/* definitions for register: SPLL Control/Status Register */
/* definitions for field: Unused (kept for software compatibility). in reg: SPLL Control/Status Register */
#define SPLL_CSR_UNUSED0_MASK WBGEN2_GEN_MASK(0, 6)
#define SPLL_CSR_UNUSED0_SHIFT 0
#define SPLL_CSR_UNUSED0_W(value) WBGEN2_GEN_WRITE(value, 0, 6)
#define SPLL_CSR_UNUSED0_R(reg) WBGEN2_GEN_READ(reg, 0, 6)
/* definitions for field: Number of reference channels (max: 32) in reg: SPLL Control/Status Register */
#define SPLL_CSR_N_REF_MASK WBGEN2_GEN_MASK(
0
, 6)
#define SPLL_CSR_N_REF_SHIFT
0
#define SPLL_CSR_N_REF_W(value) WBGEN2_GEN_WRITE(value,
0
, 6)
#define SPLL_CSR_N_REF_R(reg) WBGEN2_GEN_READ(reg,
0
, 6)
#define SPLL_CSR_N_REF_MASK WBGEN2_GEN_MASK(
8
, 6)
#define SPLL_CSR_N_REF_SHIFT
8
#define SPLL_CSR_N_REF_W(value) WBGEN2_GEN_WRITE(value,
8
, 6)
#define SPLL_CSR_N_REF_R(reg) WBGEN2_GEN_READ(reg,
8
, 6)
/* definitions for field: Number of output channels (max: 8) in reg: SPLL Control/Status Register */
#define SPLL_CSR_N_OUT_MASK WBGEN2_GEN_MASK(
8
, 3)
#define SPLL_CSR_N_OUT_SHIFT
8
#define SPLL_CSR_N_OUT_W(value) WBGEN2_GEN_WRITE(value,
8
, 3)
#define SPLL_CSR_N_OUT_R(reg) WBGEN2_GEN_READ(reg,
8
, 3)
#define SPLL_CSR_N_OUT_MASK WBGEN2_GEN_MASK(
16
, 3)
#define SPLL_CSR_N_OUT_SHIFT
16
#define SPLL_CSR_N_OUT_W(value) WBGEN2_GEN_WRITE(value,
16
, 3)
#define SPLL_CSR_N_OUT_R(reg) WBGEN2_GEN_READ(reg,
16
, 3)
/* definitions for field: Debug queue supported in reg: SPLL Control/Status Register */
#define SPLL_CSR_DBG_SUPPORTED WBGEN2_GEN_MASK(1
1
, 1)
#define SPLL_CSR_DBG_SUPPORTED WBGEN2_GEN_MASK(1
9
, 1)
/* definitions for register: External Clock Control Register */
...
...
@@ -228,28 +234,32 @@ PACKED struct SPLL_WB {
uint32_t
CSR
;
/* [0x4]: REG External Clock Control Register */
uint32_t
ECCR
;
/* [0x8]: REG Output Channel Control Register */
/* padding to: 4 words */
uint32_t
__padding_0
[
2
];
/* [0x10]: REG Output Channel Control Register */
uint32_t
OCCR
;
/* [0x
c
]: REG Reference Channel Tagging Enable Register */
/* [0x
14
]: REG Reference Channel Tagging Enable Register */
uint32_t
RCER
;
/* [0x1
0
]: REG Output Channel Tagging Enable Register */
/* [0x1
8
]: REG Output Channel Tagging Enable Register */
uint32_t
OCER
;
/* [0x14]: REG Helper DAC Output */
/* padding to: 8 words */
uint32_t
__padding_1
[
1
];
/* [0x20]: REG Helper DAC Output */
uint32_t
DAC_HPLL
;
/* [0x
18
]: REG Main DAC Output */
/* [0x
24
]: REG Main DAC Output */
uint32_t
DAC_MAIN
;
/* [0x
1c
]: REG DDMTD Deglitcher threshold */
/* [0x
28
]: REG DDMTD Deglitcher threshold */
uint32_t
DEGLITCH_THR
;
/* [0x2
0
]: REG Debug FIFO Register - SPLL side */
/* [0x2
c
]: REG Debug FIFO Register - SPLL side */
uint32_t
DFR_SPLL
;
/* [0x
24
]: REG Counter Resync Register - input channels */
/* [0x
30
]: REG Counter Resync Register - input channels */
uint32_t
CRR_IN
;
/* [0x
28
]: REG Counter Resync Register - output channels */
/* [0x
34
]: REG Counter Resync Register - output channels */
uint32_t
CRR_OUT
;
/* [0x
2c
]: REG Aux clock configuration register */
/* [0x
38
]: REG Aux clock configuration register */
uint32_t
AUX_CR
;
/* padding to: 16 words */
uint32_t
__padding_
0
[
4
];
uint32_t
__padding_
2
[
1
];
/* [0x40]: REG Interrupt disable register */
uint32_t
EIC_IDR
;
/* [0x44]: REG Interrupt enable register */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment