data/full_repos/permissive/460468583/data/yosys/intel/cycloneiv/cells_sim.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/460468583/data/yosys/intel/cycloneiv/cells_sim.v:24: Multiple top level modules\n                                                                                                 : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                                 : ... Top module \'VCC\'\nmodule VCC (output V);\n       ^~~\n                                                                                                 : ... Top module \'GND\'\nmodule GND (output G);\n       ^~~\n                                                                                                 : ... Top module \'cycloneiv_io_ibuf\'\nmodule cycloneiv_io_ibuf\n       ^~~~~~~~~~~~~~~~~\n                                                                                                 : ... Top module \'cycloneiv_io_obuf\'\nmodule cycloneiv_io_obuf\n       ^~~~~~~~~~~~~~~~~\n                                                                                                 : ... Top module \'cycloneiv_lcell_comb\'\nmodule cycloneiv_lcell_comb\n       ^~~~~~~~~~~~~~~~~~~~\n                                                                                                 : ... Top module \'dffeas\'\nmodule dffeas\n       ^~~~~~\n                                                                                                 : ... Top module \'cycloneiv_pll\'\nmodule cycloneiv_pll\n       ^~~~~~~~~~~~~\n%Error-ASSIGNIN: data/full_repos/permissive/460468583/data/yosys/intel/cycloneiv/cells_sim.v:31: Assigning to input/const variable: \'ibar\'\n   assign ibar = ibar;\n          ^~~~\n%Error-ASSIGNIN: data/full_repos/permissive/460468583/data/yosys/intel/cycloneiv/cells_sim.v:39: Assigning to input/const variable: \'oe\'\n   assign oe = oe;\n          ^~\n%Error: Exiting due to 2 error(s), 1 warning(s)\n'
function lut_data;
      input [15:0] mask;
      input        dataa, datab, datac, datad;
      reg [7:0]    s3;
      reg [3:0]    s2;
      reg [1:0]    s1;
      begin
         s3 = datad ? mask[15:8] : mask[7:0];
         s2 = datac ?   s3[7:4]  :   s3[3:0];
         s1 = datab ?   s2[3:2]  :   s2[1:0];
         lut_data = dataa ? s1[1] : s1[0];
      end

   endfunction
function lut_data;

      input [15:0] mask;
      input        dataa, datab, datac, datad;
      reg [7:0]    s3;
      reg [3:0]    s2;
      reg [1:0]    s1;
      begin
         s3 = datad ? mask[15:8] : mask[7:0];
         s2 = datac ?   s3[7:4]  :   s3[3:0];
         s1 = datab ?   s2[3:2]  :   s2[1:0];
         lut_data = dataa ? s1[1] : s1[0];
      end

   endfunction