Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Help with deciding on module namespace (Verilog::VCD::* ?)

by vijayvithal (Novice)
on May 16, 2017 at 18:29 UTC ( #1190398=perlquestion: print w/replies, xml ) Need Help??
vijayvithal has asked for the wisdom of the Perl Monks concerning the following question:


I have written a module to write VCD (Value Change Dump) files.

There is already a module on CPAN called Verilog::VCD which reads VCD Files.

I have contacted the author(Gene Sullivan) over email to check whether I can use the namespace and create my module as Verilog::VCD::Writer, Verilog::VCD::ToVerilogStimulus etc. And he recommended seeking the wisdom of the monks regarding any confusion this can cause during indexing, or to the end user.

Is it ok to extend the Verilog::VCD namespace or should I create a new namespace e.g. HDL::VCD or Waveform::VCD and put my modules there

  • Comment on Help with deciding on module namespace (Verilog::VCD::* ?)

Replies are listed 'Best First'.
Re: Help with deciding on module namespace (Verilog::VCD::* ?)
by choroba (Chancellor) on May 16, 2017 at 18:42 UTC
    I don't understand Verilog, but if your modules handle VCD files in a way that was not present in the original module, extending the namespace sounds like a reasonable step. If the Monastery isn't enough, you can also try PrePAN.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1190398]
Approved by toolic
Front-paged by toolic
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-09-21 11:06 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (245 votes). Check out past polls.