data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v
1: b'%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:2: Cannot find include file: divider.vh\n`include "divider.vh" \n         ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/149070951/tests/06-test-servo,data/full_repos/permissive/149070951/divider.vh\n             data/full_repos/permissive/149070951/tests/06-test-servo,data/full_repos/permissive/149070951/divider.vh.v\n             data/full_repos/permissive/149070951/tests/06-test-servo,data/full_repos/permissive/149070951/divider.vh.sv\n             divider.vh\n             divider.vh.v\n             divider.vh.sv\n             obj_dir/divider.vh\n             obj_dir/divider.vh.v\n             obj_dir/divider.vh.sv\n%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:8: Define or directive not defined: \'`T_20ms\'\nlocalparam SERVO_T = `T_20ms;\n                     ^~~~~~~\n%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:8: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nlocalparam SERVO_T = `T_20ms;\n                            ^\n%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:15: Define or directive not defined: \'`POS_OPEN\'\nassign pos = (not_open == 1) ? `POS_OPEN : `POS_CLOSE;\n                               ^~~~~~~~~\n%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:15: syntax error, unexpected \':\', expecting TYPE-IDENTIFIER\nassign pos = (not_open == 1) ? `POS_OPEN : `POS_CLOSE;\n                                         ^\n%Error: data/full_repos/permissive/149070951/tests/06-test-servo/pinza-ir.v:15: Define or directive not defined: \'`POS_CLOSE\'\nassign pos = (not_open == 1) ? `POS_OPEN : `POS_CLOSE;\n                                           ^~~~~~~~~~\n%Error: Exiting due to 6 error(s)\n'
module pos1(input wire clk,
            input wire open,
            output wire servo1);

localparam SERVO_T = `T_20ms;

wire timer_ena = 1'b1;
wire [17:0] pos;

wire not_open = ~open;

assign pos = (not_open == 1) ? `POS_OPEN : `POS_CLOSE;

dividerp1 #(SERVO_T)
  TIMER0 (
    .clk(clk),
    .clk_out(servo1),
    .pos(pos),
    .timer_ena(timer_ena)
  );


wire din, dout, outen;

endmodule
module pos1(input wire clk,
            input wire open,
            output wire servo1);


localparam SERVO_T = `T_20ms;

wire timer_ena = 1'b1;
wire [17:0] pos;

wire not_open = ~open;

assign pos = (not_open == 1) ? `POS_OPEN : `POS_CLOSE;

dividerp1 #(SERVO_T)
  TIMER0 (
    .clk(clk),
    .clk_out(servo1),
    .pos(pos),
    .timer_ena(timer_ena)
  );


wire din, dout, outen;

endmodule