3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Brooklyn/arch/arm/mm/Adder.v
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

17 lines
261 B
Verilog

`include "settings.h"
module Adder (
input [`WORD_WIDTH-1:0] a,
input [`WORD_WIDTH-1:0] b,
output [`WORD_WIDTH-1:0] out
);
reg [`WORD_WIDTH-1:0] result;
always@(*) begin
result = a + b;
end
assign out = result;
endmodule