You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
...
artya7-35t-oss:
default_tool: symbiflowdescription: Digilent ArtyA7-35T Board using Symbiflow OSS Toolchainfilesets: [base, artya7-35t, proginfo, progload]generate: [artya7-35t]hooks:
post_run: [artya7-35t]tools:
symbiflow:
part: xc7a35tpackage: csg324-1vendor: xilinxpnr: vprtoplevel: Toplevelparameters:
- ENABLE_INITIAL_MEM_parameters:
ENABLE_INITIAL_MEM_:
description: Used by firtool so the memories are initialized with readmemh. https://github.com/llvm/circt/pull/5237paramtype: vlogdefinedatatype: booldefault: true
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.
The text was updated successfully, but these errors were encountered:
carlosedp
changed the title
Symbiflow tool doesm'
Symbiflow tool doesn't pass Yosys parameters when using VPR as PnR
Jun 5, 2024
I've added a workaround on carlosedp@4a806a8 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: chipsalliance/f4pga#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.
The text was updated successfully, but these errors were encountered: