Skip to content

[draft] [util, regtool] Introduce vendor specific attributes#44

Draft
engdoreis wants to merge 2 commits intomasterfrom
reggen
Draft

[draft] [util, regtool] Introduce vendor specific attributes#44
engdoreis wants to merge 2 commits intomasterfrom
reggen

Conversation

@engdoreis
Copy link
Owner

@engdoreis engdoreis commented Nov 5, 2025

This PR implements two possible approaches:

  1. This first commit is the simplest but it changes global variables of python modules.
  2. The second commit istead passes the dictionary for each module as an argument, but it changes many functions and modules.

Only one should be merged and therefore, the second commit should be dropped or squashed.

Vendor specific attributes are optional and does not affect reggen code
gen, they can be used by different tools for a vendor specific use case.
With this commit, vendor specific attributes can be defined either with
a argument or just by placing a file with the name
'vendor_specific_fiels.hjson' to the directory 'util/reggen'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant