You are on page 1of 21

printf $fh1 "if(expected_cfg_sataa_config === hsio_vif.

cfg_sataa_config )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sataa_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sataa_config,hsio_vif.cfg_sataa_config))';

printf $fh1 "\n\n if(expected_cfg_satab_config === hsio_vif.cfg_satab_config)\n";


printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_satab_config), UVM_HIGH)';
printf $fh1 "\n else\n";

printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual


value is=%h", expected_cfg_satab_config,hsio_vif.cfg_satab_config))';

printf $fh1 "\n\n if(expected_cfg_satac_config === hsio_vif.cfg_satac_config)\n";


printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_satac_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_satac_config, hsio_vif.cfg_satac_config))';

printf $fh1 "\n\n if(expected_cfg_satad_config === hsio_vif.cfg_satad_config )\n";


printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_satad_config), UVM_HIGH)' ;
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_satad_config,hsio_vif.cfg_satad_config))';

printf $fh1 "\n\n if(expected_cfg_e100ga_config ===


hsio_vif.cfg_e100ga_config )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e100ga_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e100ga_config, hsio_vif.cfg_e100ga_config))';

printf $fh1 "\n\n if(expected_cfg_e100gb_config ===


hsio_vif.cfg_e100gb_config)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e100gb_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e100gb_config,hsio_vif.cfg_e100gb_config))';

printf $fh1 "\n\n if(expected_cfg_e25ga_config ===


hsio_vif.cfg_e25ga_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e25ga_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e25ga_config,hsio_vif.cfg_e25ga_config))';

printf $fh1 "\n\n if(expected_cfg_e25gb_config === hsio_vif.cfg_e25gb_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value=hsio_vif.cfg_e25gb_config= %h", hsio_vif.cfg_e25gb_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e25gb_config))';

printf $fh1 "\n\n if(expected_cfg_e25gc_config === hsio_vif.cfg_e25gc_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e25gc_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e25ga_config,hsio_vif.cfg_e25gc_config))';

printf $fh1 "\n\n if(expected_cfg_e25gd_config === hsio_vif.cfg_e25gd_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e25gd_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e25gd_config,hsio_vif.cfg_e25gd_config))';

printf $fh1 "\n\n if(expected_cfg_e40ga_config === hsio_vif.cfg_e40ga_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e40ga_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e40ga_config,hsio_vif.cfg_e40ga_config))';

printf $fh1 "\n\n if(expected_cfg_e40gb_config === hsio_vif.cfg_e40gb_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e40gb_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e40gb_config,hsio_vif.cfg_e40gb_config))';

printf $fh1 "\n\n if(expected_cfg_e50ga_config === hsio_vif.cfg_e50ga_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value %h", hsio_vif.cfg_e50ga_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e50ga_config,hsio_vif.cfg_e50ga_config))';
printf $fh1 "\n\n if(expected_cfg_e50gb_config === hsio_vif.cfg_e50gb_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_e50gb_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_e50gb_config,hsio_vif.cfg_e50gb_config))';

printf $fh1 "\n\n if(expected_cfg_pexa_config === hsio_vif.cfg_pexa_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_pexa_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_pexa_config,hsio_vif.cfg_pexa_config))';

printf $fh1 "\n\n if(expected_cfg_pexc_config === hsio_vif.cfg_pexc_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_pexc_config), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_pexc_config,hsio_vif.cfg_pexc_config))';

printf $fh1 "\n\n if(expected_cfg_sgmiia_config ===


hsio_vif.cfg_sgmiia_config )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiia_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiia_config,e=hsio_vif.cfg_sgmiia_config ))';

printf $fh1 "\n\n if(expected_cfg_sgmiib_config ===


hsio_vif.cfg_sgmiib_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiib_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiib_config,hsio_vif.cfg_sgmiib_config ))';

printf $fh1 "\n\n if(expected_cfg_sgmiic_config ===


hsio_vif.cfg_sgmiic_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiic_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiic_config,hsio_vif.cfg_sgmiic_config ))';

printf $fh1 "\n\n if(expected_cfg_sgmiid_config ===


hsio_vif.cfg_sgmiid_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiid_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiid_config,hsio_vif.cfg_sgmiid_config ))';

printf $fh1 "\n\n if(expected_cfg_sgmiie_config ===


hsio_vif.cfg_sgmiie_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value=%h", hsio_vif.cfg_sgmiie_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiie_config,hsio_vif.cfg_sgmiie_config ))';

