feat(vivado): add IP packaging
Each module can now be added as an Vivado IP to the user repository.
Use addSrcModuleAsIp
instead of addSrcModule
ini init.
Use addFwkIp
to generate IP or add in BD design from IP repository.
example:
proc init {} { # Execute on the initialization, tree construction
addSrcModuleAsIp MODC $::fwfwk::SrcPath/module_c/tcl/main.tcl
}
proc doOnCreate {} { # Execute on the project creation
# add IP to the project # do not add if IP to be added in Xilinx BD design
addFwkIp "MODC"
}
Edited by Lukasz Butkowski