Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
conv-common-gw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
level-conversion
conv-common-gw
Commits
9b832b6a
Commit
9b832b6a
authored
Sep 26, 2017
by
Denia Bouhired-Ferrag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbgen2 generated files with new register names (no change to memory map
parent
0f499dc4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
609 additions
and
605 deletions
+609
-605
conv_regs.h
modules/conv_regs.h
+113
-109
conv_regs.htm
modules/conv_regs.htm
+228
-228
conv_regs.tex
modules/conv_regs.tex
+132
-132
conv_regs.vhd
modules/conv_regs.vhd
+136
-136
No files found.
modules/conv_regs.h
View file @
9b832b6a
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
Register definitions for slave core: Converter board registers
Register definitions for slave core: Converter board registers
* File : conv_regs.h
* File : conv_regs.h
* Author : auto-generated by wbgen2 from conv_regs.wb
* Author : auto-generated by wbgen2 from
.\
conv_regs.wb
* Created : 0
2/06/17 15:05:15
* Created : 0
9/26/17 10:50:26
* Standard : ANSI C
* Standard : ANSI C
THIS FILE WAS GENERATED BY wbgen2 FROM SOURCE FILE conv_regs.wb
THIS FILE WAS GENERATED BY wbgen2 FROM SOURCE FILE
.\
conv_regs.wb
DO NOT HAND-EDIT UNLESS IT'S ABSOLUTELY NECESSARY!
DO NOT HAND-EDIT UNLESS IT'S ABSOLUTELY NECESSARY!
*/
*/
#ifndef __WBGEN2_REGDEFS_CONV_REGS_WB
#ifndef __WBGEN2_REGDEFS_
_\
CONV_REGS_WB
#define __WBGEN2_REGDEFS_CONV_REGS_WB
#define __WBGEN2_REGDEFS_
_\
CONV_REGS_WB
#include <inttypes.h>
#include <inttypes.h>
...
@@ -96,29 +96,29 @@
...
@@ -96,29 +96,29 @@
#define REG_CR_MPT_W(value) WBGEN2_GEN_WRITE(value, 2, 8)
#define REG_CR_MPT_W(value) WBGEN2_GEN_WRITE(value, 2, 8)
#define REG_CR_MPT_R(reg) WBGEN2_GEN_READ(reg, 2, 8)
#define REG_CR_MPT_R(reg) WBGEN2_GEN_READ(reg, 2, 8)
/* definitions for register: CH1
TTL
PCR */
/* definitions for register: CH1
FP
PCR */
/* definitions for register: CH2
TTL
PCR */
/* definitions for register: CH2
FP
PCR */
/* definitions for register: CH3
TTL
PCR */
/* definitions for register: CH3
FP
PCR */
/* definitions for register: CH4
TTL
PCR */
/* definitions for register: CH4
FP
PCR */
/* definitions for register: CH5
TTL
PCR */
/* definitions for register: CH5
FP
PCR */
/* definitions for register: CH6
TTL
PCR */
/* definitions for register: CH6
FP
PCR */
/* definitions for register: CH1
BLO
PCR */
/* definitions for register: CH1
RP
PCR */
/* definitions for register: CH2
BLO
PCR */
/* definitions for register: CH2
RP
PCR */
/* definitions for register: CH3
BLO
PCR */
/* definitions for register: CH3
RP
PCR */
/* definitions for register: CH4
BLO
PCR */
/* definitions for register: CH4
RP
PCR */
/* definitions for register: CH5
BLO
PCR */
/* definitions for register: CH5
RP
PCR */
/* definitions for register: CH6
BLO
PCR */
/* definitions for register: CH6
RP
PCR */
/* definitions for register: TVLR */
/* definitions for register: TVLR */
...
@@ -299,96 +299,100 @@
...
@@ -299,96 +299,100 @@
/* definitions for register: UIDHR */
/* definitions for register: UIDHR */
/* definitions for register: TEMPR */
/* definitions for register: TEMPR */
/* [0x0]: REG BIDR */
#define REG_REG_BIDR 0x00000000
PACKED
struct
REG_WB
{
/* [0x4]: REG SR */
/* [0x0]: REG BIDR */
#define REG_REG_SR 0x00000004
uint32_t
BIDR
;
/* [0x8]: REG ERR */
/* [0x4]: REG SR */
#define REG_REG_ERR 0x00000008
uint32_t
SR
;
/* [0xc]: REG CR */
/* [0x8]: REG ERR */
#define REG_REG_CR 0x0000000c
uint32_t
ERR
;
/* [0x10]: REG CH1TTLPCR */
/* [0xc]: REG CR */
#define REG_REG_CH1TTLPCR 0x00000010
uint32_t
CR
;
/* [0x14]: REG CH2TTLPCR */
/* [0x10]: REG CH1FPPCR */
#define REG_REG_CH2TTLPCR 0x00000014
uint32_t
CH1FPPCR
;
/* [0x18]: REG CH3TTLPCR */
/* [0x14]: REG CH2FPPCR */
#define REG_REG_CH3TTLPCR 0x00000018
uint32_t
CH2FPPCR
;
/* [0x1c]: REG CH4TTLPCR */
/* [0x18]: REG CH3FPPCR */
#define REG_REG_CH4TTLPCR 0x0000001c
uint32_t
CH3FPPCR
;
/* [0x20]: REG CH5TTLPCR */
/* [0x1c]: REG CH4FPPCR */
#define REG_REG_CH5TTLPCR 0x00000020
uint32_t
CH4FPPCR
;
/* [0x24]: REG CH6TTLPCR */
/* [0x20]: REG CH5FPPCR */
#define REG_REG_CH6TTLPCR 0x00000024
uint32_t
CH5FPPCR
;
/* [0x28]: REG CH1BLOPCR */
/* [0x24]: REG CH6FPPCR */
#define REG_REG_CH1BLOPCR 0x00000028
uint32_t
CH6FPPCR
;
/* [0x2c]: REG CH2BLOPCR */
/* [0x28]: REG CH1RPPCR */
#define REG_REG_CH2BLOPCR 0x0000002c
uint32_t
CH1RPPCR
;
/* [0x30]: REG CH3BLOPCR */
/* [0x2c]: REG CH2RPPCR */
#define REG_REG_CH3BLOPCR 0x00000030
uint32_t
CH2RPPCR
;
/* [0x34]: REG CH4BLOPCR */
/* [0x30]: REG CH3RPPCR */
#define REG_REG_CH4BLOPCR 0x00000034
uint32_t
CH3RPPCR
;
/* [0x38]: REG CH5BLOPCR */
/* [0x34]: REG CH4RPPCR */
#define REG_REG_CH5BLOPCR 0x00000038
uint32_t
CH4RPPCR
;
/* [0x3c]: REG CH6BLOPCR */
/* [0x38]: REG CH5RPPCR */
#define REG_REG_CH6BLOPCR 0x0000003c
uint32_t
CH5RPPCR
;
/* [0x40]: REG TVLR */
/* [0x3c]: REG CH6RPPCR */
#define REG_REG_TVLR 0x00000040
uint32_t
CH6RPPCR
;
/* [0x44]: REG TVHR */
/* [0x40]: REG TVLR */
#define REG_REG_TVHR 0x00000044
uint32_t
TVLR
;
/* [0x48]: REG TBMR */
/* [0x44]: REG TVHR */
#define REG_REG_TBMR 0x00000048
uint32_t
TVHR
;
/* [0x4c]: REG TBCYR */
/* [0x48]: REG TBMR */
#define REG_REG_TBCYR 0x0000004c
uint32_t
TBMR
;
/* [0x50]: REG TBTLR */
/* [0x4c]: REG TBCYR */
#define REG_REG_TBTLR 0x00000050
uint32_t
TBCYR
;
/* [0x54]: REG TBTHR */
/* [0x50]: REG TBTLR */
#define REG_REG_TBTHR 0x00000054
uint32_t
TBTLR
;
/* [0x58]: REG TBCSR */
/* [0x54]: REG TBTHR */
#define REG_REG_TBCSR 0x00000058
uint32_t
TBTHR
;
/* [0x5c]: REG CH1LTSCYR */
/* [0x58]: REG TBCSR */
#define REG_REG_CH1LTSCYR 0x0000005c
uint32_t
TBCSR
;
/* [0x60]: REG CH1LTSTLR */
/* [0x5c]: REG CH1LTSCYR */
#define REG_REG_CH1LTSTLR 0x00000060
uint32_t
CH1LTSCYR
;
/* [0x64]: REG CH1LTSTHR */
/* [0x60]: REG CH1LTSTLR */
#define REG_REG_CH1LTSTHR 0x00000064
uint32_t
CH1LTSTLR
;
/* [0x68]: REG CH2LTSCYR */
/* [0x64]: REG CH1LTSTHR */
#define REG_REG_CH2LTSCYR 0x00000068
uint32_t
CH1LTSTHR
;
/* [0x6c]: REG CH2LTSTLR */
/* [0x68]: REG CH2LTSCYR */
#define REG_REG_CH2LTSTLR 0x0000006c
uint32_t
CH2LTSCYR
;
/* [0x70]: REG CH2LTSTHR */
/* [0x6c]: REG CH2LTSTLR */
#define REG_REG_CH2LTSTHR 0x00000070
uint32_t
CH2LTSTLR
;
/* [0x74]: REG CH3LTSCYR */
/* [0x70]: REG CH2LTSTHR */
#define REG_REG_CH3LTSCYR 0x00000074
uint32_t
CH2LTSTHR
;
/* [0x78]: REG CH3LTSTLR */
/* [0x74]: REG CH3LTSCYR */
#define REG_REG_CH3LTSTLR 0x00000078
uint32_t
CH3LTSCYR
;
/* [0x7c]: REG CH3LTSTHR */
/* [0x78]: REG CH3LTSTLR */
#define REG_REG_CH3LTSTHR 0x0000007c
uint32_t
CH3LTSTLR
;
/* [0x80]: REG CH4LTSCYR */
/* [0x7c]: REG CH3LTSTHR */
#define REG_REG_CH4LTSCYR 0x00000080
uint32_t
CH3LTSTHR
;
/* [0x84]: REG CH4LTSTLR */
/* [0x80]: REG CH4LTSCYR */
#define REG_REG_CH4LTSTLR 0x00000084
uint32_t
CH4LTSCYR
;
/* [0x88]: REG CH4LTSTHR */
/* [0x84]: REG CH4LTSTLR */
#define REG_REG_CH4LTSTHR 0x00000088
uint32_t
CH4LTSTLR
;
/* [0x8c]: REG CH5LTSCYR */
/* [0x88]: REG CH4LTSTHR */
#define REG_REG_CH5LTSCYR 0x0000008c
uint32_t
CH4LTSTHR
;
/* [0x90]: REG CH5LTSTLR */
/* [0x8c]: REG CH5LTSCYR */
#define REG_REG_CH5LTSTLR 0x00000090
uint32_t
CH5LTSCYR
;
/* [0x94]: REG CH5LTSTHR */
/* [0x90]: REG CH5LTSTLR */
#define REG_REG_CH5LTSTHR 0x00000094
uint32_t
CH5LTSTLR
;
/* [0x98]: REG CH6LTSCYR */
/* [0x94]: REG CH5LTSTHR */
#define REG_REG_CH6LTSCYR 0x00000098
uint32_t
CH5LTSTHR
;
/* [0x9c]: REG CH6LTSTLR */
/* [0x98]: REG CH6LTSCYR */
#define REG_REG_CH6LTSTLR 0x0000009c
uint32_t
CH6LTSCYR
;
/* [0xa0]: REG CH6LTSTHR */
/* [0x9c]: REG CH6LTSTLR */
#define REG_REG_CH6LTSTHR 0x000000a0
uint32_t
CH6LTSTLR
;
/* [0xa4]: REG LSR */
/* [0xa0]: REG CH6LTSTHR */
#define REG_REG_LSR 0x000000a4
uint32_t
CH6LTSTHR
;
/* [0xa8]: REG OSWR */
/* [0xa4]: REG LSR */
#define REG_REG_OSWR 0x000000a8
uint32_t
LSR
;
/* [0xac]: REG UIDLR */
/* [0xa8]: REG OSWR */
#define REG_REG_UIDLR 0x000000ac
uint32_t
OSWR
;
/* [0xb0]: REG UIDHR */
/* [0xac]: REG UIDLR */
#define REG_REG_UIDHR 0x000000b0
uint32_t
UIDLR
;
/* [0xb4]: REG TEMPR */
/* [0xb0]: REG UIDHR */
#define REG_REG_TEMPR 0x000000b4
uint32_t
UIDHR
;
/* [0xb4]: REG TEMPR */
uint32_t
TEMPR
;
};
#endif
#endif
modules/conv_regs.htm
View file @
9b832b6a
This diff is collapsed.
Click to expand it.
modules/conv_regs.tex
View file @
9b832b6a
This diff is collapsed.
Click to expand it.
modules/conv_regs.vhd
View file @
9b832b6a
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