Closed jay20162016 closed 3 years ago
To test, run fomu.sh
in the synthesis
directory (do note to replace the programming logic with your own; I use a fomu with its dfu programming logic).
Check the boxes as so - do note that you must check the box in row 2 before checking the boxes in row 1.
Then uncheck all boxes like in the picture (besides reset in the right corner). Note that column 3 should not change (this image is of the buggy variant).
Can you see if altering the --seed
parameter changes the behaviour of the design, too?
No, altering --seed doesn't change anything.
I have already verified that in yosys, the output is the same, except for a few extra wires (the typical stuff).
Ok, specifically only that module; adding the module to everything else results in a big difference. So it might be a yosys bug.
Should be a yosys bug - see https://github.com/YosysHQ/yosys/issues/2751
I'm not sure if there is a bug in either tool. It would definitely be best if you could provide a more concrete example of what is going wrong.
Note that small changes in a design can definitely cause big changes in synthesis tool output, this is simply a consequence of how Yosys works and not a bug in its own right. Given the nature of asynchronous logic, it's possible that is what is breaking your design.
But the small, functionally identical changes change the synthesis tool's output completely in a way that functionally affects how the design works.
Hello! My design at https://github.com/jay20162016/fomu_async is not working again. Uncommenting the line with the "works" comment (and commenting the "doesn't work" lines) makes it work. Similarly, the "doesn't work" lines don't work. Here is the relevant part of the code:
edit: sink is just a buffer module.
I have already verified that in yosys, the output is the same, except for a few extra wires (the typical stuff).
Thanks in advance!