Devaraja, Is this a question about vperl?
You speak of generating verilog code. Is the instantiation you speak of the instantiation of your block that is defined in verilog? What do you mean by "the instantiation part of the perl script"? --Marilyn Tom Phoenix wrote On 02/14/06 09:49,: > On 2/13/06, DEVARAJA AP <[EMAIL PROTECTED]> wrote: > > >> i wrote a perlscript to generate a verilog code with instantiations .in >> this >> after instantiation, the ports getting as eg >> module_name name(.a(a),.b(b),.......) >> >> but for connection sakeif want to connect a to some k and b to some >>p (say).here we wanted to change those names manually. is ther any way >>to do trhis automatically in the instantiation part of the perl script itself. > > > Almost certainly, what you want is possible. Perl is very versatile. > > Unfortunately, I cannot understand what you are asking about. It may > help if you include the Perl code that you're talking about. If > another language is better for you than English, feel free to try that > one. > > At a guess, maybe you want something like this code. Or maybe not... > > if ($alternate_site) { > $port = 'k'; > } else { > $port = 'a'; > } > > Good luck with it! > > --Tom Phoenix > Stonehenge Perl Training > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- Marilyn E. Sander [EMAIL PROTECTED] Database (CM) Engineer Phone (408)616-5651 internal 45651 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>