subtraction of parallel data from serial data

Status
Not open for further replies.
Joined
May 14, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
hi,
I have 4 datas coming in parallel each cycle.The 5 th data is coming in each cycle serially.say at 1st cycle 4 datas are a1,b1,c1,d1,2nd cycle 4 datas are a2,b2,c2,d2 and so on .the serial data is say x1 in 1st cycle,x2 2nd cycle,x3 third and x4 4th and so on.i wish to subtract them so that my o/p will come in this sequence--
1st clk cycle o/p-->x1-a1
2nd clk cycle o/p-->x2-b1
3rd clk cycle o/p-->x3-c1
4th clk cycle o/p-->x4-d1
5th clk cycle o/p-->x5-a2
6th clk cycle o/p-->x6-b2
7th clk cycle o/p-->x7-c2
8th clk cycle o/p-->x8-d2 and so on.
I used delays to solve this.but it doesn't help.please suggest how to solve this issue.
thanks in advance
Mamata
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…