Using Outputs From Two Other Module (Verilog)
问题 I have a quick question. How can I use the outputs of two other modules with a new module? Example: module test1(ans, X, Y) output ans; input X, Y; do stuff endmodule module test2(ans2, X, Y) output ans2; input X, Y; do stuff endmodule module result(final_ans, ans, ans2) <------- this is what I mean. do stuff endmodule How would I go about this? How do I call the other two modules? Thank you for the help. 回答1: You do not call modules. You instance modules. Verilog is not like normal