xref: /XiangShan/src/main/scala/utils/PowerSwitchBuffer.scala (revision 814aa9ec6f137d36a5efd6cf61fb0833cf156a4a)
1/***************************************************************************************
2* Copyright (c) 2025 Beijing Institute of Open Source Chip (BOSC)
3* Copyright (c) 2025 Institute of Computing Technology, Chinese Academy of Sciences
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
9*
10* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
11* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
13*
14* See the Mulan PSL v2 for more details.
15***************************************************************************************/
16
17package utils
18
19import chisel3._
20
21// An empty module. Should be replaced by PD flow.
22class PowerSwitchBuffer extends RawModule {
23  val sleep = dontTouch(IO(Input(Bool())))
24  val ack = dontTouch(IO(Output(Bool())))
25
26  ack := sleep
27}
28