We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Author Name: kishore babu nainappagari Original Redmine Issue: 1410 from https://www.veripool.org
Hi Wilson,
I would like to instantiate a module N times (N >= 2000) in another module like below.
adder inst1 ( .in1(in1), in2(in2),out(out)); ... adder inst1000 ( .in1(in1), in2(in2),out(out));
I tried generating 5 instantiations using AUTOINSERTLISP and AUTOINST like below but it was flagging an error.
May I pls know if there's a better way to do it
/AUTOINSERTLISP(insert (shell-command-to-string " foreach n ( 1 2 3 4 5 ) adder instn (/AUTOINST/ "))/
Pls suggest.
rgds Kishore
The text was updated successfully, but these errors were encountered:
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-03-23T11:29:25Z
The */ you are trying to insert is taken to end the AUTO, split it. Also avoid calling the shell to make it faster and portable.
/*AUTOINSERTLISP(dotimes (i 5) (insert " adder instn (/" "*AUTOINST*" "/);\n"))*/
Sorry, something went wrong.
Original Redmine Comment Author Name: kishore babu nainappagari Original Date: 2019-03-23T17:31:17Z
Hi Wilson, Thank you so much for your prompt response
No branches or pull requests
Author Name: kishore babu nainappagari
Original Redmine Issue: 1410 from https://www.veripool.org
Hi Wilson,
I would like to instantiate a module N times (N >= 2000) in another module like below.
adder inst1 ( .in1(in1), in2(in2),out(out));
...
adder inst1000 ( .in1(in1), in2(in2),out(out));
I tried generating 5 instantiations using AUTOINSERTLISP and AUTOINST like below but it was flagging an error.
May I pls know if there's a better way to do it
/AUTOINSERTLISP(insert (shell-command-to-string " foreach n ( 1 2 3 4 5 ) adder instn (/AUTOINST/ "))/
Pls suggest.
rgds
Kishore
The text was updated successfully, but these errors were encountered: