Chisel3 compatibility: use more concrete types
This commit is contained in:
1 parent
c81745eb8e
commit
a953ff384a
2 files changed
+2
-2
No files matched your search
@@ -80,7 +80,7 @@ class PseudoLRU(n: Int)
|
||||
def access(way: UInt) {
|
||||
state_reg := get_next_state(state_reg,way)
|
||||
}
|
||||
def get_next_state(state: Bits, way: UInt) = {
|
||||
def get_next_state(state: UInt, way: UInt) = {
|
||||
var next_state = state
|
||||
var idx = UInt(1,1)
|
||||
for (i <- log2Up(n)-1 to 0 by -1) {
|
||||
|
||||
Reference in new issue
Block a user