ivlsi
Advanced Member level 3
- Joined
- Feb 17, 2012
- Messages
- 883
- Helped
- 17
- Reputation
- 32
- Reaction score
- 16
- Trophy points
- 1,298
- Activity points
- 6,868
Hi All,
How to write AUTOINST templates for the instance name, not for a module name?
For example, I have the following instances:
module_name i_instance_name1 ();
module_name i_instance_name2 ();
Regular Template will looks like following:
/* module_name AUTO_TEMPLATE (
// Outputs
...
// Input
...
); */
But I'd like to be able to write templates for instance names (not module names). Something like following:
/* instance_name AUTO_TEMPLATE (
// Outputs
...
// Input
...
); */
How can I do so? So, for the same module name I'd like to write two difference templates for two difference instances.
Thank you!
How to write AUTOINST templates for the instance name, not for a module name?
For example, I have the following instances:
module_name i_instance_name1 ();
module_name i_instance_name2 ();
Regular Template will looks like following:
/* module_name AUTO_TEMPLATE (
// Outputs
...
// Input
...
); */
But I'd like to be able to write templates for instance names (not module names). Something like following:
/* instance_name AUTO_TEMPLATE (
// Outputs
...
// Input
...
); */
How can I do so? So, for the same module name I'd like to write two difference templates for two difference instances.
Thank you!