The xml writer can use for or foreach kind of loops to replicate multiple definitions for similar kind of registers and fields. Also the conditional statements like if-condition can be used when elaborating these loops
"DUOLOG : Is this more an environment to enter XML?
ATRENTA: An example from SystemRDL (see chapter 13.1 , Perl preprocessing) - we may not want to add a full preprocessor though. If we add define-instantiate (see requirement 164), we could have a variable notation based on an iterator value & and atttach an iterator to the instance.
DUOLOG via martin: DEFER
SNPS: XML is interchange format, not capture language. Requirement of capture environment."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"DUOLOG : Is this more an environment to enter XML?
ATRENTA: An example from SystemRDL (see chapter 13.1 , Perl preprocessing) - we may not want to add a full preprocessor though. If we add define-instantiate (see requirement 164), we could have a variable notation based on an iterator value & and atttach an iterator to the instance.
DUOLOG via martin: DEFER
SNPS: XML is interchange format, not capture language. Requirement of capture environment."