ucb-bar / chisel2-deprecated

chisel.eecs.berkeley.edu
388 stars 90 forks source link

Changed index literals to base 10 #681

Closed JackDavidson closed 8 years ago

JackDavidson commented 8 years ago

This is an alternate option to my other pull request. This simply changes the indexing literals/constants to base 10 for improved readability and better compatibility with verilator.

a change might be, for example:

assign xyz = somewire[2'h3:1'h0]; assign xyz = somewire[3:0]; // <= to this

see also: https://github.com/ucb-bar/chisel/pull/679

only this pull or the other one should be accepted

ghost commented 8 years ago

Can one of the admins verify this patch?

ucbjrl commented 8 years ago

ok to test