wb_SinglePulseGenerator
Single Pulse Generator
Generates a pulse with adjustable delay and duration on a trigger (external or soft-trigger.
Contents:
1. Memory map summary
2. HDL symbol
3. Register description
3.1. Delay after trigger
3.2. Pulse duration
3.3. Pulse control
3.4. Pulse Status
→
|
rst_n_i
|
|
Delay after trigger:
|
|
→
|
wb_clk_i
|
|
wbpulse_delay_o[31:0]
|
⇒
|
⇒
|
wb_addr_i[1:0]
|
|
|
|
⇒
|
wb_data_i[31:0]
|
|
Pulse duration:
|
|
⇐
|
wb_data_o[31:0]
|
|
wbpulse_duration_o[31:0]
|
⇒
|
→
|
wb_cyc_i
|
|
|
|
⇒
|
wb_sel_i[3:0]
|
|
Pulse control:
|
|
→
|
wb_stb_i
|
|
wbpulse_control_enable_o
|
→
|
→
|
wb_we_i
|
|
wbpulse_control_reserved_o
|
→
|
←
|
wb_ack_o
|
|
wbpulse_control_stop_o
|
→
|
|
|
|
wbpulse_control_stop_wr_o
|
→
|
|
|
|
wbpulse_control_softtrigger_o
|
→
|
|
|
|
wbpulse_control_softtrigger_wr_o
|
→
|
|
|
|
|
|
|
|
|
Pulse Status:
|
|
|
|
|
wbpulse_status_pulse_busy_i
|
←
|
|
|
|
wbpulse_status_pulse_active_i
|
←
|
HW prefix:
|
wbpulse_delay
|
HW address:
|
0x0
|
C prefix:
|
DELAY
|
C offset:
|
0x0
|
Number of clock-cycles before the pulse starts.
31
|
30
|
29
|
28
|
27
|
26
|
25
|
24
|
DELAY[31:24]
|
|
|
|
|
|
|
|
23
|
22
|
21
|
20
|
19
|
18
|
17
|
16
|
DELAY[23:16]
|
|
|
|
|
|
|
|
15
|
14
|
13
|
12
|
11
|
10
|
9
|
8
|
DELAY[15:8]
|
|
|
|
|
|
|
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
DELAY[7:0]
|
|
|
|
|
|
|
|
-
DELAY
[read/write]: delay
Number of clock-cycles before the pulse starts.
HW prefix:
|
wbpulse_duration
|
HW address:
|
0x1
|
C prefix:
|
DURATION
|
C offset:
|
0x4
|
Pulse duration in number of clock-cycles.
31
|
30
|
29
|
28
|
27
|
26
|
25
|
24
|
DURATION[31:24]
|
|
|
|
|
|
|
|
23
|
22
|
21
|
20
|
19
|
18
|
17
|
16
|
DURATION[23:16]
|
|
|
|
|
|
|
|
15
|
14
|
13
|
12
|
11
|
10
|
9
|
8
|
DURATION[15:8]
|
|
|
|
|
|
|
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
DURATION[7:0]
|
|
|
|
|
|
|
|
-
DURATION
[read/write]: duration
Pulse duration in number of clock-cycles.
HW prefix:
|
wbpulse_control
|
HW address:
|
0x2
|
C prefix:
|
CONTROL
|
C offset:
|
0x8
|
Controlregister for Single Pulse Generator.
31
|
30
|
29
|
28
|
27
|
26
|
25
|
24
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
23
|
22
|
21
|
20
|
19
|
18
|
17
|
16
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
15
|
14
|
13
|
12
|
11
|
10
|
9
|
8
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
-
|
-
|
-
|
-
|
SOFTTRIGGER
|
STOP
|
RESERVED
|
ENABLE
|
-
ENABLE
[read/write]: enable
Enable Single Pulse Generation.
-
RESERVED
[read/write]: Not used
Not used.
-
STOP
[write-only]: Stop pulse
Stops and resets current pulse on writing 1.
-
SOFTTRIGGER
[write-only]: Soft trigger
Generates a trigger on writing 1.
HW prefix:
|
wbpulse_status
|
HW address:
|
0x3
|
C prefix:
|
STATUS
|
C offset:
|
0xc
|
Status of the pulse generator.
31
|
30
|
29
|
28
|
27
|
26
|
25
|
24
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
23
|
22
|
21
|
20
|
19
|
18
|
17
|
16
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
15
|
14
|
13
|
12
|
11
|
10
|
9
|
8
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
-
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
-
|
-
|
-
|
-
|
-
|
-
|
PULSE_ACTIVE
|
PULSE_BUSY
|
-
PULSE_BUSY
[read-only]: Pulse busy
Pulse in progress
-
PULSE_ACTIVE
[read-only]: Pulse active
Pulse output is active