YosysHQ / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
3.31k stars 860 forks source link

intel/common/brams_map_m9k.v widthad_* and width_* swapped #4251

Open rherveille opened 4 months ago

rherveille commented 4 months ago

Version

yosys 0.36+58

On which OS did this happen?

Linux

Reproduction Steps

Generated altsyncram instances have widthad_a/width_a and widthad_b/width_b parameter values swapped Fixed by editing brams_map_m9k.v to: .widthad_b ( CFG_ABITS ), .width_b ( CFG_DBITS ), .widthad_a ( CFG_ABITS ), .width_a ( CFG_DBITS )

Tested and validated with experimental MAX10 flow.

Expected Behavior

.

Actual Behavior

.

KrystalDelusion commented 3 months ago

Is this fixed by #4262 ?

rherveille commented 3 months ago

It seems fixed for me. I checked the results and I can push the output verilog file (not vqm) through quartus. You can always try the updates on a fresh git clone.

Richard

On Mar 18, 2024, at 17:08, KrystalDelusion @.***> wrote:



Is this fixed by #4262https://github.com/YosysHQ/yosys/pull/4262 ?

— Reply to this email directly, view it on GitHubhttps://github.com/YosysHQ/yosys/issues/4251#issuecomment-2005386549, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYKSCMOGLGQ44Z36XRCCZTYY56XHAVCNFSM6AAAAABECUOCNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVGM4DMNJUHE. You are receiving this because you authored the thread.Message ID: @.***>