require是多余约束
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user