Jorge Jesse Cantu
Junior Member level 1
- Joined
- Mar 3, 2014
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- 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:
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: