Open carlosedp opened 3 months ago
I've added a workaround on https://github.com/carlosedp/edalize/commit/4a806a8f719787a13b8e122d59af6def6c4c5879 that allows passing defines in the filelist array. This can be used until symbiflow has a proper flag for defines which I've sent here: https://github.com/chipsalliance/f4pga/pull/669
I don't plan to open a PR for the workaround. I'll wait until the solution is added to symbiflow_synth and then I can get a final PR.
In my core, I use Symbiflow tool to synthesize and generate bitstream to an Artix 7 FPGA.
I recently needed to pass a vlogdefine to Yosys due to memory initialization but the parameter is not passed to Yosys correctly. It used to work before I needed to pass the DEFINE to Yosys.
In other tools like Trellis, the param is passed fine. Apparently using NextPNR it's also passed but I need to investigate it more since it requires a NextPNR which supports Xilinx.