Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: an AUTO to propagate interface to top level port #1096

Closed
veripoolbot opened this issue Oct 28, 2016 · 2 comments
Closed

Question: an AUTO to propagate interface to top level port #1096

veripoolbot opened this issue Oct 28, 2016 · 2 comments
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Dominique Chen
Original Redmine Message: 2053 from https://www.veripool.org


Hi,

I search around but didn't get a concrete answer.
Is there an AUTOINTERFACE similar to an AUTOINPUT that will automatically propagate interface connections from a lower level module instantiated with AUTOINST ?

Thanks.

Dominique

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2016-10-28T18:17:20Z


Normal AUTOINST will probably do what your asking, if not attach an example of what you want to happen.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Dominique Chen
Original Date: 2016-10-28T18:36:02Z


At the module instantiation, I have

sensor_slice slice0 (/AUTOINST/
// Interfaces
.sense_0 (sensor0_slice0), // Templated
.sense_1 (sensor1_slice0), // Templated
.sense_2 (sensor2_slice0), // Templated
.....

Inside module sensor_slice, I have
module sensor_slice (
sensor_afe_if sense_0 ,
sensor_afe_if sense_1 ,
sensor_afe_if sense_2 ,

where sensor_afe_if is the name of the interface.

At the top level where sensor_slice is instantiated, I'd like to see

module top (
sensor_afe_if sensor0_slice0,
sensor_afe_if sensor1_slice0,
sensor_afe_if sensor2_slice0,
...
);

What am I missing ?

Thank you.

Dominique

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant