Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21607 Discussions

matrix multiply in vhdl

Altera_Forum
Honored Contributor II
2,125 Views

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 Replies
Altera_Forum
Honored Contributor II
859 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
859 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
859 Views

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).

0 Kudos
Altera_Forum
Honored Contributor II
859 Views

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
0 Kudos
Reply