ajaz
Newbie level 2
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 module top; cons h; initial repeat(2) begin h = new(); h.randomize(); $display("values of x:%0d",h.x); end endmodule
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 module top; cons h = new(); initial repeat(2) begin h.randomize(); $display("values of x:%0d",h.x); end endmodule
Last edited by a moderator: