jlpteaching / dinocpu

A teaching-focused RISC-V CPU design used at UC Davis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix DontCares

powerjg opened this issue · comments

According to @nganjehloo the rule of thumb should be

This is OK

val wire = DontCare

But, the is not OK

wire := DontCare

It would be better if we can remove all of the DontCare. Explicitly using 0 would be better.

Related, want to remove all switch statements.