require是多余约束

This commit is contained in:
RuigeLee
2025-09-04 16:40:07 +08:00
parent 4dd1841921
commit 8a29acf4b8

View File

@@ -39,7 +39,6 @@ class SMUnitIO(depth: Int) extends Bundle {
}
abstract class SMUnitBase(depth: Int = 4) extends Module with RequireAsyncReset{
require(depth <= 4)
val io: SMUnitIO = IO(new SMUnitIO(depth))