Functional Verification 0 Comments

Well, Lets take adder of following specification : it is one bit adder , one result , one bit carry  So system verilog interface port definition will look like interface dut_if1; logic a_in, b_in, c_in; logic sum_out; logic carry_out; logic clock,reset; endinterface So Lets go through definition of each component , click here to get details information

Read More

System Verilog 0 Comments

Write system verilog code to generate packet value between 10 to 100, if packet type is “Good” // Code your testbench here // or browse Examples // Run randomized classs //testbench4u.com typedef enum {good, bad} packet1; class txn_crc; rand bit [7:0] crc; rand bit [8:0] packet; rand packet1 packet_type ; constraint packet_width { if (packet_type==good)

Read More

Companies Related Questions 0 Comments

VLSI: As its full name is “ Very large scale integration” , something to do with large no of transistors integration. Where VLSI is used : it is used to develop any electronic device with a lot of functionalities Like : Mobile processor , Computer processor /server , Bluetooth device /Wireless Device /Memory Now if

Read More

Companies Related Questions 0 Comments

what is difference between uvm_config_db and uvm_resource_db ? where we use task in uvm phases? difference between posedge and rise ? what is property in assertion ? what will be output of below code fork add(2,3); #10 add(3,3); join task add(int a, int b) int c = a +b; display(“a= %0d, b=%0d, c=%0d”, a,b,c); endtask

Read More

System Verilog 0 Comments

What are different types of assertions? What are the differences between Immediate and Concurrent assertions? What is the difference between simple immediate assertion and deferred immediate assertions? What is the difference between simple immediate assertion and deferred immediate assertions? What are the advantages of writing a checker using SVA (SystemVerilog Assertions) as compared to writing

Read More