Other Outputs - Juniper/open-register-design-tool GitHub Wiki
Text listing of registers
Specifying the -reglist option on the command line will generate a text listing of all registers. Note that the generated register listing is completely unrolled including replicated registers/register sets, so output can be quite large. Several ordt control parameters effect the output listing:
Example reglist output (with field info):
0x100 size: 32 fields: 1 bits: 6 int bar.a_reg
count6 [5:0] mode: RC reset: ( bar.a_reg.count6 )
0x104 size: 32 fields: 1 bits: 8 int bar.const_reg
const_fld [7:0] mode: RO reset: 8'hff ( bar.const_reg.const_fld = 8'hff )
0x200 size: 32 fields: 1 bits: 32 ext blabla_r1
field32 mode: RW reset: ( blabla_r1.field32 )
C header register info
Specifying the -cheader option on the command line will generate a C .h file containing register address and field access macro definitions. Note that the generated register/field listing is completely unrolled including replicated registers/register sets, so output can be quite large. Several ordt control parameters effect the output listing:
Other outputs
Outputs to generate legacy verilog, ralf, and json also exist in various states of completeness/usefulness.