peteraa 7 лет назад
Родитель
Сommit
0bff4328da
4 измененных файлов: 1414 добавлений и 2 удалений
  1. +4
    -1
      oppgavetekst.org
  2. +0
    -1
      ov0/src/main/scala/daisyMatMul.scala
  3. Двоичные данные
      tdt4255figs/pngs/vector.png
  4. +1410
    -0
      tdt4255figs/vector.svg

ov0/src/main/scala/oppgavetekst.org → oppgavetekst.org Просмотреть файл

@@ -179,12 +179,15 @@
else else
dataOut(T - vectorLength) dataOut(T - vectorLength)
#+end_src #+end_src
From the figure the principle of operation becomes clearer [inkskape drawing, rm sketch]
From the figure the principle of operation becomes clearer
To test your implementation you can run To test your implementation you can run
sbt> testOnly Core.daisyVecSpec sbt> testOnly Core.daisyVecSpec
in your sbt console in your sbt console
#+CAPTION: A vector with 4 registers
[[./tdt4255figs/pngs/vector.png]]
** Task 2 - Dot Product ** Task 2 - Dot Product
Your next task is to implement a dot product calculator. daisyDot should Your next task is to implement a dot product calculator. daisyDot should
calculate the dot product of two vectors, inA and inB. Ensure that validOut calculate the dot product of two vectors, inA and inB. Ensure that validOut

+ 0
- 1
ov0/src/main/scala/daisyMatMul.scala Просмотреть файл

@@ -57,7 +57,6 @@ class daisyMultiplier(dims: Dims, dataWidth: Int) extends Module {
matrixB.dataIn := io.dataInB matrixB.dataIn := io.dataInB
matrixB.writeEnable := io.writeEnableB matrixB.writeEnable := io.writeEnableB



//////////////////////////////////////// ////////////////////////////////////////
//////////////////////////////////////// ////////////////////////////////////////
/// Set up counter statemachine /// Set up counter statemachine


Двоичные данные
tdt4255figs/pngs/vector.png Просмотреть файл

До После
Ширина: 505  |  Высота: 394  |  Размер: 17KB

+ 1410
- 0
tdt4255figs/vector.svg
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


Загрузка…
Отмена
Сохранить