Commit 15b89784 by Eddie Hung

Resolve multiple driver

parent ae57d068
......@@ -5,6 +5,7 @@ module top
input cin,
output reg A,
output B,
output reg cout
);
......@@ -31,11 +32,11 @@ always @(*) begin
cout <= cout1&cin~|y;
end
bb ubb (cin,y,x,A);
bb ubb (cin,y,x,B);
endmodule
(* black_box *) module bb(in1, in2, clk, out1);
(* blackbox *) module bb(in1, in2, clk, out1);
input in1;
input in2;
input clk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment