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.

want a vhdl code for this logic

Status
Not open for further replies.

aapatel374

Member level 1
Member level 1
Joined
Mar 19, 2009
Messages
38
Helped
6
Reputation
12
Reaction score
1
Trophy points
1,288
Location
india
Activity points
1,445
hi,
i want a vhdl code for following logic.
i have 20 signed numbers,like.
-2 -2 0 0 0 0 -2 -2 0 0 0 0 2 2 0 0 0 0 2 2
1) i want to put them in group of 4 numbers like,
-2-200 00-2-2 0000 2200 0022
2)i want sum of that all each group internally like
-2+-2+0+0 = -4
0+0+-2+-2= -4
0+0+0+0=0
2+2+0+0=4
0+0+2+2=4
3) i want put this answers in seperate memory
like,
-4 -4 0 4 4
last i want this signed vector in memory.

can anyone help me?

thank u.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top