Guest
Hi!
I need the wisdom of the group since I'm quite new to SV.
Let's say that I have 4 modules A,B,C,D that should be connected
together.
Each module has it's own interface A_IF, B_IF,C_IF, D_IF.
Now on the top level I want to connect some signals from A to some
signals in B and some signals in C.
So I would instantiate the modules and the interfaces:
A_IF A_IF_PINS()
B_IF B_IF_PINS()
C_IF C_IF_PINS()
D_IF D_IF_PINS()
A A_INST(....
B B_INST(...
C C_INST(...
D D_INST(...
So let's say that I want the signal RQST in interface A connected to
the signal REQUEST in interface B. How do I do that?
And if I would design the whole lot from the beginning, should I have
ONE interface/module:
module A( interface pins);
or have ONE interface/ "logical interface", e.g.
module A( interface A2B, interface A2C, interface A2D);
I know, there's more than one way to do it, but I need to figure out
the best way to think. The examples in various documentation only talk
about communication between two modules.
/Mikael
I need the wisdom of the group since I'm quite new to SV.
Let's say that I have 4 modules A,B,C,D that should be connected
together.
Each module has it's own interface A_IF, B_IF,C_IF, D_IF.
Now on the top level I want to connect some signals from A to some
signals in B and some signals in C.
So I would instantiate the modules and the interfaces:
A_IF A_IF_PINS()
B_IF B_IF_PINS()
C_IF C_IF_PINS()
D_IF D_IF_PINS()
A A_INST(....
B B_INST(...
C C_INST(...
D D_INST(...
So let's say that I want the signal RQST in interface A connected to
the signal REQUEST in interface B. How do I do that?
And if I would design the whole lot from the beginning, should I have
ONE interface/module:
module A( interface pins);
or have ONE interface/ "logical interface", e.g.
module A( interface A2B, interface A2C, interface A2D);
I know, there's more than one way to do it, but I need to figure out
the best way to think. The examples in various documentation only talk
about communication between two modules.
/Mikael