-
Notifications
You must be signed in to change notification settings - Fork 9
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
Sync upstream #74
Sync upstream #74
Conversation
"techmap -map +/cmp2lcu.v" for decomposing arithmetic compares to $lcu
Co-Authored-By: whitequark <whitequark@whitequark.org>
…hole value recovery using that mode.
…`qbfsat` command.
Co-Authored-By: David Shah <dave@ds0.me>
This bug is almost certainly an error in the BLIF, not in VPR. Whether the error is in upstream Yosys or the symbiflow-arch-defs techmap is unclear. If I had to guess what the issue is, I believe the issue at hand is related to illegal LUT rotations w.r.t. :
I believe the correct ABC9 representation is a ABC9_RAM5, not ABC_RAM6. This is because the high address line must but connected to the high LUT pin for the LUT6 mux to stay high. I can provide diagrams explaining more, but I believe the solution here is to change ABC9_RAM6 -> ABC9_RAM5, and drop the |
@litghost Thanks for the insight. Turns out that Yosys does not support ABC9_RAM5, by adding the support for it the test passes correctly. I'll try to get this upstream. For now I will integrate the change in this PR in yet another |
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
…ble_ramb18e_w2', 'wip/fix-ram32x1d-abc' and 'wip/remove-srl-abc9-map' into sync_upstream
This is an Octopus Merge commit of the following branches: wip/carry4-cout wip/disable-primitives wip/disable_ramb18e_w2 wip/fix-ram32x1d-abc wip/remove-srl-abc9-map Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
The SRL errors are likely exact same failure. ABC is likely rotating the high and low pins, which again are illegal rotations. |
@litghost Yep, trying to apply the same fix there. But I think this should apply to SRL16 only? |
I believe there is a similar issue with the SRL32. Basically anytime you see a 1'b1 or 1'b0 in a ABC_RAM6 that is likely a bug. |
Unfortunately the same fix for the RAM32X1D using RAM5 does not work (both on SRL16 and SRL32), the testbench still fails. I have currently produced a new master+wip that does not have the I am trying to make a super simple version of the testbench to prove the problem and open an issue upstream. |
There was an error in the previous upstream merge, as the master was not completely up to date with upstream.
What is new is the following:
.lut
and.box
fromtechlib/xilinx
has been removed: all the abc related files are now autogenerated. I have added the delay information followin the same pattern as the normal CARRY4 (with the necessary difference) to resemble the old.box
definition.in the synthesis script of xilinx there needs to be the
-specify
option when reading the cells_sim.v file. This adds the delay information to the auto-generated.lut
and.box
files.I am running now tests from symbiflow arch-defs without the
-nowidelut
option that I needed to add, to see if that is solved now.ABC now works fine also with the
mfs
step, which was removed in the previous upstream sync.