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

Find a connection factory, Why do I get an exception when trying to find a ...

Why do I get an exception when trying to find a connection factory? Ans) The exception is regularly something like java.io.InvalidClassException or java.lang.NoClassDefFoundErro

Explain flash devices, Explain Flash devices It is possible to read the...

Explain Flash devices It is possible to read the contents of a one cell, but it is only possible to write an whole block of cells Greater density which leads to superior cap

Describe about the layered computer design, Describe about the Layered comp...

Describe about the Layered computer design Introduction Layered computer design focuses on computer design. It uses top-down, layered approach to design and also to improve

Define logical data as operand data type, Q. Define Logical data as operand...

Q. Define Logical data as operand data type? Every word or byte is treated like a single unit of data. Whenever an n-bit data unit is considered as comprising n 1-bit items of

Define top-down parsing techniques, Define Top-down parsing Techniques ...

Define Top-down parsing Techniques Top-down parsing can be observed as an attempt to find left-most derivations of an input-stream through searching for parse trees using a top

Example application - canonical genetic algorithm, Example Application: ...

Example Application: There are many fantastic applications of genetic algorithms. Conceivably my favorite is their usage in evaluating Jazz melodies done as part of a PhD proj

What is requisitepro, Rational RequisitePro is a needed management tool tha...

Rational RequisitePro is a needed management tool that helps project teams control the development process. RequisitePro organizes your requirements by linking Microsoft Word to a

Stata about the magnetic stripes, Stata about the Magnetic stripes  Th...

Stata about the Magnetic stripes  These comprise information/data stored on magnetic material often on the back of a credit/debit card; the information is automatically read b

Exit the loop on end-of-file, Continuing in main, write a loop that will re...

Continuing in main, write a loop that will read from the ifstream that reads enough information to  create a person object (i.e. first name, last name, and weight).  Exit the loop

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