X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Chapters%2FNormalization.tex;h=3a7196d44c26ab92338c2e71a29e56097cc5223a;hp=4e0075946eb3475e06f81076aec02d69c5a07de9;hb=9314a7202be9b207a4f8cfe4e1524a85d4bbd2dd;hpb=627861d0a5c3dfeb94b75f0f09c3e45906e46ea0 diff --git a/Chapters/Normalization.tex b/Chapters/Normalization.tex index 4e00759..3a7196d 100644 --- a/Chapters/Normalization.tex +++ b/Chapters/Normalization.tex @@ -952,20 +952,22 @@ \transexample{toplevelinline}{Top level binding inlining}{from}{to} - Example \in{ex:trans:toplevelinline} shows a typical application of + \in{Example}[ex:trans:toplevelinline] shows a typical application of the addition operator generated by \GHC. The type and dictionary arguments used here are described in - \in{section:prototype:polymorphism}. - - Without this transformation, there would be a (+) entity in the - architecture which would just add its inputs. This generates a lot of - overhead in the VHDL, which is particularly annoying when browsing the - generated RTL schematic (especially since + is not allowed in VHDL - architecture names\footnote{Technically, it is allowed to use - non-alphanumerics when using extended identifiers, but it seems that - none of the tooling likes extended identifiers in filenames, so it - effectively doesn't work}, so the entity would be called - \quote{w7aA7f} or something similarly unreadable and autogenerated). + \in{Section}[section:prototype:polymorphism]. + + Without this transformation, there would be a \lam{(+)} entity + in the \VHDL which would just add its inputs. This generates a + lot of overhead in the \VHDL, which is particularly annoying + when browsing the generated RTL schematic (especially since most + non-alphanumerics, like all characters in \lam{(+)}, are not + allowed in \VHDL architecture names\footnote{Technically, it is + allowed to use non-alphanumerics when using extended + identifiers, but it seems that none of the tooling likes + extended identifiers in filenames, so it effectively doesn't + work.}, so the entity would be called \quote{w7aA7f} or + something similarly unreadable and autogenerated). \subsection{Program structure} These transformations are aimed at normalizing the overall structure