Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add an option for a custom header comment #421
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 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 , --header-comment-lgpl3 , --header-comment-perl-artistic and so on to insert standard headers for well-known FOSS licenses.
Original Redmine Comment
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.