Max Korbel
Max Korbel
@RPG-coder-intc great! Let me know once you have a strategy mapped out if you'd like to review the approach. I expect there could be some tricky surprises in implementing this.
Why not make `postIncr` and `preIncr` support another input (which defaults to 1) so that the same function can support `++` and `+=`? Then the natural extension for subtraction would...
> I can make Logic addAssign(&ref=Const(value:1)) get reused the function within postIncr or preIncr Not sure what the difference would be between those two, but I guess you can code...
The public `tick` function is currently a little confusing since it could require multiple ticks to execute one timestamp. A more intuitive way to handle time progressing is to `await`...
An example of an equivalent API in ROHD could be: ```dart List a; // length of list is 5, each element width is 9 bits Logic b; // width is...
It's worth considering which is better a little further. It might be good to look at other Dart conventions for `toX` types of functions.
Instead of changing the behavior of the existing API, what if we add "try" versions like these: https://api.flutter.dev/flutter/dart-core/int/parse.html https://api.flutter.dev/flutter/dart-core/int/tryParse.html For example, `LogicValue.tryToInt()`
Sure, do you have some ideas on what might be good?
Some lint tool checks need this feature, so there is some urgency to get this implemented to make life easier for users producing SystemVerilog that passes through those tools.