ucb-bar / chisel2-deprecated

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

add package object with new literal creation implicits #704

Closed chick closed 8 years ago

chick commented 8 years ago

This change allows chisel 2 to define literals using the new Chisel 3 notation UInt(7) => 7.U With this change we can change the tutorials to use the new idiom, and keep the tutorial runnable on either Chisel 2 or Chisel 3 without modification