Constructive Computer Architecture

CS-629

L3.5 Matrix Vector Multiply Implementation

This page is part of the content downloaded from L3.5 Matrix Vector Multiply Implementation on Wednesday, 25 December 2024, 15:53. Note that some content and any files larger than 50 MB are not downloaded.

Description

This is the implementation of the Matrix Vector multiply operation that was implemented in today's lecture (04.03).

To run the file:

bsc --show-schedule --aggressive-conditions -bdir build -vdir build -info-dir infosched -u -sim -g mkFoldedMV FoldedMV.bsv
bsc -simdir build -p build:+ -o mkFoldedMV -sim -e mkFoldedMV
./mkFoldedMV

It should then show the results of multiply the following matrix and vector multiple times:

[ [ 1 2 3 4 ]       [ 1           [ 30
  [ 2 3 4 5 ]         2             40
  [ 3 4 5 6 ]    .    3     =      50
  [ 4 5 6 7 ] ]       4 ]           60 ]


Files and subfolders