Skip to content

Commit

Permalink
Fix PATH_TO_HYP_SDF assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabertaccini committed Oct 10, 2023
1 parent 7641ad4 commit 659f715
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tb/vip_carfield_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ module vip_carfield_soc
`ifndef PATH_TO_HYP_SDF
automatic string sdf_file_path = "./tb/hyp_vip/s27ks0641_verilog.sdf";
`else
automatic string sdf_file_path;
if (!$value$plusargs("PATH_TO_HYP_SDF=%s", sdf_file_path)) sdf_file_path = "";
automatic string sdf_file_path = `PATH_TO_HYP_SDF;
`endif
$sdf_annotate(sdf_file_path, hyperrams[p].chips[l].dut);
$display("Mem (%d,%d)",p,l);
Expand Down

0 comments on commit 659f715

Please sign in to comment.