Mar 27, 2019 #1 C childs72 Member level 1 Joined Apr 8, 2006 Messages 33 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,542 Good day, Anyone can share how to (in Verilog) print out signal >32bit using %d? Example I used: Code Verilog - [expand]1 2 reg [49:0] my_var; initial $display("%d", my_var); The result I got is not my_var, thus i suspect %d is limited to 32bit. Is there any way I can print out my_var in decimal format? Thanks!
Good day, Anyone can share how to (in Verilog) print out signal >32bit using %d? Example I used: Code Verilog - [expand]1 2 reg [49:0] my_var; initial $display("%d", my_var); The result I got is not my_var, thus i suspect %d is limited to 32bit. Is there any way I can print out my_var in decimal format? Thanks!