Associative cache, boots kernel
This commit is contained in:
@ -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