projects
/
calu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e1e93
)
added: alu ldi
author
Markus Hofstätter
<markus.hofstaetter@gmx.net>
Mon, 29 Nov 2010 13:49:15 +0000
(14:49 +0100)
committer
Markus Hofstätter
<markus.hofstaetter@gmx.net>
Mon, 29 Nov 2010 13:49:36 +0000
(14:49 +0100)
cpu/src/alu_b.vhd
patch
|
blob
|
history
diff --git
a/cpu/src/alu_b.vhd
b/cpu/src/alu_b.vhd
index 5fab318dc316d4f47bd74e31d25a83b9e58c96da..1bb83deb477674721e073482c8e639a1aedd5f36 100755
(executable)
--- a/
cpu/src/alu_b.vhd
+++ b/
cpu/src/alu_b.vhd
@@
-99,7
+99,11
@@
begin
when XOR_OP =>
\r
result_v := xor_result;
\r
when SHIFT_OP =>
\r
- result_v := shift_result;
\r
+ result_v := shift_result;
+ when LDST_OP =>
+ if op_detail(IMM_OPT) = '1' then
+ result_v := right_operand;
+ end if;
\r
end case;
\r
\r
\r