diff options
Diffstat (limited to 'rtl/core/core_alu_xor.sv')
| -rw-r--r-- | rtl/core/core_alu_xor.sv | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rtl/core/core_alu_xor.sv b/rtl/core/core_alu_xor.sv new file mode 100644 index 0000000..f55dfc2 --- /dev/null +++ b/rtl/core/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 |