printf $fh1 "\n\n if(expected_cfg_sgmiif_config ===


hsio_vif.cfg_sgmiif_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiif_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiif_config,hsio_vif.cfg_sgmiif_config))';

printf $fh1 "\n\n if(expected_cfg_sgmiig_config ===


hsio_vif.cfg_sgmiig_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiig_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiig_config,hsio_vif.cfg_sgmiig_config))';

printf $fh1 "\n\n if(expected_cfg_sgmiih_config ===


hsio_vif.cfg_sgmiih_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_sgmiih_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_sgmiih_config,hsio_vif.cfg_sgmiih_config ))';

printf $fh1 "\n\n if(expected_cfg_xfia_config === hsio_vif.cfg_xfia_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfia_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfia_config,hsio_vif.cfg_xfia_config ))';

printf $fh1 "\n\n if(expected_cfg_xfib_config === hsio_vif.cfg_xfib_config )\n";


printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfib_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfib_config,hsio_vif.cfg_xfib_config ))';

printf $fh1 "\n\n if(expected_cfg_xfic_config = ===


hsio_vif.cfg_xfib_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfic_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfic_config,hsio_vif.cfg_xfic_config ))';

printf $fh1 "\n\n if(expected_cfg_xfid_config === hsio_vif.cfg_xfid_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfid_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfid_config,hsio_vif.cfg_xfid_config))';

printf $fh1 "\n\n if(expected_cfg_xfie_config === hsio_vif.cfg_xfie_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfie_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfie_config,hsio_vif.cfg_xfie_config))';

printf $fh1 "\n\n if(expected_cfg_xfif_config === hsio_vif.cfg_xfif_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfif_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfif_config,hsio_vif.cfg_xfif_config))';

printf $fh1 "\n\n if(expected_cfg_xfig_config === hsio_vif.cfg_xfig_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfig_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfig_config,hsio_vif.cfg_xfig_config))';

printf $fh1 "\n\n if(expected_cfg_xfih_config === hsio_vif.cfg_xfih_config )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_xfih_config ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_xfih_config,hsio_vif.cfg_xfih_config ))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_by_n_rate_sel ===


hsio_vif.cfg_lnx_0_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_0_by_n_rate_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_0_by_n_rate_sel,hsio_vif.cfg_lnx_0_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_proto_sel === hsio_vif.cfg_lnx_0_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_0_proto_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", (expected_cfg_lnx_0_proto_sel, hsio_vif.cfg_lnx_0_proto_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_rx_lane_pd ===


hsio_vif.cfg_lnx_0_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_0_rx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_0_rx_lane_pd , hsio_vif.cfg_lnx_0_rx_lane_pd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_rx_use_slow_pll ===


hsio_vif.cfg_lnx_0_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h",hsio_vif.cfg_lnx_0_rx_use_slow_pll ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
(expected_cfg_lnx_0_rx_use_slow_pll,hsio_vif.cfg_lnx_0_rx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_tx_lane_pd ===


hsio_vif.cfg_lnx_0_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h",hsio_vif.cfg_lnx_0_tx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",(expected_cfg_lnx_0_tx_lane_pd,hsio_vif.cfg_lnx_0_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_tx_set_output_cm ===


hsio_vif.cfg_lnx_0_tx_set_output_cm )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_0_tx_set_output_cm ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_0_tx_set_output_cm
hsio_vif.cfg_lnx_0_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_0_tx_use_slow_pll ===


hsio_vif.cfg_lnx_0_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h",hsio_vif.cfg_lnx_0_tx_use_slow_pll ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=
%h",expected_cfg_lnx_0_tx_use_slow_pll,hsio_vif.cfg_lnx_0_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_by_n_rate_sel ===


hsio_vif.cfg_lnx_1_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_1_by_n_rate_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_1_by_n_rate_sel,hsio_vif.cfg_lnx_1_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_proto_sel === hsio_vif.cfg_lnx_1_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_1_proto_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_1_proto_sel,hsio_vif.cfg_lnx_1_proto_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_rx_lane_pd ===


hsio_vif.cfg_lnx_1_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_1_rx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",expected_cfg_lnx_1_rx_lane_pd, hsio_vif.cfg_lnx_1_rx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_rx_use_slow_pll ===


hsio_vif.cfg_lnx_1_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_1_rx_use_slow_pll ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", hsio_vif.cfg_lnx_1_rx_use_slow_pll,
hsio_vif.cfg_lnx_1_rx_use_slow_pll))';
printf $fh1 "\n\n if(expected_cfg_lnx_1_tx_lane_pd ===
hsio_vif.cfg_lnx_1_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_1_tx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_1_tx_lane_pd, hsio_vif.cfg_lnx_1_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_tx_set_output_cm ===


