[util/design] Create a make-ip script that generates directory structure and boilerplate files
It would be really nice to have a simple make-comportable-ip script that automatically creates the directory structure and basic files needed (similar to how fpvgen, uvmdvgen or make_new_dif work). This would make the process of creating a new comportable IP a bit less cumbersome and faster, since we currently just manually copy these files over from other existing IPs.
Files that could be generated with such a script:
- prj.hjson
- example hjson
- checklist markdown
- documentation markdown
- fusesoc core file
- empty lint waivers
- empty RTL shell
Maybe if the directory already exists it could check and say what is missing (with an option to create the baseline)? (I am fairly sure usbdev and usbuart have fallen behind the times)
Since this sort of script only gets run every couple of months, it's always out of date in my experience. My preference is to just copy a folder and use sed to rename appropriately.
This sounds like a "good first issue". I agree with @rswarbrick that such scripts tend to get out of date. However, copying over a folder and start to edit doesn't sound like the perfect solution either: Which folder/IP should users start from? A second use case of the script would be to create documentation for the directory structure.