Skip to content

Question: execute command before generating a project using Vivado #754

@rafaelnp

Description

@rafaelnp

I am using PeakHDL to store synthesis time and date in an AXI4-Subordinate IP Core and have to execute register generation every time the project. containing this IP Core, is generated. The following code is used in a Makefile and performs the register generation successfully.

project:
        # generate sysinfo registers
        $(MAKE) -C ./hdl/ipcores/sysinfo/ all
        fusesoc run --setup --target=synth --no-export $(PROJ_NAME)

I took a look at the hook scripts. and as fas as I understood, they run after the project is generated. I also took a look at #488 and #353 and could not achieve any positive result. Is it possible to achieve what I described above?

FuseSoC version: 2.4.4
OS: Arch Linux - 6.17.2-arch1-1
Vivado: 2021.2

Thanks in advance for any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions