Add an option for a custom header comment
|Assignee:||Jeremy Bennett||% Done:||
As the FAQ makes clear, the user retains their own copyright in the generated code from Verilator. Good practice is to include a summary of the copyright and license in each source code file.
This is a suggestion for a new option --header-comment <filename> to allow a user to supply custom text to be included as a comment at the top of the generated files.
It would even be possible to extend this with --header-comment-gpl3 <copyright string>, --header-comment-lgpl3 <copyright string>, --header-comment-perl-artistic <copyright string> and so on to insert standard headers for well-known FOSS licenses.
Updated by Wilson Snyder over 1 year ago
- Status changed from New to Feature
- Assignee set to Jeremy Bennett
If you'd like to take a stab at the first version (header from a file) I'm game to accept it back. Not sure how much it would be used, so I'd keep it simple and not have standard license versions yet esp since open source HW copyrights are rare.
Also available in: Atom