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

What is a c++ class, Class is a user-defined data type in C++. It can be fo...

Class is a user-defined data type in C++. It can be formed to solve a particular kind of problem. After creation the user require not know the specifics of the working of a class.

Explain the program translation model, Explain the program translation mode...

Explain the program translation model The program translation model makes the execution gap through translating a program written in a programming language, termed as the sou

Engineering maths, calculate dy/dx if y=[x-cos(1/cos(xe/2x))]/x

calculate dy/dx if y=[x-cos(1/cos(xe/2x))]/x

What is user defined functions, What is User Defined Functions? User-De...

What is User Defined Functions? User-Defined Functions permit defining its own T-SQL functions that can accept 0 or more parameters and return a single scalar data value or a t

What is disk controller and word count, What is disk controller The ele...

What is disk controller The electronic circuit that controls the operation of the disk known as disk controller.  word count The number of words in the block to be tran

What are the characteristics of digital ics, What are the characteristics o...

What are the characteristics of digital ICs used to compute their performance? Ans: Characteristics of Digital Integrated Circuits 1. Speed of operation:   The Speed o

Explain difference between a constant and variable, What is the difference ...

What is the difference between a constant and variable? Explain with example.  A C constant is usually just the written version of a number. For example 1, 0, 5.73, 12.5e9. We

Validate the xml document , As an XML expert you are needed to model a syst...

As an XML expert you are needed to model a system for an online furniture shop. After an interview with the shop manager you have the certain information: The detail of th

How does the computer execute a program, Let's attempt to answer a fundamen...

Let's attempt to answer a fundamental question: 'How does the Computer execute a Program?' Let's describe this with the help of an example from higher level language domain. Pr

forensics capability relevant to a honeynet server, A local government org...

A local government organisation needs to deploy a honey net. To this end you are to deploy a honeynet based on the supplied network diagram (separate download) that should give sop

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