diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-09-25 17:46:38 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-09-25 17:46:38 -0600 |
| commit | b5f43ef8431532b1e0b498a88072fdfd2cf81ac9 (patch) | |
| tree | eac985d217721ce4ef4b6e355cce611c9e4d3a82 /rtl/core/alu/xor.sv | |
| parent | 72991c8eb6791111de0378cfc46ede8581d53e2a (diff) | |
Implement ALU
Diffstat (limited to '')
| -rw-r--r-- | rtl/core/alu/xor.sv | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rtl/core/alu/xor.sv b/rtl/core/alu/xor.sv new file mode 100644 index 0000000..f55dfc2 --- /dev/null +++ b/rtl/core/alu/xor.sv @@ -0,0 +1,12 @@ +module core_alu_xor +#(parameter W=16) +( + input logic[W - 1:0] a, + b, + + output logic[W - 1:0] q +); + + assign q = a ^ b; + +endmodule |
