Fix literals to work in HDL too.