Re: hi please clarify my doubts

2006-02-14 Thread Marilyn Sander
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]
>  
> 
> 

-- 

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]
 




Re: hi please clarify my doubts

2006-02-14 Thread Tom Phoenix
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]
 




hi please clarify my doubts

2006-02-13 Thread DEVARAJA AP
HI
   
   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.please 
help me.
   

 Advance Thanks

  devaraja


-
 
 What are the most popular cars? Find out at Yahoo! Autos