27 lines
589 B
Plaintext
27 lines
589 B
Plaintext
regfile plic_regs {
|
|
reg {
|
|
name="priority";
|
|
desc="interrupt source priority";
|
|
field {} priority[2:0];
|
|
} priority[256] @0x000;
|
|
reg {
|
|
name="pending";
|
|
desc="pending irq";
|
|
field {} pending[31:0];
|
|
} pending[8] @0x1000;
|
|
reg {
|
|
name="enabled";
|
|
desc="enabled interrupts";
|
|
field {} enabled[31:0];
|
|
} enabled[8] @0x2000;
|
|
reg {
|
|
name="threshold";
|
|
desc="interrupt priority threshold";
|
|
field {} \threshold[2:0];
|
|
} \threshold @0x200000;
|
|
reg {
|
|
name="claim/complete";
|
|
desc="interrupt handling completed";
|
|
field {} interrupt_claimed[31:0];
|
|
} claim_complete @0x200004;
|
|
}; |