24 lines
210 B
Coq
24 lines
210 B
Coq
|
`timescale 1ns / 1ps
|
||
|
|
||
|
module top(
|
||
|
clk,
|
||
|
a,
|
||
|
b,
|
||
|
c,
|
||
|
d);
|
||
|
|
||
|
input wire clk;
|
||
|
|
||
|
input wire a;
|
||
|
input wire b;
|
||
|
output wire c;
|
||
|
output reg d;
|
||
|
|
||
|
assign c = a & b;
|
||
|
|
||
|
always @(posedge clk) begin
|
||
|
d <= c;
|
||
|
end
|
||
|
|
||
|
endmodule
|