State the term in detail $strobe, Computer Engineering

Assignment Help:

State the term in detail $strobe

$strobe. This task is very similar to $display task except for a slight difference.  If many other statements are executed in same time unit as the $display task, order in which the statements and the $display task are executed is nondeterministic. If $strobe is used, it's always executed after all  other  assignment  statements  in  the  same  time  unit  have  executed.  Hence,  $strobe  provides  a synchronization mechanism to ensure that data is displayed only after all other assignment statements, which change data in that time step, have executed.

//strobing

always @(posedge clock)

begin

a = b;

c = d;

always @(posedge clock)

$strobe ("Displaying a = %b, c = %b" , a, c) ; / / display values at posedge

Values at positive edge of clock will be displayed only after statements a = b and c = d execute.

If  $display  was  used,  $display  might  execute  before  statements  a  =  b  and  c  =  d,  hence displaying different values.

Append b, h, o to the task name to change default format to binary, octal or hexadecimal

 


Related Discussions:- State the term in detail $strobe

Evolutionary approaches boil down - artificial intelligence, Evolutionary a...

Evolutionary approaches boil down - artificial intelligence: In fact as we will see whether evolutionary approaches boil down to like (i) just to identify how to represent pos

What happens if acknowledge() is called within a transaction, As per the JM...

As per the JMS specification, when you are in a transaction, the acknowledge Mode is ignored. If acknowledge() is known as within a transaction, it is ignored.

Explain non-folded network, Explain Non-Folded network Non-Folded Netw...

Explain Non-Folded network Non-Folded Network: In a switching network, every inlet/outlet connection may be utilized for inter exchange transmission. In this case, the .excha

Find sop expression, A. F(X, Y, Z) = ∑(0, 1, 2, 6, 7) using TRUTH TABLE onl...

A. F(X, Y, Z) = ∑(0, 1, 2, 6, 7) using TRUTH TABLE only B. F(X,Y,Z) = ∑ (4,6,7,8) + D(2,5,11,12) using K-Map 1. Find SOP expression 2. Simplify SOP expression 3. Implem

How do you pass basic types by reference, How do you pass basic types by re...

How do you pass basic types by reference?   In the case of basic types like bool, int, uint, etc. you can in fact choose among the two forms. If you prefix the method parameter

Problems.., what are the different types of tablets?

what are the different types of tablets?

Define end directive and assume directive, END DIRECTIVE: ENDS directive e...

END DIRECTIVE: ENDS directive ends a segment and ENDP directive ends a procedure and END directive ends whole program which appears as last statement. ASSUME Directive:   An .

Explain i/o buffer and advantage of buffering, What is an I/O buffer? What ...

What is an I/O buffer? What is the advantage of buffering? Is buffering always effective? Justify your answer with help of an example.   One type of I/O requirement arises from

Discuss the classifications of switching systems, Discuss the classificatio...

Discuss the classifications of switching systems. The categorizations of switching systems are specified in the block diagram given below:

Microcomputer applications, Mr. Franco Forest owns a small lawn care busine...

Mr. Franco Forest owns a small lawn care business with three employees. He owns the lawn mowers, rakes, and weed whackers that are housed in a storage area at the back of his home.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd