Issue #421
Add an option for a custom header comment
| Status: | Feature | Start date: | 11/15/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Jeremy Bennett | % Done: | 0% |
|
| Category: | Invoking/Options | |||
| Target version: | - |
Description
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.
History
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.
Updated by Jeremy Bennett over 1 year ago
I'll have a go at this
Also available in: Atom
![[logo]](/img/veripool_small.png)