ROCK registers

(based on the ROCK manual of A. Aloisio (INFN Napoli) )
These are all the ROCK registers: See also the bit list.


EFIFO and DFIFO

EFIFO offset: +0x00, also mirrored at +0x04, +0x08, +0x0C
DFIFO offset: +0x10, also mirrored at +0x14, +0x18, +0x1C
Width: 32 bit

31 30 29 28 27 [26:0]
Bit name NVD FF HF EF 0 FIFODATA
R=READ W=WRITE R R R R R R

Access time to EFIFO bank is about five(5) times faster than for the DFIFO bank. Therefore, it is suggested to use EFIFO when using the ROCK in a stand-alone environment (w/o CBUS).

EFIFO specific notes:

DFIFO specific notes:

See also the ROCK sub-frame documentation.

Back to FIFO page.


Reset

Offset: +0x21
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name FLTRST INTRST AUXRST DFIFO EFIFO XINTF TFIFO CINTF
R=READ W=WRITE R/W R/W R/W R/W R/W R/W R/W R/W
Power-up status 0 0 0 0 0 0 0 0

INFO and FIFO pages power up to an unknown state.
After power up, the Reset register must be deasserted (by loading 0xFF) for at least 250 ms. Eventually,a short reset should be applied.

Back to INTERNAL page.


FIFO

Offset: +0x23
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name DFF DHF DEF EFF EHF EEF TEF TFF
R=READ W=WRITE R R R R R R R R
Power-up status 1 1 0 1 1 0 0 1

See also the FIFO page.

Back to INTERNAL page.


Watchdog

Offset: +0x25
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name WATCHDOG
R=READ W=WRITE R/W
Power-up status 0

Watchdog logic asserts HALT if an AUXbus transaction takes more than programmed.
Timeout = WATCHDOG*(2**WSCALE)*100 ns
Setting this register to 0x00 disables the watchdog.

Back to INTERNAL page.


CSR0

Offset: +0x27
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name 1 1 EFMODE BOE TKNDIS INTTRG DIAG
R=READ W=WRITE R R R/W R/W R/W R/W R/W
Power-up status 1 1 0 0 0 0 0

Back to INTERNAL page.


CSR1

Offset: +0x29
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name TKNIN TKNOUT CEOB CERR CRST CRNGT CBUSY CTRGV
R=READ W=WRITE R R R R R R R R
Power-up status 1 1 1 1 1 1 1 1

CSR1 displays the main CBUS signals on-board.

Back to INTERNAL page.


CSR2

Offset: +0x2B
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name 1 EFWREN AUXON TIMEOUT ELAPSED WSCALE
R=READ W=WRITE R R R R R/W R/W
Power-up status 1 0 1 1 1 0

Back to INTERNAL page.


Elapsed

Offset: +0x2D
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name ELAPSEDTIME
R=READ W=WRITE R
Power-up status 0

Elapsed register is reserved for performance monitoring. It makes possible to misure in real-time the AUXbus bandwith usage, without overhead.

Elapsed time = ELAPSEDTIME*(2**WSCALE)*100 ns

Performance monitoring also uses ELAPSED (bit) and EFMODE to trap subevents in the EFIFO bank.

Back to INTERNAL page.


Trigger

Offset: +0x2F
Width: 8 bit

7 6 5 4 3 2 1 0
Bit name HALT BUSY SYNCHF XBUSY XBERR 1 TEST
R=READ W=WRITE R R R R R R W
Power-up status 1 1 1 1 1 1 3

Back to INTERNAL page.


TQUE

Offset: +0x30
Width: 16 bit

15 14 13 12 [11:0]
Bit name 0 0 TFF LINK QTRG
R=READ W=WRITE R R R R R

Back to INFO page.


TNOW

Offset: +0x32
Width: 16 bit

[15:12] [11:0]
Bit name CSTATE PTRG
R=READ W=WRITE R R

Back to INFO page.


Rockinfo

Offset: +0x34
Width: 16 bit

[15:14] 13 12 11 10 9 8 [7:4] [3:0]
Bit name 0 SOF EOF 0 SYNCRESPF ROCKSFAIL SLVSFAIL LWADD XADD
R=READ W=WRITE R R R R R R R R R

Back to INFO page.


Golden

Offset: +0x36
Width: 16 bit

15 [14:12] [11:0]
Bit name LAST CRADD GOLDENREF
R=READ W=WRITE R/W R/W R/W

Can only be written in DIAG mode.

Back to INFO page.


Bit list

These are all the ROCK bits(elements):


Top of the page. Back to the ROCK documentaion.
Send comments to: Igor Sfiligoi

Created:21.1.1997
Last modified:4.4.1997