-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug found in FMA, with enable MultiplePumping #1
Comments
Hi Xuan, Ofer. |
the warning is ok because at time 0 the enable signal is not defined but after the reset signal the enable is initialized properly and as such it works fine.. The interesting thing is that running this command on my old version of the code from perforce time, I get no error but the downloaded github version gives the above error.. I wonder what is different.. /nobackup/sameh06/FP-Gen/simv -l simv.log +vcs+lic+wait +vpdbufsize+100 +vpdfileswitchsize+100 +Seed=7062954 +NumTrans=1000 +Silent -l run_bb.log |
I think there is some changes in testbench. So I guess the random test numbers are different. By the way, all the p4 changes are preserved in git repo, so I think you can still compare code with 'git diff' command. |
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
The text was updated successfully, but these errors were encountered: