Commit c8016fde by Eddie Hung

Fix multiple drivers

parent 15b89784
...@@ -5,6 +5,7 @@ module top ...@@ -5,6 +5,7 @@ module top
input cin, input cin,
output reg A, output reg A,
output B,
output reg cout output reg cout
); );
...@@ -32,7 +33,7 @@ always @(*) begin ...@@ -32,7 +33,7 @@ always @(*) begin
cout <= cout1&cin~|y; cout <= cout1&cin~|y;
end end
bb ubb (cin,y,x,A); bb ubb (cin,y,x,B);
endmodule endmodule
......
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