Closed prdwivedi closed 3 years ago
merged - resolved a couple minor conflicts in Ordt.java and test script
I see two problems:
Open Register Design Tool, version=211019.01, input=test.rdl Ordt: reading parameters from test.parms... Ordt: building null... *** WARNING ***: register r0 is neither readable nor writeable *** WARNING ***: register r1 is neither readable nor writeable *** WARNING ***: register r2 is neither readable nor writeable Ordt: writing null file gen.h... Ordt complete Tue Sep 20 14:58:47 PDT 2022
Not sure if anything went wrong when compiling top level .jar wrt. top of tree. Ptal. TIA.
Well, after a very extended delay was able to devote some time to cleanup of this repo. Cheader should be usable in new release.
Example Usage:
java -jar Ordt.jar -cheader
Within .parms parameters file:
Enabling 'generate_memory_map' will write registers ( reg{ } ) and their addresses in an enum structure.\ Enabling 'generate_bitfield' will write register fields ( field{ } ) as BIT and GENMASK macros.\ Enabling 'generate_explicit_functions' will include definitions for BIT and GENMASK in the generated header file.\ Disabling 'generate_explicit_functions' will cause a dependency and expect to define BIT and GENMASK.