A collection of apps
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
254 B

`timescale 1ns / 1ps
module adder7_reg_arst(z, b, a, clk, rst);
output reg [7:0] z;
input [6:0] a, b;
input clk, rst;
always @(posedge clk, posedge rst)
if (rst)
z <= 0;
z <= a + b;