vijayvithal has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

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 (Cardinal) 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,