data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv
1: b'%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:13: Cannot find include file: ./x4xx_mgt_types.vh\n`include "./x4xx_mgt_types.vh" \n         ^~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper,data/full_repos/permissive/447976230/./x4xx_mgt_types.vh\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper,data/full_repos/permissive/447976230/./x4xx_mgt_types.vh.v\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper,data/full_repos/permissive/447976230/./x4xx_mgt_types.vh.sv\n             ./x4xx_mgt_types.vh\n             ./x4xx_mgt_types.vh.v\n             ./x4xx_mgt_types.vh.sv\n             obj_dir/./x4xx_mgt_types.vh\n             obj_dir/./x4xx_mgt_types.vh.v\n             obj_dir/./x4xx_mgt_types.vh.sv\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:19: Define or directive not defined: \'`MGT_100GbE\'\n    .PROTOCOL0 (`MGT_100GbE),\n                ^~~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:26: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL0 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:33: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL0 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:34: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL1 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:35: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL2 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:36: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL3 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:43: Define or directive not defined: \'`MGT_100GbE\'\n    .PROTOCOL0 (`MGT_100GbE),\n                ^~~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:50: Define or directive not defined: \'`MGT_100GbE\'\n    .PROTOCOL0 (`MGT_100GbE),\n                ^~~~~~~~~~~\n%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/sim/x4xx_qsfp_wrapper/x4xx_qsfp_wrapper_all_tb.sv:57: Define or directive not defined: \'`MGT_10GbE\'\n    .PROTOCOL0 (`MGT_10GbE),\n                ^~~~~~~~~~\n%Error: Exiting due to 10 error(s)\n'
module x4xx_qsfp_wrapper_all_tb;

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_F"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (512),
    .USE_MAC   (0)
  ) ETH_100Gb_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_F"),
    .PROTOCOL0 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (0)
  ) ETH_10Gb_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_x4_F"),
    .PROTOCOL0 (`MGT_10GbE),
    .PROTOCOL1 (`MGT_10GbE),
    .PROTOCOL2 (`MGT_10GbE),
    .PROTOCOL3 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (0)
  ) ETH_10Gb_x4_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_512S"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (512),
    .USE_MAC   (1)
  ) ETH_100Gb_512serial ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_128S"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (128),
    .USE_MAC   (1)
  ) ETH_100Gb_128serial ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_S"),
    .PROTOCOL0 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (1)
  ) ETH_10Gb_serial ();

  bit clk,rst;

  sim_clock_gen #(100.0) clk_gen (clk, rst);


  always_ff@(posedge clk) begin
    if (ETH_100Gb_fast.test.done      &&
        ETH_10Gb_fast.test.done       &&
        ETH_10Gb_x4_fast.test.done    &&
        ETH_100Gb_512serial.test.done &&
        ETH_100Gb_128serial.test.done &&
        ETH_10Gb_serial.test.done
    ) $finish(1);
  end

endmodule
module x4xx_qsfp_wrapper_all_tb;


  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_F"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (512),
    .USE_MAC   (0)
  ) ETH_100Gb_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_F"),
    .PROTOCOL0 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (0)
  ) ETH_10Gb_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_x4_F"),
    .PROTOCOL0 (`MGT_10GbE),
    .PROTOCOL1 (`MGT_10GbE),
    .PROTOCOL2 (`MGT_10GbE),
    .PROTOCOL3 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (0)
  ) ETH_10Gb_x4_fast ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_512S"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (512),
    .USE_MAC   (1)
  ) ETH_100Gb_512serial ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("100GbE_128S"),
    .PROTOCOL0 (`MGT_100GbE),
    .CHDR_W    (128),
    .USE_MAC   (1)
  ) ETH_100Gb_128serial ();

  x4xx_qsfp_wrapper_tb #(
    .TEST_NAME ("10GbE_S"),
    .PROTOCOL0 (`MGT_10GbE),
    .CHDR_W    (64),
    .USE_MAC   (1)
  ) ETH_10Gb_serial ();

  bit clk,rst;

  sim_clock_gen #(100.0) clk_gen (clk, rst);


  always_ff@(posedge clk) begin
    if (ETH_100Gb_fast.test.done      &&
        ETH_10Gb_fast.test.done       &&
        ETH_10Gb_x4_fast.test.done    &&
        ETH_100Gb_512serial.test.done &&
        ETH_100Gb_128serial.test.done &&
        ETH_10Gb_serial.test.done
    ) $finish(1);
  end

endmodule