SRAMCTRL

Instance: SRAMCTRL
Component: SRAMCTRL
Base address: 0x400C5000


This is top module of SRAM Controller for LOKI

TOP:SRAMCTRL Register Summary

Register Name

Type

Register Width (Bits)

Register Reset

Address Offset

Physical Address

DESC

RO

32

0x1A48 0010

0x0000 0000

0x400C 5000

DTB

RW

32

0x0000 0000

0x0000 0064

0x400C 5064

CFG

RW

32

0x0000 0000

0x0000 0100

0x400C 5100

INITSEL

RW

32

0x0000 0000

0x0000 0104

0x400C 5104

INITTRIG

RW

32

0x0000 0000

0x0000 0108

0x400C 5108

INITSTAT

RO

32

0x0000 0000

0x0000 010C

0x400C 510C

PARDBG

RW

32

0x0000 0000

0x0000 0110

0x400C 5110

PARERR

RO

32

0x0000 0000

0x0000 0114

0x400C 5114

TOP:SRAMCTRL Register Descriptions

TOP:SRAMCTRL:DESC

Address Offset 0x0000 0000
Physical Address 0x400C 5000 Instance 0x400C 5000
Description
This register identifies the peripheral
Type RO
Bits Field Name Description Type Reset
31:16 MODID Module identifier RO 0x1A48
15:12 STDIPOFF 64 B Standard IP MMR block
0: STDIP MMRs do not exist
1:15: These MMRs begin at offset 64*STDIPOFF from IP base address
RO 0x0
11:8 INSTIDX IP Instance number RO 0x0
7:4 MAJREV Major revision RO 0x1
3:0 MINREV Minor revision RO 0x0

TOP:SRAMCTRL:DTB

Address Offset 0x0000 0064
Physical Address 0x400C 5064 Instance 0x400C 5064
Description
This bit field is used to select DTB mux digital inputs
Type RW
Bits Field Name Description Type Reset
31:2 RESERVED2 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00 0000 0000 0000 0000 0000 0000 0000
1:0 SEL DTB Selection RW 0b00

TOP:SRAMCTRL:CFG

Address Offset 0x0000 0100
Physical Address 0x400C 5100 Instance 0x400C 5100
Description
Configuration Register
Type RW
Bits Field Name Description Type Reset
31:9 RESERVED9 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b000 0000 0000 0000 0000 0000
8 PARDBGEN SRAM Parity Debug Enable.
Value ENUM Name Description
0x0 DISABLE Disable Parity Debug. Normal operation
0x1 ENABLE Enable Parity Debug. An address offset can be written to PARDBG.ADDR and parity errors will be generated on reads from within this offset
RW 0
7:1 RESERVED1 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b000 0000
0 PAREN SRAM Parity Enable.
Value ENUM Name Description
0x0 DISABLE Disable Parity
0x1 ENABLE Enable Parity
RW 0

TOP:SRAMCTRL:INITSEL

Address Offset 0x0000 0104
Physical Address 0x400C 5104 Instance 0x400C 5104
Description
Initilizataion Select Register.
Type RW
Bits Field Name Description Type Reset
31:7 RESERVED7 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b0 0000 0000 0000 0000 0000 0000
6:0 SEL Bank Select. Bit[0]:Bank-0 Bit[1]:Bank-1 ... Bit[n]:Bank-n RW 0b000 0000

TOP:SRAMCTRL:INITTRIG

Address Offset 0x0000 0108
Physical Address 0x400C 5108 Instance 0x400C 5108
Description
Initilizataion Select Register. This register is writable only if CFG.LOCKDIS = 1
Type RW
Bits Field Name Description Type Reset
31:1 RESERVED1 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b000 0000 0000 0000 0000 0000 0000 0000
0 TRIG Trigger Initilization. All banks with its INIT.SEL[x] bit set to 1 will be initilizaed. This bit will auto clear once initlization is complete RW 0

TOP:SRAMCTRL:INITSTAT

Address Offset 0x0000 010C
Physical Address 0x400C 510C Instance 0x400C 510C
Description
Initilizataion Status
Type RO
Bits Field Name Description Type Reset
31:7 RESERVED7 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b0 0000 0000 0000 0000 0000 0000
6:0 BUSY Each bit indicate that corresponding bank is getting initialzed RO 0b000 0000

TOP:SRAMCTRL:PARDBG

Address Offset 0x0000 0110
Physical Address 0x400C 5110 Instance 0x400C 5110
Description
Parity error check debug address setting
Type RW
Bits Field Name Description Type Reset
31:20 RESERVED20 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0x000
19:2 ADDR Debug Parity Error Address Offset.##br##When CFG.PARDBGEN is 1, this field is used to set a parity debug address offset. Writes within this address offset will force incorrect parity bits to be stored together with the data written. The following reads within this same address offset will thus result in parity errors to be generated. RW 0b00 0000 0000 0000 0000
1:0 RESERVED0 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00

TOP:SRAMCTRL:PARERR

Address Offset 0x0000 0114
Physical Address 0x400C 5114 Instance 0x400C 5114
Description
Parity error
Type RO
Bits Field Name Description Type Reset
31:0 ADDR Parity Error Address Offset.##br##This holds the address offset that first generated the parity error and an interrupt is generated. ##br##This register is 'Clear-On-Read' RO 0x0000 0000