Error:dmesg: read kernel buffer failed: Operation not permitted

362 views
Skip to first unread message

Ankit Singhal

unread,
Mar 9, 2022, 7:58:33 AM3/9/22
to EDA Playground
I am getting this error when I amr unning this code.Please help


module tb;
 
  class MemTrans;
   
    logic [7:0] data_in;
    logic [3:0] address;
   
    function new(logic [7:0]data_in=0,logic [3:0]address=0);
     
      this.data_in=data_in;
      this.address=address;
     
    endfunction
   
    function void print();
     
      $display("data=%d,address = %d",data_in,address);
     
    endfunction
  endclass
 
 MemTrans m;
 
  initial begin
    m=new(.address(2));
    m.print();
  end
endmodule

EDA Playground

unread,
Mar 9, 2022, 3:11:27 PM3/9/22
to EDA Playground
One of the great things about EDA Playground is that it is possible to share code by sharing the URL of that code. This is useful when you are asking for someone's help and is easier than pasting code into a message. Anyway...

I don't think this is an error with your code. It is an error reported by the simulator itself. (I did an upgrade on the servers today; I expect it's caused by that.) It looks to me like your code is working fine. 

Ankit Singhal

unread,
Mar 9, 2022, 11:40:07 PM3/9/22
to EDA Playground
ya now its working. thank you
coda was fine . it was server side problem.

Reply all
Reply to author
Forward
0 new messages