Add Wire() wrap
This commit is contained in:
1 parent
5b7f3c3006
commit
ac6e73e317
8 files changed
+38
-42
No files matched your search
@@ -109,8 +109,7 @@ class PTW(n: Int) extends CoreModule
|
||||
r_pte := pte
|
||||
}
|
||||
|
||||
val pte_wdata = new PTE
|
||||
pte_wdata := new PTE().fromBits(0)
|
||||
val pte_wdata = Wire(init=new PTE().fromBits(0))
|
||||
pte_wdata.r := true
|
||||
pte_wdata.d := r_req.store
|
||||
|
||||
|
||||
Reference in new issue
Block a user