Open d-m-bailey opened 6 months ago
@RTimothyEdwards
I wonder if it needs a more forceful exit on error in a way that would halt the build process instead of just printing an error message.
Good point. What about caravan? It doesn't use gpio 14-24, so should it throw an error for invalid values for those gpio? What if the user mistakenly deletes a definition for a gpio?
One solution would be to fail on missing definitions (bad definitions would be missing) when doing the replacement in the mag/verilog.
Can we make that a new issue and go ahead with this update?
Require default constants in 13'hxxxx format. Require default constants to be 13 binary bits maximum. Standardize file names to lower case hex digits.
NOTE: Invalid values are merely ignored. No error code is returned.
Fixes #539 and #540