Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Timing diagram question

Status
Not open for further replies.

Jorge Jesse Cantu

Junior Member level 1
Junior Member level 1
Joined
Mar 3, 2014
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
167
Hi guys I was looking at the following code and timing diagram trying to understand it. My question is: How does this person derive the dataout binary numbers in accordance to the code?

For example, when datain is 1010, why is dataout equal to 0111? From the process block I do not see this. Since 0111 is assigned to dataout when the second bit of datain is a '1'.
Could someone explain this to me?

Here is the code and timing diagram:

question.PNG
 

The second bit of datain IS one. Hence assigning 0111 to dataout is correct. The timing diagram seems to be correct for the code given.

r.b.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top