Skip to content

Bug found in FMA, with enable MultiplePumping #1

@xuanyoya

Description

@xuanyoya

Code version:
753d51f

To reproduce:
make -f $FPGEN/Makefile clean run GENESIS_PARAMS="top_FPGen.FPGen.Architecture=FMA top_FPGen.FPGen.FMA.FractionWidth=52 top_FPGen.FPGen.FMA.ExponentWidth=11 top_FPGen.FPGen.FMA.PipelineDepth=7 top_FPGen.FPGen.FMA.EnableMultiplePumping=YES top_FPGen.FPGen.FMA.EnableForwarding=NO top_FPGen.FPGen.FMA.MulShift.MUL0.TreeType=Wallace top_FPGen.FPGen.FMA.MulShift.MUL0.BoothType=1 " RUN="+Seed=7062954 +NumTrans=1000 +Silent"

Description:
Turn on EnableMultiplePumping signal, got warnings as following:
RT Warning: No condition matches in 'unique case' statement.
"genesis_synth/Pipelined_MultiplierP_unq1.v", line 148, for top_FPGen.FPGen.FMA.MulShift.MUL0, at time 0.
And result is an error:
29501: SENT: TypeA=Random SignA=1 ExpA=0x3b8 FracA=0x96015fd3152a4
29501: TypeB=PointOneOneOne SignB=1 ExpB=0x3fe FracB=0xfffffffffffff
29501: TypeC=Random SignC=0 ExpC=0x247 FracC=0x8a4c0d8a1da48
29501: EXPECTED: Type=Random Sign=0 Exp=0x3b8 Frac=0x96015fd3152a3
29501: FOUND: Type=Random Sign=0 Exp=0x3b7 Frac=0xd9ba64885ad3c
29501: bb896015fd3152a4xbfefffffffffffff+2478a4c0d8a1da48 = 3b7d9ba64885ad3c (3b896015fd3152a3) WRONG
29501: ERROR Found

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions