AXI4Plic.scala (f320e0f01bd645f0a3045a8a740e60dd770734a9) AXI4Plic.scala (3c02ee8f82edea481fa8336c7f54ffc17fafba91)
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3* Copyright (c) 2020-2021 Peng Cheng Laboratory
4*
5* XiangShan is licensed under Mulan PSL v2.
6* You can use this software according to the terms and conditions of the Mulan PSL v2.
7* You may obtain a copy of Mulan PSL v2 at:
8* http://license.coscl.org.cn/MulanPSL2

--- 6 unchanged lines hidden (view full) ---

15***************************************************************************************/
16
17package device
18
19import chisel3._
20import chisel3.util._
21import chipsalliance.rocketchip.config._
22import freechips.rocketchip.diplomacy._
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3* Copyright (c) 2020-2021 Peng Cheng Laboratory
4*
5* XiangShan is licensed under Mulan PSL v2.
6* You can use this software according to the terms and conditions of the Mulan PSL v2.
7* You may obtain a copy of Mulan PSL v2 at:
8* http://license.coscl.org.cn/MulanPSL2

--- 6 unchanged lines hidden (view full) ---

15***************************************************************************************/
16
17package device
18
19import chisel3._
20import chisel3.util._
21import chipsalliance.rocketchip.config._
22import freechips.rocketchip.diplomacy._
23import utils.MaskExpand
24import utils.{HasTLDump, XSDebug, RegMap}
23import utils.{XSDebug, HasTLDump}
24import utility.{RegMap, MaskExpand}
25
26/* base + 0x000000: Reserved (interrupt source 0 does not exist)
27 base + 0x000004: Interrupt source 1 priority
28 base + 0x000008: Interrupt source 2 priority
29 ...
30 base + 0x000FFC: Interrupt source 1023 priority
31 base + 0x001000: Interrupt Pending bit 0-31
32 base + 0x00107C: Interrupt Pending bit 992-1023

--- 150 unchanged lines hidden ---
25
26/* base + 0x000000: Reserved (interrupt source 0 does not exist)
27 base + 0x000004: Interrupt source 1 priority
28 base + 0x000008: Interrupt source 2 priority
29 ...
30 base + 0x000FFC: Interrupt source 1023 priority
31 base + 0x001000: Interrupt Pending bit 0-31
32 base + 0x00107C: Interrupt Pending bit 992-1023

--- 150 unchanged lines hidden ---