Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
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
FMC ADC 100M 14b 4cha - Gateware
Commits
0bf73130
Commit
0bf73130
authored
Dec 19, 2018
by
Tristan Gingold
Committed by
Dimitris Lampridis
Jan 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alt_trigin/alt_trigout: commit cheby generated files.
parent
79770e81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1071 additions
and
0 deletions
+1071
-0
fmc_adc_alt_trigin.h
hdl/rtl/wb_gen/fmc_adc_alt_trigin.h
+32
-0
fmc_adc_alt_trigin.html
hdl/rtl/wb_gen/fmc_adc_alt_trigin.html
+451
-0
fmc_adc_alt_trigout.h
hdl/rtl/wb_gen/fmc_adc_alt_trigout.h
+48
-0
fmc_adc_alt_trigout.html
hdl/rtl/wb_gen/fmc_adc_alt_trigout.html
+540
-0
No files found.
hdl/rtl/wb_gen/fmc_adc_alt_trigin.h
0 → 100644
View file @
0bf73130
#ifndef __CHEBY__ALT_TRIGIN__H__
#define __CHEBY__ALT_TRIGIN__H__
/* Core version */
#define ALT_TRIGIN_VERSION 0x0UL
#define ALT_TRIGIN_VERSION_PRESET 0xadc10001UL
/* Control register */
#define ALT_TRIGIN_CTRL 0x4UL
#define ALT_TRIGIN_CTRL_ENABLE 0x1UL
/* Time (seconds) to trigger */
#define ALT_TRIGIN_SECONDS 0x8UL
/* Time (cycles) to trigger */
#define ALT_TRIGIN_CYCLES 0x10UL
struct
alt_trigin
{
/* [0x0]: REG (ro) Core version */
uint32_t
version
;
/* [0x4]: REG (rw) Control register */
uint32_t
ctrl
;
/* [0x8]: REG (rw) Time (seconds) to trigger */
uint64_t
seconds
;
/* [0x10]: REG (rw) Time (cycles) to trigger */
uint32_t
cycles
;
};
#endif
/* __CHEBY__ALT_TRIGIN__H__ */
hdl/rtl/wb_gen/fmc_adc_alt_trigin.html
0 → 100644
View file @
0bf73130
This diff is collapsed.
Click to expand it.
hdl/rtl/wb_gen/fmc_adc_alt_trigout.h
0 → 100644
View file @
0bf73130
#ifndef __CHEBY__ALT_TRIGOUT__H__
#define __CHEBY__ALT_TRIGOUT__H__
/* Status register */
#define ALT_TRIGOUT_STATUS 0x0UL
#define ALT_TRIGOUT_WR_ENABLE 0x1UL
#define ALT_TRIGOUT_WR_LINK 0x2UL
#define ALT_TRIGOUT_WR_VALID 0x4UL
#define ALT_TRIGOUT_TS_PRESENT 0x100UL
/* Enable register */
#define ALT_TRIGOUT_ENABLE 0x4UL
#define ALT_TRIGOUT_CH1_ENABLE 0x1UL
#define ALT_TRIGOUT_CH2_ENABLE 0x2UL
#define ALT_TRIGOUT_CH3_ENABLE 0x4UL
#define ALT_TRIGOUT_CH4_ENABLE 0x8UL
#define ALT_TRIGOUT_EXT_ENABLE 0x100UL
/* Time (seconds) of the last event */
#define ALT_TRIGOUT_TS_MASK_SEC 0x8UL
#define ALT_TRIGOUT_TS_SEC_MASK 0xffffffffffULL
#define ALT_TRIGOUT_TS_SEC_SHIFT 0
#define ALT_TRIGOUT_CH1_MASK 0x1000000000000ULL
#define ALT_TRIGOUT_CH2_MASK 0x2000000000000ULL
#define ALT_TRIGOUT_CH3_MASK 0x4000000000000ULL
#define ALT_TRIGOUT_CH4_MASK 0x8000000000000ULL
#define ALT_TRIGOUT_EXT_MASK 0x100000000000000ULL
/* Cycles part of timestamp fifo. */
#define ALT_TRIGOUT_TS_CYCLES 0x10UL
#define ALT_TRIGOUT_CYCLES_MASK 0xfffffffUL
#define ALT_TRIGOUT_CYCLES_SHIFT 0
struct
alt_trigout
{
/* [0x0]: REG (ro) Status register */
uint32_t
status
;
/* [0x4]: REG (rw) Enable register */
uint32_t
enable
;
/* [0x8]: REG (ro) Time (seconds) of the last event */
uint64_t
ts_mask_sec
;
/* [0x10]: REG (ro) Cycles part of timestamp fifo. */
uint32_t
ts_cycles
;
};
#endif
/* __CHEBY__ALT_TRIGOUT__H__ */
hdl/rtl/wb_gen/fmc_adc_alt_trigout.html
0 → 100644
View file @
0bf73130
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