Skip to content

Commit

Permalink
chore: add licenses to files of memory encryption modules
Browse files Browse the repository at this point in the history
  • Loading branch information
yxtx1994 committed Dec 4, 2024
1 parent c13d9d6 commit 2e62b98
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/main/scala/device/MemEncrypt.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***************************************************************************************
* Copyright (c) 2024 Institute of Information Engineering, Chinese Academy of Sciences
*
* XiangShan is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*
* See the Mulan PSL v2 for more details.
***************************************************************************************/

// See LICENSE.SiFive for license details.

package device
Expand Down
15 changes: 15 additions & 0 deletions src/main/scala/device/MemEncryptUtil.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***************************************************************************************
* Copyright (c) 2024 Institute of Information Engineering, Chinese Academy of Sciences
*
* XiangShan is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*
* See the Mulan PSL v2 for more details.
***************************************************************************************/

// See LICENSE.SiFive for license details.

package device
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/system/SoC.scala
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ trait HaveAXI4MemPort {
this: BaseSoC =>
val device = new MemoryDevice
// 48-bit physical address
val memRange = AddressSet(0x00000000L, 0x1fffffffffffffL).subtract(AddressSet(0x0L, 0x7fffffffL))
val memRange = AddressSet(0x00000000L, 0xffffffffffffL).subtract(AddressSet(0x0L, 0x7fffffffL))
val memAXI4SlaveNode = AXI4SlaveNode(Seq(
AXI4SlavePortParameters(
slaves = Seq(
Expand Down

0 comments on commit 2e62b98

Please sign in to comment.