data/full_repos/permissive/486206246/seq/memory.v
1: b"%Error: data/full_repos/permissive/486206246/seq/memory.v:30: Too many digits for 4 bit number: 4'h10\n    if(icode==4'h10)  \n              ^~~~~\n%Error: data/full_repos/permissive/486206246/seq/memory.v:33: Too many digits for 4 bit number: 4'h11\n    if(icode==4'h11)  \n              ^~~~~\n%Error: Exiting due to 2 error(s)\n"
module memory(
  clk,icode,valA,valB,valE,valP,valM,datamem
);

  input clk;
  
  input [3:0] icode;
  input [63:0] valP, valA, valE, valB;
  
  output reg [63:0] datamem, valM;

  reg [63:0] data_mem[0:1023];

  always@(posedge clk)
  begin
    if(icode==4'h4)
    begin
      data_mem[valE]=valA;end
    if(icode==4'h5)
    begin
      valM=data_mem[valE];end
    if(icode==4'h8)
    begin
      data_mem[valE]=valP;end
    if(icode==4'h9)
    begin
      valM=data_mem[valA];end
    if(icode==4'h10)
    begin
      data_mem[valE]=valA;end
    if(icode==4'h11)
    begin
      valM=data_mem[valE];end
    datamem=data_mem[valE];end
  
endmodule
module memory(
  clk,icode,valA,valB,valE,valP,valM,datamem
);


  input clk;
  
  input [3:0] icode;
  input [63:0] valP, valA, valE, valB;
  
  output reg [63:0] datamem, valM;

  reg [63:0] data_mem[0:1023];

  always@(posedge clk)
  begin
    if(icode==4'h4)
    begin
      data_mem[valE]=valA;end
    if(icode==4'h5)
    begin
      valM=data_mem[valE];end
    if(icode==4'h8)
    begin
      data_mem[valE]=valP;end
    if(icode==4'h9)
    begin
      valM=data_mem[valA];end
    if(icode==4'h10)
    begin
      data_mem[valE]=valA;end
    if(icode==4'h11)
    begin
      valM=data_mem[valE];end
    datamem=data_mem[valE];end
  
endmodule