Convert byte address to words.
This commit is contained in:
parent
5c2c13d83e
commit
cc12636bcd
|
@ -78,7 +78,7 @@ viewRawCacheModel level rcm =
|
|||
deleteButton = dangerButton "Delete" (DeleteRawModel level)
|
||||
|
||||
params = div []
|
||||
[ labeledInput "Block size" rcm.blockSize (wrapUpdate updateBlockSize)
|
||||
[ labeledInput "Block size (words)" rcm.blockSize (wrapUpdate updateBlockSize)
|
||||
, labeledInput "Set count" rcm.setCount (wrapUpdate updateSetCount)
|
||||
, labeledInput "Set size" rcm.setSize (wrapUpdate updateSetSize)
|
||||
]
|
||||
|
@ -204,6 +204,7 @@ viewAccessInput : Model -> Html Msg
|
|||
viewAccessInput m =
|
||||
let
|
||||
parser =
|
||||
Parser.map (List.map (\i -> i // 4)) <|
|
||||
Parser.sequence
|
||||
{ start = ""
|
||||
, end = ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user