hdl
hdl copied to clipboard
spi_engine: Create interface_ip.tcl
PR Description
Use tcl script instead of static xmls for the interface. Easier to mantain and are not gitignored.
PR Type
- [ ] Bug fix (change that fixes an issue)
- [ ] New feature (change that adds new functionality)
- [ ] Breaking change (has dependencies in other repos or will cause CI to fail)
PR Checklist
- [X] I have followed the code style guidelines
- [X] I have performed a self-review of changes
- [ ] I have compiled all hdl projects and libraries affected by this PR
- [ ] I have tested in hardware affected projects, at least on relevant boards
- [X] I have commented my code, at least hard-to-understand parts
- [X] I have signed off all commits from this PR
- [ ] I have updated the documentation (wiki pages, ReadMe files, Copyright etc)
- [X] I have not introduced new Warnings/Critical Warnings on compilation
- [ ] I have added new hdl testbenches or updated existing ones
This pr had the unfortunate side effect of requiring renaming spi_master to spi_engine because dynamic interfaces need to be prefixed by the IP name.
Alternatively, I could have renamed to spi_engine_master
instead of spi_engine
, however for the other framework, I'm using the IP name as the interface, and for consistence I named the interface the IP name.
This pr had the unfortunate side effect of requiring renaming spi_master to spi_engine
And unfortunately the copyright year for all the edited files should be updated to contain 2024 as well... so for example if it was "2017, 2019, 2022", you would have to add ", 2024" and not a range.
Done, all projects/libraries were edited on 2023, so I extended the range. I will squash the commits on merge.
Please fix conflicts
Force pushed to update cn0540 common db, that on pr #1207 changed to use the spi_engine script. Now the only change on this file is the interface itself
running "make clean" inside "/hdl/library/spi_engine/interfaces" does not remove .sv files
I added to the removal list for every /**/interfaces/
and updated the .gitignore on 7539df769.