Perl Encapsulation

Guest
Hey Gentlemen,

I was wondering if there is a way to encapsulate Perl code in a
Verilog module so that on compilation ncverilog can expand on it. I'm
doing RTL for very large components and generate a lot of the code in
perl with small scripts. Is there a way to write part of the script in
the module itself to make it more readable and have ncverilog expand
on it?

Thanks!
 
On Mar 29, 3:19 pm, mandeep.si...@gmail.com wrote:
Hey Gentlemen,

I was wondering if there is a way to encapsulate Perl code in a
Verilog module so that on compilation ncverilog can expand on it. I'm
doing RTL for very large components and generate a lot of the code in
perl with small scripts. Is there a way to write part of the script in
the module itself to make it more readable and have ncverilog expand
on it?

Thanks!
http://search.cpan.org/~mykl/Text-EP3-1.10/lib/Text/EP3.pm

http://www.opencores.org/projects.cgi/web/perlilog/overview

-Alex
 
Wow that was fast!
Thanks ... I'll give EP3 a shot! This helps a lot...almost exactly
what I was looking for.
 

Welcome to EDABoard.com

Sponsor

Back
Top