Altera Embedded Peripherals IP User Manual

Page 279

Advertising
background image

Table 28-8: The VIC_CONFIG Register Map

Bits

Field Name Access Reset

Value

Description

0:2

VEC_SIZE

R/W

0

The vector size field.

VEC_SIZE

specifies the number of bytes

in each vector table entry.

VEC_SIZE

is encoded as log2

(number of words) - 2. Namely:
0—4 bytes per vector table entry
1—8 bytes per vector table entry
2—16 bytes per vector table entry
3—32 bytes per vector table entry
4—64 bytes per vector table entry
5—128 bytes per vector table entry
6—256 bytes per vector table entry
7—512 bytes per vector table entry

3

DC

R/W

0

The daisy chain field.

DC

serves the following purposes:

Enables and disables the daisy chain input interface, if present.

Write a 1 to enable the daisy chain interface; write a 0 to

disable it.
Detects the presence of the daisy chain input interface. To

detect, write a 1 to

DC

and then read

DC

. A return value of 1

means the daisy chain interface is present; 0 means the daisy

chain interface is not present.

4:31 Reserved

Table 28-9: The VIC_STATUS Register Map

Bits

Field Name Access Reset

Value

Description

0:5

HI_PRI_IRQ

R

0

The highest priority interrupt field.

HI_PRI_IRQ

contains the

IRQ number of the active interrupt with the highest RIL.

When there is no active interrupt (

IP

is 0), reading from this

field returns 0.
When the daisy chain input is enabled and it is the highest

priority interrupt, then the value read from this field is 32.
Bit 5 always reads back 0 when the daisy chain input is not

present.

6:3

0

Reserved

31

IP

R

0

The interrupt pending field.

IP

indicates when there is an

interrupt ready to be serviced. A 1 indicates an interrupt is

pending; a 0 indicates no interrupt is pending.

28-10

Register Maps

UG-01085

2014.24.07

Altera Corporation

Vectored Interrupt Controller Core

Send Feedback

Advertising