data/full_repos/permissive/161706166/src/pdp1_vga_crt.v
 line:41: before: "["
1: b"%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:126: Define or directive not defined: '`v_visible_offset'\nassign current_y = (vertical_counter >= `v_visible_offset && vertical_counter < `v_visible_offset_end) ? vertical_counter - `v_visible_offset : 11'b0;\n                                        ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:126: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\nassign current_y = (vertical_counter >= `v_visible_offset && vertical_counter < `v_visible_offset_end) ? vertical_counter - `v_visible_offset : 11'b0;\n                                                          ^~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:126: Define or directive not defined: '`v_visible_offset_end'\nassign current_y = (vertical_counter >= `v_visible_offset && vertical_counter < `v_visible_offset_end) ? vertical_counter - `v_visible_offset : 11'b0;\n                                                                                ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:126: Define or directive not defined: '`v_visible_offset'\nassign current_y = (vertical_counter >= `v_visible_offset && vertical_counter < `v_visible_offset_end) ? vertical_counter - `v_visible_offset : 11'b0;\n                                                                                                                            ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_visible_offset'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                          ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_center_offset'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                              ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                                               ^~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_visible_offset_end'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                                                                       ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_center_offset'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                                                                                               ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_visible_offset'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                                                                                                                                         ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:127: Define or directive not defined: '`h_center_offset'\nassign current_x = (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset) ? horizontal_counter - (`h_visible_offset + `h_center_offset): 11'b0;\n                                                                                                                                                                                             ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:318: Define or directive not defined: '`h_line_timing'\n   if (horizontal_counter == `h_line_timing)\n                             ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:318: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n   if (horizontal_counter == `h_line_timing)\n                                           ^\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:325: Define or directive not defined: '`h_visible_offset'\n   inside_visible_area <= (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset);\n                                                 ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:325: Define or directive not defined: '`h_center_offset'\n   inside_visible_area <= (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset);\n                                                                     ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:325: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n   inside_visible_area <= (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset);\n                                                                                      ^~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:325: Define or directive not defined: '`h_visible_offset_end'\n   inside_visible_area <= (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset);\n                                                                                                              ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:325: Define or directive not defined: '`h_center_offset'\n   inside_visible_area <= (horizontal_counter >= `h_visible_offset + `h_center_offset && horizontal_counter < `h_visible_offset_end + `h_center_offset);\n                                                                                                                                      ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:327: Define or directive not defined: '`h_line_timing'\n   if (horizontal_counter == `h_line_timing)    \n                             ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/161706166/src/pdp1_vga_crt.v:327: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n   if (horizontal_counter == `h_line_timing)    \n                                           ^\n%Error: Exiting due to 20 error(s)\n"
function automatic [11:0] dim_pixel;
   input [11:0] luma;
	dim_pixel = (luma > 12'd3864 && luma < 12'd3936) ? 12'd2576 : luma - 1'b1;
endfunction
function automatic [11:0] dim_pixel;

   input [11:0] luma;
	dim_pixel = (luma > 12'd3864 && luma < 12'd3936) ? 12'd2576 : luma - 1'b1;
endfunction