Companies Related Questions, System Verilog 0 Comments

Here are few questions which are tricky to solve System Verilog Questions 1 Implement randc function using rand in system verilog ? Answer : click   2 Write A System Verilog Constraint To Generate Unique Values In Array Without Unique Keyword Answer : click  3 Fork Join Tricky Example Answer : There are few type of fork join questions

Read More

Companies Related Questions, Functional Verification, System Verilog 0 Comments

How do you implement randc function using rand in system verilog ? Program : Understand the difference between randc and rand function rand : it is random number , it can be repeated. randc : it is random number with no repetition for a cycle. it may repeat once it complete one cycle.   Lets

Read More

Companies Related Questions, Functional Verification 0 Comments

There are few things which is very important now a day which leads to have gate simulation. 1 Logic designs are not fully synchronous  , for testing asynchronous design , gate level simulation models it accurately. 2. to check power up/reset operation of logic design. 3 to check x propagation testing  , if there is

Read More

Companies Related Questions, Programming Questions, System Verilog 0 Comments

module unique_array; class data; rand bit [7:0] data[]; constraint data_values { foreach(data[i]) foreach(data[j]) if(i != j) data[i] != data [j] ;} endclass data cl_ob; initial begin cl_ob = new(); cl_ob.data = new[5]; assert(cl_ob.randomize()); foreach(cl_ob.data[i]) $display(“%d”,cl_ob.data[i]); end endmodule

Career Oppurtunity, Companies Related Questions, Formal Verification, Functional Verification 0 Comments

How do we move from given specification  to sign off for hardware  Logic designer writes the specification for given design. Verification engineer goes through the specification provided by logic designer. He/She makes verification plan for the given specification of the logic design. Next step is to develop testbench. After developing testbench , it has to

Read More