Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Emacs autoinst & templates

Status
Not open for further replies.

ivlsi

Advanced Member level 3
Advanced Member level 3
Joined
Feb 17, 2012
Messages
883
Helped
17
Reputation
32
Reaction score
16
Trophy points
1,298
Visit site
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!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top