edalize icon indicating copy to clipboard operation
edalize copied to clipboard

Api flow vivado

Open leajalil opened this issue 5 months ago • 3 comments

The "pnr" option doesn't perform any action on the flow. I expected the same action as the Vivado API tool, but it didn't happen.

leajalil avatar Aug 12 '25 17:08 leajalil

The configuration we have is:

targets:
    default: &default
        filesets:
            - rtl
    synth_impl_stage2_update:
        <<: *default
        description: Synthesis design
        default_tool: vivado
        toplevel: xcvr_wrapper_xcvu13p
        filesets_append:
            - constraints_stage1
            - constraints_stage2
            - tcl_stage2_update
        # -----------
        # Old config:
        # -----------
        #tools:
        #    vivado: {part: xcvu13p-fhgc2104-2l-e, source_mgmt_mode: All, pnr: none}
        # -----------
        # New config:
        # -----------
        flow: vivado
        flow_options:        
            part: xcvu13p-fhgc2104-2l-e
            source_mgmt_mode: All
            pnr: none
            frontends: [peakrdl]
            peakrdl_command: regblock
            peakrdl_options: [--cpuif axi4-lite]

I don't know if we're missing some configuration for the pnr=none option to apply.

I'll see if I can find more information.

leajalil avatar Aug 19 '25 18:08 leajalil

I have the same problem.

qarlosalberto avatar Sep 01 '25 15:09 qarlosalberto

@qarlosalberto @leajalil

I had to hack this to get a no-synth, only create XPR mode working, but in the process I fixed the synth only by doing the following:

edalize/flows/vivado.py -> change 66 from + .bit default target to synthesize

ArkoshEternal avatar Oct 24 '25 17:10 ArkoshEternal