summaryrefslogtreecommitdiff
path: root/rtl/core/alu/orr.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-09-25 17:46:38 -0600
committerAlejandro Soto <alejandro@34project.org>2022-09-25 17:46:38 -0600
commitb5f43ef8431532b1e0b498a88072fdfd2cf81ac9 (patch)
treeeac985d217721ce4ef4b6e355cce611c9e4d3a82 /rtl/core/alu/orr.sv
parent72991c8eb6791111de0378cfc46ede8581d53e2a (diff)
Implement ALU
Diffstat (limited to 'rtl/core/alu/orr.sv')
-rw-r--r--rtl/core/alu/orr.sv12
1 files changed, 12 insertions, 0 deletions
diff --git a/rtl/core/alu/orr.sv b/rtl/core/alu/orr.sv
new file mode 100644
index 0000000..1ee87c2
--- /dev/null
+++ b/rtl/core/alu/orr.sv
@@ -0,0 +1,12 @@
+module core_alu_orr
+#(parameter W=16)
+(
+ input logic[W - 1:0] a,
+ b,
+
+ output logic[W - 1:0] q
+);
+
+ assign q = a | b;
+
+endmodule