1
0

Associative cache, boots kernel

This commit is contained in:
Henry Cook
2012-02-01 13:26:04 -08:00
parent 281abfbccb
commit c5a4eaa0a1
4 changed files with 58 additions and 58 deletions

View File

@ -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))
}
}