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.

12 lines
254 B

2 years ago
  1. `timescale 1ns / 1ps
  2. module and3_reg_arst(z, a, b, c, clk, rst);
  3. output reg z;
  4. input a, b, c;
  5. input clk, rst;
  6. always @(posedge clk, posedge rst)
  7. if (rst)
  8. z <= 0;
  9. else
  10. z <= a & b & c;
  11. endmodule