@donn@Kareem Farid Is there a reason to quit on "Resizing cell port" warnings during synthesis that I am not aware of? Generally, the tool should be able to remove unused wires before generating the netlist
Implicit width conversions are more often than not mistakes and their behavior may be undesirable.
They are very easy to workaround: if your wire has a larger width than the port, use an index, for example, and if your wire has a lower width than the port, explicitly concatenate it to 1s or 0s if it's an input or declare a wire called "unused" and concatenate it as your output.
IMO Verilog is not nearly strict enough as a language about these things. This should have never been allowed.
h
Hadir Khan
08/09/2023, 7:54 PM
Okay, though Yosys lists it as a warning, I was assuming this should not be a fatal problem and Yosys would be able to handle it
d
donn
08/10/2023, 7:29 AM
Why leave something to implicit handling/truncation/padding when a simple mistake can cost you thousands of dollars?
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.