@@ -130,12 +130,15 @@ def get_default_flow(self):
130130 def get_writer_flow (self ):
131131 return self ._writer_flow
132132
133- def create_initial_config (self , part = 'Arria10' , clock_period = 5 , io_type = 'io_parallel' , write_tar = False , ** _ ):
133+ def create_initial_config (
134+ self , part = 'Agilex7' , clock_period = 5 , hyperopt_handshake = False , io_type = 'io_parallel' , write_tar = False , ** _
135+ ):
134136 """Create initial configuration of the oneAPI backend.
135137
136138 Args:
137- part (str, optional): The FPGA part to be used. Defaults to 'Arria10'.
138- clock_period (int, optional): The clock period. Defaults to 5.
139+ part (str, optional): The FPGA part to be used. Defaults to 'Agilex7'.
140+ clock_period (int, optional): The clock period in ns. Defaults to 5.
141+ hyperopt_handshake (bool, optional): Should hyper-optimized handshaking be used? Defaults to False
139142 io_type (str, optional): Type of implementation used. One of
140143 'io_parallel' or 'io_stream'. Defaults to 'io_parallel'.
141144 write_tar (bool, optional): If True, compresses the output directory into a .tar.gz file. Defaults to False.
@@ -146,8 +149,9 @@ def create_initial_config(self, part='Arria10', clock_period=5, io_type='io_para
146149
147150 config = {}
148151
149- config ['Part' ] = part if part is not None else 'Arria10 '
152+ config ['Part' ] = part if part is not None else 'Agilex7 '
150153 config ['ClockPeriod' ] = clock_period
154+ config ['HyperoptHandshake' ] = hyperopt_handshake
151155 config ['IOType' ] = io_type
152156 config ['HLSConfig' ] = {}
153157 config ['WriterConfig' ] = {
@@ -167,7 +171,7 @@ def compile(self, model):
167171 Exception: If the project failed to compile
168172
169173 Returns:
170- string : Returns the name of the compiled library.
174+ Path : Returns the name of the compiled library.
171175 """
172176 outdir = Path (Path .cwd (), model .config .get_output_dir ())
173177 builddir = outdir / 'build'
0 commit comments