diff options
| author | Jim Lawson | 2016-11-02 13:29:15 -0700 |
|---|---|---|
| committer | Jim Lawson | 2016-11-02 13:45:50 -0700 |
| commit | 891c73d8819b6bd117b96ce3c77c72df023d3a4c (patch) | |
| tree | 93e96833baf7104a044d33a82f5907cb319d698f | |
| parent | 30b0d0e2b7e104dd16102f17a03d25fdb3ba617a (diff) | |
Move migration info to wiki.
| -rw-r--r-- | README.md | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -5,39 +5,6 @@ It is currently in BETA VERSION, so some Chisel features may change in the comin Please visit the [Wiki](https://github.com/ucb-bar/chisel3/wiki) for a more detailed description. -## Chisel2 Migration -For those moving from Chisel2, there were some backwards incompatible changes -and your RTL needs to be modified to work with Chisel3. The required -modifications are: - - - Wire declaration style: - ``` - val wire = Bits(width = 15) - ``` - becomes (in Chisel3): - ``` - val wire = Wire(Bits(width = 15)) - ``` - - - Sequential memories: - ``` - val addr = Reg(UInt()) - val mem = Mem(UInt(width=8), 1024, seqRead = true) - val dout = when(enable) { mem(addr) } - ``` - becomes (in Chisel3): - ``` - val addr = UInt() - val mem = SeqMem(1024, UInt(width=8)) - val dout = mem.read(addr, enable) - ``` - - Notice the address register is now internal to the SeqMem(), but the data - will still return on the subsequent cycle. - -Please refer to the [Chisel3 compatibility section](https://github.com/ucb-bar/chisel#chisel3) -for instructions on preparing your Chisel2 designs for Chisel3. - ## Overview Chisel3 is much more modular than Chisel2, and the compilation pipeline looks like: |
