Skip to content
Snippets Groups Projects
Commit 657ec60d authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Vitis] slightly improved VitisBuild enable_link comment

parent cfdf329d
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ class CreateVitisXO(Transformation): ...@@ -116,7 +116,7 @@ class CreateVitisXO(Transformation):
) )
arg_id += 1 arg_id += 1
args_string.append( args_string.append(
"{numReps:0:%s:%s:0x4:0x1C:uint:0}" "{numReps:0:%s:%s:0x4:0x1C:uint:0}"
% (str(arg_id), axilite_intf_name) % (str(arg_id), axilite_intf_name)
) )
arg_id += 1 arg_id += 1
...@@ -340,8 +340,8 @@ class VitisBuild(Transformation): ...@@ -340,8 +340,8 @@ class VitisBuild(Transformation):
floorplan_file: path to a JSON containing a dictionary with SLR assignments floorplan_file: path to a JSON containing a dictionary with SLR assignments
for each node in the ONNX graph. Must be parse-able by for each node in the ONNX graph. Must be parse-able by
the ApplyConfig transform. the ApplyConfig transform.
enable_link: enable linking .xo files enable_link: enable linking kernels (.xo files), otherwise just synthesize
them independently.
""" """
def __init__( def __init__(
...@@ -368,10 +368,7 @@ class VitisBuild(Transformation): ...@@ -368,10 +368,7 @@ class VitisBuild(Transformation):
# first infer layouts # first infer layouts
model = model.transform(InferDataLayouts()) model = model.transform(InferDataLayouts())
# prepare at global level, then break up into kernels # prepare at global level, then break up into kernels
prep_transforms = [ prep_transforms = [InsertIODMA(512), InsertDWC()]
InsertIODMA(512),
InsertDWC(),
]
for trn in prep_transforms: for trn in prep_transforms:
model = model.transform(trn) model = model.transform(trn)
model = model.transform(GiveUniqueNodeNames()) model = model.transform(GiveUniqueNodeNames())
...@@ -420,6 +417,6 @@ class VitisBuild(Transformation): ...@@ -420,6 +417,6 @@ class VitisBuild(Transformation):
# set platform attribute for correct remote execution # set platform attribute for correct remote execution
model.set_metadata_prop("platform", "alveo") model.set_metadata_prop("platform", "alveo")
#create driver # create driver
model = model.transform(MakePYNQDriver(platform="alveo")) model = model.transform(MakePYNQDriver(platform="alveo"))
return (model, False) return (model, False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment