data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v
1: b'%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:1: Cannot find include file: cordic.vh\n`include "cordic.vh" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic,data/full_repos/permissive/486954482/cordic.vh\n             data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic,data/full_repos/permissive/486954482/cordic.vh.v\n             data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic,data/full_repos/permissive/486954482/cordic.vh.sv\n             cordic.vh\n             cordic.vh.v\n             cordic.vh.sv\n             obj_dir/cordic.vh\n             obj_dir/cordic.vh.v\n             obj_dir/cordic.vh.sv\n%Warning-STMTDLY: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:26: Unsupported: Ignoring delay on this delayed statement.\n    #10\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:28: Unsupported: Ignoring delay on this delayed statement.\n    #10\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:30: Unsupported: Ignoring delay on this delayed statement.\n    #10\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:32: Unsupported: Ignoring delay on this delayed statement.\n    #10\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/cordic/barrel_shifter_left_test.v:34: Unsupported: Ignoring delay on this delayed statement.\n    #10\n    ^\n%Error: Exiting due to 1 error(s), 5 warning(s)\n'
module barrel_shifter_left_test();

  localparam N = 16;
  localparam LOG_N = $clog2(N);

  reg  [N-1:0] a;
  reg  [LOG_N:0] shift;
  wire [N-1:0] o;

  barrel_shifter_left
  #(
    .N(N)
  )
  _barrel_shifter_left_
  (
    .a(a),
    .shift(shift),
    .o(o)
  );

  initial begin
    a = 16'hAAAA;
    shift = 5'h00;
    #10
    shift = 5'h01;
    #10
    shift = 5'h02;
    #10
    shift = 5'h0F;
    #10
    shift = 5'h10;
    #10
    $stop;
  end

endmodule
module barrel_shifter_left_test();


  localparam N = 16;
  localparam LOG_N = $clog2(N);

  reg  [N-1:0] a;
  reg  [LOG_N:0] shift;
  wire [N-1:0] o;

  barrel_shifter_left
  #(
    .N(N)
  )
  _barrel_shifter_left_
  (
    .a(a),
    .shift(shift),
    .o(o)
  );

  initial begin
    a = 16'hAAAA;
    shift = 5'h00;
    #10
    shift = 5'h01;
    #10
    shift = 5'h02;
    #10
    shift = 5'h0F;
    #10
    shift = 5'h10;
    #10
    $stop;
  end

endmodule