Côme

Results 169 comments of Côme

@Dolu1990 I don't understand, what should we do with this PR?

This does not work because of types: ```scala val IDLE = State() setEncoding(SpinalEnumEncoding( IDLE -> 0 )) ``` `(spinal.lib.fsm.State, Int)`, expected `(BigInt, BigInt)` I also tried by wrapping `IDLE` into...

I have tried the alternative with mapping but I could not make it work because `indexOf()` returns an `Int` instead of a `BigInt`. The shorter way you added seems great...

> Will it work with values such as `B"1010"`? This is related to https://github.com/SpinalHDL/SpinalHDL/issues/161

@Jeff-Ciesielski did you manage to implement it or design the API?

So let's say that: * magically generating gray-like encoding for FSM is not planned (won't open an issue, quite hard to define because it requires to know which transitions are...

Hi Pathfinder @lsteveol, any news about this PR and the linked issue?

This PR is old and has conflicts so I close it, but it is still linked to #251 so that people can read it to fix #251.

Hmm [SOURCE_DATE_EPOCH](https://reproducible-builds.org/docs/source-date-epoch/) is not set by `sbt` ```scala object TestEnv extends App { println( sys.env .get("SOURCE_DATE_EPOCH") .map(sde => new java.util.Date(sde.toLong * 1000)) ) } ```