hsio_vif.cfg_lnx_1_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_1_tx_set_output_cm ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=
%h",expected_cfg_lnx_1_tx_set_output_cm,hsio_vif.cfg_lnx_1_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_1_tx_use_slow_pll ===


hsio_vif.cfg_lnx_1_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the valu = %h", hsio_vif.cfg_lnx_1_tx_use_slow_pll ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",expected_cfg_lnx_1_tx_use_slow_pll,
hsio_vif.cfg_lnx_1_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_by_n_rate_sel ===


hsio_vif.cfg_lnx_2_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_2_by_n_rate_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_by_n_rate_sel,
hsio_vif.cfg_lnx_2_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_proto_sel === hsio_vif.cfg_lnx_2_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value=hsio_vif.cfg_xfia_config = %h",hsio_vif.cfg_lnx_2_proto_sel ),
UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_proto_sel,hsio_vif.cfg_lnx_2_proto_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_rx_lane_pd ===


hsio_vif.cfg_lnx_2_rx_lane_pd )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_2_rx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",expected_cfg_lnx_2_rx_lane_pd,hsio_vif.cfg_lnx_2_rx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_rx_use_slow_pll ===


hsio_vif.cfg_lnx_2_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_2_rx_use_slow_pll ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_rx_use_slow_pll,
hsio_vif.cfg_lnx_2_rx_use_slow_pll ))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_tx_lane_pd ===


hsio_vif.cfg_lnx_2_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_2_tx_lane_pd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_tx_lane_pd, hsio_vif.cfg_lnx_2_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_tx_set_output_cm ===


hsio_vif.cfg_lnx_2_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_2_tx_set_output_cm ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_tx_set_output_cm,
hsio_vif.cfg_lnx_2_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_2_tx_use_slow_pll ===


hsio_vif.cfg_lnx_2_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= = %h", hsio_vif.cfg_lnx_2_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_2_tx_use_slow_pll,
hsio_vif.cfg_lnx_2_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_by_n_rate_sel ===


hsio_vif.cfg_lnx_3_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_by_n_rate_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_3_by_n_rate_sel,=hsio_vif.cfg_lnx_3_by_n_rate_sel))';
printf $fh1 "\n\n if(expected_cfg_lnx_3_proto_sel === hsio_vif.cfg_lnx_3_proto_sel
)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_proto_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_3_proto_sel,hsio_vif.cfg_lnx_3_proto_sel ))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_rx_lane_pd ===


hsio_vif.cfg_lnx_3_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_rx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_3_rx_lane_pd,hsio_vif.cfg_lnx_3_rx_lane_pd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_rx_use_slow_pll ===


hsio_vif.cfg_lnx_3_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_rx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_3_rx_use_slow_pll,hsio_vif.cfg_lnx_3_rx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_tx_lane_pd ===


hsio_vif.cfg_lnx_3_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_tx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_3_tx_lane_pd,hsio_vif.cfg_lnx_3_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_tx_set_output_cm ===


hsio_vif.cfg_lnx_3_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_3_tx_set_output_cm ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_3_tx_set_output_cm,hsio_vif.cfg_lnx_3_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_3_tx_use_slow_pll ===


hsio_vif.cfg_lnx_3_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_3_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_3_tx_use_slow_pll,hsio_vif.cfg_lnx_3_tx_use_slow_pll
))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_by_n_rate_sel ===


hsio_vif.cfg_lnx_4_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_by_n_rate_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_4_by_n_rate_sel,hsio_vif.cfg_lnx_4_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_proto_sel ===


hsio_vif.cfg_lnx_4_proto_sel)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_proto_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_4_proto_sel,hsio_vif.cfg_lnx_4_proto_sel )';

printf $fh1 "\n\n if(expected_cfg_lnx_4_rx_lane_pd ===


hsio_vif.cfg_lnx_4_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_rx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_4_rx_lane_pd,hsio_vif.cfg_lnx_4_rx_lane_pd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_rx_use_slow_pll ===


hsio_vif.cfg_lnx_4_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_rx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_4_rx_use_slow_pll,hsio_vif.cfg_lnx_4_rx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_tx_lane_pd ===


hsio_vif.cfg_lnx_4_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_tx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_4_tx_lane_pd,hsio_vif.cfg_lnx_4_tx_lane_pd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_tx_set_output_cm ===


hsio_vif.cfg_lnx_4_tx_set_output_cm )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value== %h", hsio_vif.cfg_lnx_4_tx_set_output_cm ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_4_tx_set_output_cm,hsio_vif.cfg_lnx_4_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_4_tx_use_slow_pll ===


hsio_vif.cfg_lnx_4_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_4_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_4_tx_use_slow_pll,hsio_vif.cfg_lnx_4_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_5_by_n_rate_sel ===


hsio_vif.cfg_lnx_5_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_5_by_n_rate_sel) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_5_by_n_rate_sel,hsio_vif.cfg_lnx_5_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_5_proto_sel === hsio_vif.cfg_lnx_5_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_5_proto_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_5_proto_sel,hsio_vif.cfg_lnx_5_proto_sel ))';

printf $fh1 "\n\n if(expected_cfg_lnx_5_rx_lane_pd ===


hsio_vif.cfg_lnx_5_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_5_rx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_5_rx_lane_pd,hsio_vif.cfg_lnx_5_rx_lane_pd ))';

printf $fh1 "\n\n if(cfg_lnx_5_rx_use_slow_pll ===


hsio_vif.cfg_lnx_5_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_5_rx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", cfg_lnx_5_rx_use_slow_pll,hsio_vif.cfg_lnx_5_rx_use_slow_pll))';
printf $fh1 "\n\n if(expected_cfg_lnx_5_tx_lane_pd ===
hsio_vif.cfg_lnx_5_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_5_tx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_5_tx_lane_pd,hsio_vif.cfg_lnx_5_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_5_tx_set_output_cm ===


hsio_vif.cfg_lnx_5_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_5_tx_set_output_cm ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_5_tx_set_output_cm,hsio_vif.cfg_lnx_5_tx_set_output_cm ))';

printf $fh1 "\n\n if(expected_cfg_lnx_5_tx_use_slow_pll ===


hsio_vif.cfg_lnx_5_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_5_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_5_tx_use_slow_pll,hsio_vif.cfg_lnx_5_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_by_n_rate_sel ===


hsio_vif._cfg_lnx_6_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif._cfg_lnx_6_by_n_rate_sel) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_6_by_n_rate_sel,hsio_vif._cfg_lnx_6_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_proto_sel === hsio_vif.cfg_lnx_6_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h",hsio_vif.cfg_lnx_6_proto_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_6_proto_sel,hsio_vif.cfg_lnx_6_proto_sel ))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_rx_lane_pd ===


hsio_vif.cfg_lnx_6_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_6_rx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_6_rx_lane_pd,hsio_vif.cfg_lnx_6_rx_lane_pd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_rx_use_slow_pll ===


hsio_vif.cfg_lnx_6_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_6_rx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_6_rx_use_slow_pll,hsio_vif.cfg_lnx_6_rx_use_slow_pll
))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_tx_lane_pd ===


hsio_vif.cfg_lnx_6_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_6_tx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_6_tx_lane_pd,hsio_vif.cfg_lnx_6_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_tx_set_output_cm ===


hsio_vif.cfg_lnx_6_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_6_tx_set_output_cm ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_6_tx_set_output_cm,hsio_vif.cfg_lnx_6_tx_set_output_cm))';

printf $fh1 "\n\n if(expected_cfg_lnx_6_tx_use_slow_pll ===


hsio_vif.cfg_lnx_6_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_6_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_6_tx_use_slow_pll,hsio_vif.cfg_lnx_6_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_by_n_rate_sel ===


hsio_vif.cfg_lnx_7_by_n_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_by_n_rate_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_7_by_n_rate_sel,hsio_vif.cfg_lnx_7_by_n_rate_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_proto_sel === hsio_vif._cfglnx_7_proto_sel


)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif._cfglnx_7_proto_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_7_proto_sel,hsio_vif._cfglnx_7_proto_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_rx_lane_pd ===


hsio_vif.cfg_lnx_7_rx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_rx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_7_rx_lane_pd,hsio_vif.cfg_lnx_7_rx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_rx_use_slow_pll ===


hsio_vif.cfg_lnx_7_rx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_rx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_7_rx_use_slow_pll,hsio_vif.cfg_lnx_7_rx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_tx_lane_pd ===


hsio_vif.cfg_lnx_7_tx_lane_pd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_tx_lane_pd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_7_tx_lane_pd,hsio_vif.cfg_lnx_7_tx_lane_pd))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_tx_set_output_cm ===


hsio_vif.cfg_lnx_7_tx_set_output_cm )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_tx_set_output_cm ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_7_tx_set_output_cm,hsio_vif.cfg_lnx_7_tx_set_output_cm = ))';

printf $fh1 "\n\n if(expected_cfg_lnx_7_tx_use_slow_pll ===


hsio_vif.cfg_lnx_7_tx_use_slow_pll )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_7_tx_use_slow_pll ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_7_tx_use_slow_pll,hsio_vif.cfg_lnx_7_tx_use_slow_pll))';

printf $fh1 "\n\n if(expected_cfg_lnx_ecl_lo_volt_sel ===


hsio_vif.cfg_lnx_ecl_lo_volt_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_ecl_lo_volt_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_ecl_lo_volt_sel,hsio_vif.cfg_lnx_ecl_lo_volt_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_ecl_soc_ana_input_ref_clk_buf_en ===


hsio_vif.cfg_lnx_ecl_soc_ana_input_ref_clk_buf_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_ecl_soc_ana_input_ref_clk_buf_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_ecl_soc_ana_input_ref_clk_buf_en,hsio_vif.cfg_lnx_ecl_soc_ana_inpu
t_ref_clk_buf_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_ecl_soc_ana_out_ref_clk_en ===


hsio_vif.cfg_lnx_ecl_soc_ana_out_ref_clk_en)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_ecl_soc_ana_out_ref_clk_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_ecl_soc_ana_out_ref_clk_en,hsio_vif.cfg_lnx_ecl_soc_ana_out_ref_cl
k_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_ecl_soc_dig_out_ref_clk_en ===


hsio_vif.cfg_lnx_ecl_soc_dig_out_ref_clk_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_ecl_soc_dig_out_ref_clk_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_ecl_soc_dig_out_ref_clk_en,hsio_vif.cfg_lnx_ecl_soc_dig_out_ref_cl
k_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_ecr_soc_ana_out_ref_clk_en ===


hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_clk_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_clk_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_ecr_soc_ana_out_ref_clk_en,hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_cl
k_en))';
printf $fh1 "\n\n if(expected_cfg_lnx_ecr_soc_dig_out_ref_clk_en ===
hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_clk_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_clk_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_ecr_soc_dig_out_ref_clk_en,hsio_vif.cfg_lnx_ecr_soc_dig_out_ref_cl
k_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_bg_adjust ===


hsio_vif.cfg_lnx_pllf_bg_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_bg_adjust ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_pllf_bg_adjus,hsio_vif.cfg_lnx_pllf_bg_adjust))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_bgrx_adjust ===


hsio_vif.cfg_lnx_pllf_bgrx_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_bgrx_adjust ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_bgrx_adjust,hsio_vif.cfg_lnx_pllf_bgrx_adjust))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_bgrx_temp_adjust ===


hsio_vif.cfg_lnx_pllf_bgrx_temp_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_bgrx_temp_adjust ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_bgrx_temp_adjust,hsio_vif.cfg_lnx_pllf_bgrx_temp_adjust))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_clknet_full_rate_sel ===


hsio_vif.cfg_lnx_pllf_clknet_full_rate_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_clknet_full_rate_sel ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_clknet_full_rate_sel,hsio_vif.cfg_lnx_pllf_clknet_full_rate_s
el))';
printf $fh1 "\n\n if(expected_cfg_lnx_pllf_disable ===
hsio_vif.cfg_lnx_pllf_disable )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_disable ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_pllf_disable,hsio_vif.cfg_lnx_pllf_disable))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_left_ref_buf_en ===


hsio_vif.cfg_lnx_pllf_left_ref_buf_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_left_ref_buf_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_left_ref_buf_e,hsio_vif.cfg_lnx_pllf_left_ref_buf_en ))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_lock_det_ovrd ===


hsio_vif.cfg_lnx_pllf_lock_det_ovrd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_lock_det_ovrd ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_lock_det_ovrd,hsio_vif.cfg_lnx_pllf_lock_det_ovrd ))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_off === hsio_vif.cfg_lnx_pllf_off )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_off ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_pllf_off,hsio_vif.cfg_lnx_pllf_off))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_ref_clk_sel ===


hsio_vif.cfg_lnx_pllf_ref_clk_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_ref_clk_sel ), UVM_HIGH)'
;
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_ref_clk_sel,hsio_vif.cfg_lnx_pllf_ref_clk_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_right_ref_buf_en ===


