Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Pepin
sysdig
Commits
e10bedc9
Commit
e10bedc9
authored
Jan 14, 2017
by
Noémie Fong
Browse files
Get rid of alu_op:[3]
parent
c0a6b40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cpu/src/alu/main.mj
View file @
e10bedc9
...
...
@@ -6,7 +6,8 @@ require ALU/utils
*)
ALU(input1:[32], input2:[32], alu_control:[4], alu_op:[3], use_shamt) = (alu_zero, result:[32]) where
ALU(input1:[32], input2:[32], alu_control:[4], use_shamt) =
(alu_zero, result:[32]) where
R_format = equal_zero_n<3>(alu_op);
result =
mux(alu_control[0], (* if 1 then shift or HI/Lo, else logical or artih*)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment