Motivation
When creating a Const (or even LogicValue?), it is sometimes nice to be able to view the constant in a particular radix. For LogicValue, there's already methods to convert, but in generated outputs (e.g. SystemVerilog), it's automatically selected. It would be nice if we could control on a per-Const basis the "preferred" radix to display.
Desired solution
Some sort of option to control radix printing for generated outputs.
Alternatives considered
No response
Additional details
No response
Motivation
When creating a
Const(or evenLogicValue?), it is sometimes nice to be able to view the constant in a particular radix. ForLogicValue, there's already methods to convert, but in generated outputs (e.g. SystemVerilog), it's automatically selected. It would be nice if we could control on a per-Constbasis the "preferred" radix to display.Desired solution
Some sort of option to control radix printing for generated outputs.
Alternatives considered
No response
Additional details
No response