oddball / ipxact2systemverilog

Translates IPXACT XML to synthesizable VHDL or SystemVerilog
GNU General Public License v2.0
56 stars 19 forks source link

added a note about a way to get the XML schema local #4

Closed vermaete closed 10 years ago

vermaete commented 10 years ago

Just a small note how to get the XSD scheme local. It's up to you if you merge it or not. No big deal...

vermaete commented 10 years ago

The value of the reset XML element can now be specified as a hex value (e.g. 0xAB or 0Xab, ...). It's a std. Python way to detect the base of the string and convert it to an int (e.g. int(value, base=0)). One reset value of an existing register in the test.xml file is modified. All output (PDF, sv, VHDL, ...) is still the same.

vermaete commented 10 years ago

Okay, I've screwed the github way of working. It was planned to have two pull requests. One with the small change in the document (not important at all). And one which allow to specify the reset value of a register in hex.