What's the actual difference between using a mux-style ternary (a ? b : c) vs if/else chains in an FSM?

I've been grinding through the Lemmings FSM problems (HDLBits) and after several rounds of debugging my own if/else based next_state logic, I saw a solution that wrote the entire transition logic as nested ternaries, like this:

next_state = (ground)? (dig)? DIGGING_L : (bump_left)? RIGHT : LEFT : FALLING_L;

vs what I wrote, which was a wall of if (bump_left && ground && !dig) ... else if (...).

Both should synthesize to muxes under the hood, so is this purely a style thing, or is there an actual reason (readability, synthesis efficiency, fewer bugs from priority ordering, whatever) that experienced RTL designers reach for nested ternaries/case-based muxes over long if/else chains?

Personally I use if/else because it's easier for me to debug step-by-step. Curious whether that's actually a worse habit long-term, or if it's genuinely just style.

Would appreciate hearing from anyone who does this for a living, since apparently this one was written by an NVIDIA engineer and it's making me rethink how I structure combinational logic in general.

reddit.com
u/MessageEmpty2594 — 7 days ago

Single sharing ladies PG near BTM metro, budget 20K

Hi, looking for a single sharing ladies PG near BTM Layout metro, budget around 20K.

There are plenty of PGs in the area, but the single sharing rooms don't feel worth what they charge. Poor ventilation, bad hygiene, cramped rooms. I found one really good place about 200m from the metro, but the owner quoted about 20k for single sharing, which is well over budget.

I have already checked most places on 11th, 13th and 14th Main in 2nd Stage. Nothing stood out.

Looking to move in by mid August/ Sept first week. Budget is capped at 20k. Attached bathroom is needed.

If you know of anything I might have missed, please let me know. Thanks!

reddit.com
u/MessageEmpty2594 — 13 days ago
▲ 2 r/bangloreflatsflatmate+1 crossposts

Single sharing ladies PG near BTM metro, budget 20K

Hi, looking for a single sharing ladies PG near BTM Layout metro, budget around 20K.

There are plenty of PGs in the area, but the single sharing rooms don't feel worth what they charge. Poor ventilation, bad hygiene, cramped rooms. I found one really good place about 200m from the metro, but the owner quoted about 20k for single sharing, which is well over budget.

I have already checked most places on 11th, 13th and 14th Main in 2nd Stage. Nothing stood out.

Looking to move in by mid August/ Sept first week. Budget is capped at 20k. Attached bathroom is needed.

If you know of anything I might have missed, please let me know. Thanks!

reddit.com
u/MessageEmpty2594 — 15 days ago

Non EU MSc student planning on doing thesis abroad in Germany

I am a non EU student in Electrical Engineering, I recieved an internship (3 months) + thesis (~7.5 - 8 months) offer in Germany. I was wondering if I have to be registered to a house in The Netherlands in order to keep my RP valid.

Would appreciate some advice on this. Happy to connect with anybody in the same situation or been through the same thing. Process seems confusing.

Thanks!

reddit.com
u/MessageEmpty2594 — 3 months ago

Non EU student planning to do internship and thesis in Germany.

I am a non EU student at TU Delft, I recieved an internship (3months) + MSc thesis (~7.5 - 8months) offer in Germany. I was wondering if I have to be registered to a house in The Netherlands in order to keep my Dutch RP valid.

Would appreciate some advice on this. Happy to connect with anybody in the same situation or been through the same thing. Process seems confusing.

Thanks!

reddit.com
u/MessageEmpty2594 — 3 months ago

Where do I look for front-end digital summer internships in the Netherlands?

I am an MSc student at TU Delft. I am looking for front-end digital internships for the summer, either in RTL design or design verification in the Netherlands, but found none so far. I've tried looking almost everywhere, but there are barely any openings for summer internships or thesis.

If anybody has any idea or experiences, I'd love to hear from you. Either ways, I hope to find something soon, it is indeed frustrating.

Thank you for your time!

reddit.com
u/MessageEmpty2594 — 3 months ago