sdnellen / open-register-design-tool

Tool to generate register RTL, models, and docs using SystemRDL or JSpec input
Apache License 2.0
15 stars 3 forks source link

XML output should use std notation for hex #13

Closed sjalloq closed 4 years ago

sjalloq commented 5 years ago

Not sure how I've not seen this before but it looks like some of the fields in the XML output are in hex but aren't prefixed with a '0x'.

For example, I have a reset value of 5'd10 which gets translated to <reset>a</reset>.

For now am I safe to assume these will always be in hex?

sdnellen commented 5 years ago

Yes, reset is hex in xml output though it's missing the 0x prefix.