hsio_vif.cfg_lnx_pllf_right_ref_buf_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_right_ref_buf_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_right_ref_buf_en,hsio_vif.cfg_lnx_pllf_right_ref_buf_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_select_ref_clk_amp_dis ===


hsio_vif.cfg_lnx_pllf_select_ref_clk_amp_dis )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_select_ref_clk_amp_dis ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_select_ref_clk_amp_dis,hsio_vif.cfg_lnx_pllf_select_ref_clk_a
mp_dis))';

printf $fh1 "\n\n if(expected_cfg_lnx_pllf_slower_vco_en ===


hsio_vif.cfg_lnx_pllf_slower_vco_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_pllf_slower_vco_en ) , UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_pllf_slower_vco_en,hsio_vif.cfg_lnx_pllf_slower_vco_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_bg_adjust ===


hsio_vif.cfg_lnx_plls_bg_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_plls_bg_adjust ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_plls_bg_adjust,hsio_vif.cfg_lnx_plls_bg_adjust ))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_bgrx_adjust ===


hsio_vif.cfg_lnx_plls_bgrx_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are the


same= %h", hsio_vif.cfg_lnx_plls_bgrx_adjust ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_plls_bgrx_adjus,
hsio_vif.cfg_lnx_plls_bgrx_adjust))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_bgrx_temp_adjust ===


hsio_vif.cfg_lnx_plls_bgrx_temp_adjust )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_plls_bgrx_temp_adjust ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_bgrx_temp_adjust,hsio_vif.cfg_lnx_plls_bgrx_temp_adjust ))';
printf $fh1 "\n\n if(expected_cfg_lnx_plls_clknet_full_rate_sel ===
hsio_vif.cfg_lnx_plls_clknet_full_rate_sel )\n";
printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_clknet_full_rate_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_clknet_full_rate_sel,hsio_vif.cfg_lnx_plls_clknet_full_rate_s
el))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_disable ===


hsio_vif.cfg_lnx_plls_disable )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_disable ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_plls_disable,hsio_vif.cfg_lnx_plls_disable ))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_lock_det_ovrd ===


hsio_vif.cfg_lnx_plls_lock_det_ovrd )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_plls_lock_det_ovrd ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_lock_det_ovrd,hsio_vif.cfg_lnx_plls_lock_det_ovrd))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_off === hsio_vif.cfg_lnx_plls_off )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_off), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_plls_off,hsio_vif.cfg_lnx_plls_off))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_ref_clk_sel ===


hsio_vif.cfg_lnx_plls_ref_clk_sel )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_plls_ref_clk_sel ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_ref_clk_sel,hsio_vif.cfg_lnx_plls_ref_clk_sel))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_right_ref_buf_en ===


hsio_vif.cfg_lnx_plls_right_ref_buf_en )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_right_ref_buf_en ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_right_ref_buf_en,hsio_vif.cfg_lnx_plls_right_ref_buf_en))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_select_ref_clk_amp_dis ===


hsio_vif.cfg_lnx_plls_select_ref_clk_amp_dis )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_select_ref_clk_amp_dis), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_select_ref_clk_amp_dis,hsio_vif.cfg_lnx_plls_select_ref_clk_a
mp_dis))';

printf $fh1 "\n\n if(expected_cfg_lnx_plls_slower_vco_en ===


hsio_vif.cfg_lnx_plls_slower_vco_en)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value = %h", hsio_vif.cfg_lnx_plls_slower_vco_en ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h",
expected_cfg_lnx_plls_slower_vco_en,hsio_vif.cfg_lnx_plls_slower_vco_en ))';

printf $fh1 "\n\n if(expected_cfg_lnx_reset_at_por ===


hsio_vif.cfg_lnx_reset_at_por)\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_reset_at_por ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_reset_at_por,hsio_vif.cfg_lnx_reset_at_por))';

printf $fh1 "\n\n if(expected_cfg_lnx_sw_reset === hsio_vif.cfg_lnx_sw_reset )\n";

printf $fh1 '`uvm_info("Passed", $sformatf("Expected and actual values are same and
the value= %h", hsio_vif.cfg_lnx_sw_reset ), UVM_HIGH)';
printf $fh1 "\n else\n";
printf $fh1 '`uvm_error("Failed ", $sformatf("Expected value is =%h and actual
value is=%h", expected_cfg_lnx_sw_reset,hsio_vif.cfg_lnx_sw_reset))';
printf $fh1 "end\

You might also like