Associative cache, boots kernel
This commit is contained in:
1 parent
281abfbccb
commit
c5a4eaa0a1
4 files changed
+58
-58
No files matched your search
@@ -56,8 +56,7 @@ object UFixToOH
|
||||
{
|
||||
def apply(in: UFix, width: Int): Bits =
|
||||
{
|
||||
val out = Bits(1, width)
|
||||
out << in
|
||||
(UFix(1) << in(log2up(width)-1,0))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user