Skip to content

Ability to control displayed radix of constants #601

@mkorbel1

Description

@mkorbel1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions