data/full_repos/permissive/152142712/v1/rf.v
'utf-8' codec can't decode byte 0xf1 in position 782: invalid continuation byte
1: b'%Warning-MULTITOP: data/full_repos/permissive/152142712/v1/rf.v:47: 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 \'video_emitter\'\nmodule video_emitter (\n       ^~~~~~~~~~~~~\n                                                                  : ... Top module \'audio_emitter\'\nmodule audio_emitter (\n       ^~~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module audio_emitter (
  input wire clkp,
  input wire audio,
  output wire rfa
  );
  
  localparam
    RFAUDIOLOW  = 16'd22176,
    RFAUDIOHIGH = 16'd22224;
    
  reg [15:0] acumphase = 16'h0000;
  always @(posedge clkp)
    acumphase <= acumphase + ((audio == 1'b0)? RFAUDIOLOW : RFAUDIOHIGH);
    
  assign rfa = acumphase[15];
endmodule
module audio_emitter (
  input wire clkp,
  input wire audio,
  output wire rfa
  );

  
  localparam
    RFAUDIOLOW  = 16'd22176,
    RFAUDIOHIGH = 16'd22224;
    
  reg [15:0] acumphase = 16'h0000;
  always @(posedge clkp)
    acumphase <= acumphase + ((audio == 1'b0)? RFAUDIOLOW : RFAUDIOHIGH);
    
  assign rfa = acumphase[15];
endmodule