summaryrefslogtreecommitdiff
path: root/alu_tb.v
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-08 19:33:35 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-08 22:02:28 -0600
commite601b9315384792b82517ba3ab30cee316295558 (patch)
tree6ec92d0d61c918b057490b12a9d3eca6337bffb2 /alu_tb.v
parent8d316df61f4b01b6fcd8ca211faa6cb146127528 (diff)
add ALU test for shift operations
Diffstat (limited to 'alu_tb.v')
-rw-r--r--alu_tb.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/alu_tb.v b/alu_tb.v
index 7418ea3..31141ce 100644
--- a/alu_tb.v
+++ b/alu_tb.v
@@ -32,6 +32,14 @@ module alu_tb ();
"&" : op = 4;
"|" : op = 5;
"^" : op = 6;
+ "<<" : op = 8;
+ "<<1" : op = 9;
+ "<<-" : op = 10;
+ "<<<" : op = 11;
+ ">>" : op = 12;
+ "1>>" : op = 13;
+ "->>" : op = 14;
+ ">>>" : op = 15;
default : op = 0;
endcase