M
Marwan
Guest
Peace,
These are simple question for a person who knows to answer no
doubt... But questions that are seemingly rarely asked or answered in
a clear manner...
So here they are for any future searchers of this group:-
--> How can the output and input ports of a module be used/referenced/
driven by any other module in a design?
------> Do both modules have to be instantiated within some higher
level module?
------> Can the port names of one module (A) (example: data_in_A)
just be used in another module (B) in its port list so that it can
communicate with (A)?
--> If a memory is defined in module (A) (i.e., reg [4:0] mem1 [0:6]
[0:6]), can it be directly used in module (B) by just writing out =
mem1[1][2]; ?
------> This answer will no doubt be tied to the answer(s) for above.
Thank you in advance for any help.
Peace.
These are simple question for a person who knows to answer no
doubt... But questions that are seemingly rarely asked or answered in
a clear manner...
So here they are for any future searchers of this group:-
--> How can the output and input ports of a module be used/referenced/
driven by any other module in a design?
------> Do both modules have to be instantiated within some higher
level module?
------> Can the port names of one module (A) (example: data_in_A)
just be used in another module (B) in its port list so that it can
communicate with (A)?
--> If a memory is defined in module (A) (i.e., reg [4:0] mem1 [0:6]
[0:6]), can it be directly used in module (B) by just writing out =
mem1[1][2]; ?
------> This answer will no doubt be tied to the answer(s) for above.
Thank you in advance for any help.
Peace.