data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v
1: b'%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:83: syntax error, unexpected string, expecting IDENTIFIER or \'=\' or do or final\n   reg [0:2][7:0] string = "PUC";\n                  ^~~~~~\n%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:88: syntax error, unexpected \')\', expecting "\'{"\n         $display("Palavra = %s" , string);\n                                         ^\n%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:89: syntax error, unexpected \'[\', expecting "\'{"\n         $display("Binario = %b %b %b", string[0][7:0],string[1][7:0],string[2][7:0]);\n                                              ^\n%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:90: syntax error, unexpected \'[\', expecting "\'{"\n         $display("Decimal = %d %d %d", string[0][7:0],string[1][7:0],string[2][7:0]);\n                                              ^\n%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:91: syntax error, unexpected \'[\', expecting "\'{"\n         $display("Octal = %o %o %o", string[0][7:0],string[1][7:0],string[2][7:0]);\n                                            ^\n%Error: data/full_repos/permissive/424292861/guia1/Rafael_Amauri_Diniz_Augusto_651047.v:92: syntax error, unexpected \'[\', expecting "\'{"\n         $display("Hexadecimal = %h %h %h", string[0][7:0],string[1][7:0],string[2][7:0]);\n                                                  ^\n%Error: Exiting due to 6 error(s)\n'
module Guia_0104;
   integer dec = 13;
   reg [7:0] bin = 0;

   initial
      begin: bin2base
         $display("Guia 0104-testes");
         $display("Decimal = %d" , dec);
         $display("Binary = %8b" , bin);
         bin = dec;
         $display("Quartenario = [%2b][%2b][%2b][%2b] = %x %x %x %x" , 
                  bin[7:6] , bin[5:4] , bin[3:2] , bin[1:0] , bin[7:6] , bin[5:4] , bin[3:2] , bin[1:0]);
         $display("Octal = [%2b][%3b][%3b] = %x %x %x" , 
                  bin[7:6] , bin[5:3] , bin[2:0] , bin[7:6] , bin[5:3] , bin[2:0]);
         $display("Hexadecimal = [%4b][%4b] = %x %x" , 
                  bin[7:4] , bin[3:0] , bin[7:4] , bin[3:0]);
      end
endmodule
module Guia_0104;

   integer dec = 13;
   reg [7:0] bin = 0;

   initial
      begin: bin2base
         $display("Guia 0104-testes");
         $display("Decimal = %d" , dec);
         $display("Binary = %8b" , bin);
         bin = dec;
         $display("Quartenario = [%2b][%2b][%2b][%2b] = %x %x %x %x" , 
                  bin[7:6] , bin[5:4] , bin[3:2] , bin[1:0] , bin[7:6] , bin[5:4] , bin[3:2] , bin[1:0]);
         $display("Octal = [%2b][%3b][%3b] = %x %x %x" , 
                  bin[7:6] , bin[5:3] , bin[2:0] , bin[7:6] , bin[5:3] , bin[2:0]);
         $display("Hexadecimal = [%4b][%4b] = %x %x" , 
                  bin[7:4] , bin[3:0] , bin[7:4] , bin[3:0]);
      end
endmodule