Add Missing Arrow to push ProgCounter to AB

This commit is contained in:
Christian 2020-12-25 14:01:17 +01:00
parent 98bd366c24
commit 413105e4be
3 changed files with 42 additions and 0 deletions

View File

@ -346,6 +346,10 @@ th.address {
transform: rotate(180deg); transform: rotate(180deg);
} }
.arrow.up.arrow2 {
left: 50%;
}
.arrow.top { .arrow.top {
bottom: auto; bottom: auto;
top: -6rem; top: -6rem;

View File

@ -6044,6 +6044,39 @@ var $author$project$Main$viewCu = function (model) {
A2($elm$html$Html$div, _List_Nil, _List_Nil) A2($elm$html$Html$div, _List_Nil, _List_Nil)
])), ])),
A2( A2(
$elm$html$Html$div,
_List_fromArray(
[
$elm$html$Html$Attributes$class('arrow'),
$elm$html$Html$Attributes$class('up'),
$elm$html$Html$Attributes$class('top'),
$elm$html$Html$Attributes$class('arrow2')
]),
_List_fromArray(
[
A2(
$elm$html$Html$div,
_List_fromArray(
[
$elm$html$Html$Attributes$class('button')
]),
_List_fromArray(
[
A2(
$elm$html$Html$a,
_List_fromArray(
[
$elm$html$Html$Events$onClick(
$author$project$Main$MsgManualStep($author$project$Main$ActProgrammCounter2AddressBus))
]),
_List_fromArray(
[
$elm$html$Html$text('ProgCounter -> AddrB')
]))
])),
A2($elm$html$Html$div, _List_Nil, _List_Nil)
])),
A2(
$elm$html$Html$h1, $elm$html$Html$h1,
_List_fromArray( _List_fromArray(
[ [

View File

@ -385,6 +385,11 @@ viewCu model =
[ Html.a [ onClick (MsgManualStep ActInstructionReg2AddressBus)] [ text "InstR -> AddrB" ]] [ Html.a [ onClick (MsgManualStep ActInstructionReg2AddressBus)] [ text "InstR -> AddrB" ]]
, div [] [] , div [] []
] ]
, div [ class "arrow", class "up", class "top", class "arrow2"]
[ div [ class "button" ]
[ Html.a [ onClick (MsgManualStep ActProgrammCounter2AddressBus)] [ text "ProgCounter -> AddrB" ]]
, div [] []
]
, h1 [ class "header" ] [ text "Control Unit" ] , h1 [ class "header" ] [ text "Control Unit" ]
, p [] , p []
[ text [ text