summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-04-14 00:38:03 +0100
committerYann Herklotz <git@yannherklotz.com>2021-04-14 00:38:03 +0100
commit4ce7778163d4bf5ae174332cf17fe47a21c1a891 (patch)
tree0115baa195b104363954b60659495d434daa106f
parent7c65e3ed3d9c8ef722aae52816d85e3486ca8de2 (diff)
downloadoopsla21_fvhls-4ce7778163d4bf5ae174332cf17fe47a21c1a891.tar.gz
oopsla21_fvhls-4ce7778163d4bf5ae174332cf17fe47a21c1a891.zip
Add todo
-rw-r--r--algorithm.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/algorithm.tex b/algorithm.tex
index 6bc88d8..2e679f2 100644
--- a/algorithm.tex
+++ b/algorithm.tex
@@ -252,6 +252,8 @@ Finally, global variables are not translated in \vericert{} at the moment.
A high-level overview of the architecture can be seen in Figure~\ref{fig:accumulator_diagram}.
\paragraph{Translating instructions}
+
+\YH{TODO: Need to update text}
Each 3AC instruction either corresponds to a hardware construct, or does not have to be handled by the translation, such as function calls (because of inlining).
For example, state 15 in Figure~\ref{fig:accumulator_rtl} shows a 32-bit register \texttt{x8} being initialised to 1, after which the control flow moves to state 14. This initialisation is also encoded in HTL at state 15 in both the control- and data-path always-blocks, as shown in Figure~\ref{fig:accumulator_v}. Simple operator instructions are translated in a similar way. For example, in state 5, the value of the array element is added to the current sum value, which is simply translated to an addition of the equivalent registers in the HTL code.