Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Diskussionen

matrix multiply in vhdl

Altera_Forum
Geehrter Beitragender II
2.142Aufrufe

Dear all; 

i have 2 matrix (32*32) and i want to multiply them. I though about using tempo register with 1024 ligne and 8 bits colone but that will consume a huge part from my SRAM (i m using DE2-115). Any one have idea how to write this code?
0 Kudos
4 Antworten
Altera_Forum
Geehrter Beitragender II
876Aufrufe

I suggest making a pipeline to handle the multiply over several clocks

Altera_Forum
Geehrter Beitragender II
876Aufrufe

ok. ofc i m going to use a pipeline i allready check out my carte specifications. but my problem is how to start writing that matrix mutiply. any help with it at least how to start.any guide pls or exemple.help me please. thanks to all

Altera_Forum
Geehrter Beitragender II
876Aufrufe

Dont think of a matrix multiply, just think of all the individual multiplies. at 32x32, thats 32 multipliers needed. Do you need to use so many, or can you time division multiplex them (ie. run the multipier at 2x clock speed to to two multiplies in the space of 1 data).

Altera_Forum
Geehrter Beitragender II
876Aufrufe

well i want to accelerate this multiply function.that's why i want it on vhdl. i learn only basic VHDl. i searched for exemples in net.they didn't use huge matrix like (2*2)  

.any way do you know how to inpout my matrix values in sram or sdram and the instruction to call for it when i need it
Antworten