File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ def compile_with_floorplan_dse(ctx: click.Context, **kwargs: dict) -> None:
9999 kwargs ["gen_graphir" ] = True
100100 kwargs ["enable_synth_util" ] = False
101101 kwargs ["run_add_pipeline" ] = True
102+ succeeded = []
102103 for floorplan_file in floorplan_files :
103104 _logger .info ("Using floorplan file: %s" , floorplan_file )
104105 clean_obj = {
@@ -108,7 +109,19 @@ def compile_with_floorplan_dse(ctx: click.Context, **kwargs: dict) -> None:
108109 with click .Context (
109110 compile_entry , info_name = compile_entry .name , obj = clean_obj
110111 ) as new_ctx :
111- forward_applicable (new_ctx , compile_entry , kwargs )
112+ try :
113+ forward_applicable (new_ctx , compile_entry , kwargs )
114+ succeeded .append (floorplan_file )
115+ except Exception :
116+ _logger .exception (
117+ "Error during compilation with floorplan %s" ,
118+ floorplan_file ,
119+ )
120+ continue
121+
122+ _logger .info ("Found %d successful compilations with floorplan." , len (succeeded ))
123+ for floorplan_file in succeeded :
124+ _logger .info ("Successful compilation with floorplan: %s" , floorplan_file )
112125
113126
114127compile_with_floorplan_dse .params .extend (analyze .params )
You can’t perform that action at this time.
0 commit comments