Don't use Vec as lvalue
This commit is contained in:
parent
546205b174
commit
1718333f83
@ -131,8 +131,10 @@ class FPUDecoder extends Module
|
|||||||
FSQRT_D -> List(FCMD_SQRT, N,Y,Y,N,N,Y,X,N,N,N,N,N,N,Y,Y,Y)
|
FSQRT_D -> List(FCMD_SQRT, N,Y,Y,N,N,Y,X,N,N,N,N,N,N,Y,Y,Y)
|
||||||
))
|
))
|
||||||
val s = io.sigs
|
val s = io.sigs
|
||||||
Vec(s.cmd, s.ldst, s.wen, s.ren1, s.ren2, s.ren3, s.swap12, s.swap23, s.single, s.fromint,
|
val sigs = Seq(s.cmd, s.ldst, s.wen, s.ren1, s.ren2, s.ren3, s.swap12,
|
||||||
s.toint, s.fastpipe, s.fma, s.div, s.sqrt, s.round, s.wflags) := decoder
|
s.swap23, s.single, s.fromint, s.toint, s.fastpipe, s.fma,
|
||||||
|
s.div, s.sqrt, s.round, s.wflags)
|
||||||
|
sigs zip decoder map {case(s,d) => s := d}
|
||||||
}
|
}
|
||||||
|
|
||||||
class FPUIO extends Bundle {
|
class FPUIO extends Bundle {
|
||||||
|
Loading…
Reference in New Issue
Block a user