PTW now does not require atomic memory operations, so take out the requirement (#767)

Bug fix in CSR which manifest itself when compiling a config with no extension
This commit is contained in:
Jacob Chang authored and GitHub committed 2017-05-26 13:11:15 -07:00
1 parent 618468a06b
commit e3e77d68e6
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -71,8 +71,6 @@ class PTW(n: Int)(implicit edge: TLEdgeOut, p: Parameters) extends CoreModule()(
val dpath = new DatapathPTWIO
}
require(usingAtomics, "PTW requires atomic memory operations")
val s_ready :: s_req :: s_wait1 :: s_wait2 :: Nil = Enum(UInt(), 4)
val state = Reg(init=s_ready)
val count = Reg(UInt(width = log2Up(pgLevels)))