rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Make `Logic`'s `toString()` method more insightful

Open mkorbel1 opened this issue 2 years ago • 4 comments

Motivation

The current toString for Logic just gives the type, name, and width. It could be more insightful than that.

Desired solution

It could show more information including the current value of the signal, the hierarchy where it is located (if available), and maybe some additional stuff.

Alternatives considered

Maybe it's nicer short and simple?

mkorbel1 avatar Mar 29 '22 04:03 mkorbel1

@mkorbel1 Let me try to look into this.

quekyj avatar May 29 '23 08:05 quekyj

Sure, do you have some ideas on what might be good?

mkorbel1 avatar May 30 '23 17:05 mkorbel1

  • Adding Hierarchy
  • Showing the current value of the signals

quekyj avatar May 31 '23 00:05 quekyj

  • Logic's Name
  • Width

quekyj avatar May 31 '23 00:05 quekyj