data/full_repos/permissive/40989439/AdiHDLLib/library/common/up_dac_channel.v
1: b"%Error: data/full_repos/permissive/40989439/AdiHDLLib/library/common/up_dac_channel.v:333: Cannot find file containing module: 'up_xfer_cntrl'\n  up_xfer_cntrl #(.DATA_WIDTH(165)) i_xfer_cntrl (\n  ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/40989439/AdiHDLLib/library/common,data/full_repos/permissive/40989439/up_xfer_cntrl\n             data/full_repos/permissive/40989439/AdiHDLLib/library/common,data/full_repos/permissive/40989439/up_xfer_cntrl.v\n             data/full_repos/permissive/40989439/AdiHDLLib/library/common,data/full_repos/permissive/40989439/up_xfer_cntrl.sv\n             up_xfer_cntrl\n             up_xfer_cntrl.v\n             up_xfer_cntrl.sv\n             obj_dir/up_xfer_cntrl\n             obj_dir/up_xfer_cntrl.v\n             obj_dir/up_xfer_cntrl.sv\n%Error: Exiting due to 1 error(s)\n"
function [15:0] sm2tc;
    input [15:0]  din;
    reg   [15:0]  dp;
    reg   [15:0]  dn;
    reg   [15:0]  dout;
    begin
      dp = {1'b0, din[14:0]};
      dn = ~dp + 1'b1;
      dout = (din[15] == 1'b1) ? dn : dp;
      sm2tc = dout;
    end
  endfunction
function [15:0] sm2tc;

    input [15:0]  din;
    reg   [15:0]  dp;
    reg   [15:0]  dn;
    reg   [15:0]  dout;
    begin
      dp = {1'b0, din[14:0]};
      dn = ~dp + 1'b1;
      dout = (din[15] == 1'b1) ? dn : dp;
      sm2tc = dout;
    end
  endfunction