aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAngie Wang2016-08-17 13:34:14 -0700
committerJack Koenig2016-08-17 13:34:14 -0700
commit5db4abebb7ceb5939a9efca158d78e3dc0e32c44 (patch)
treefd8c5b5231a8f097962a5c7c95a079b79e8e9d4f /spec
parent673d7c6e11c80d7439a416b4dcb206e6777d89cf (diff)
Change RW port names (#236)
* Updated FIRRTL spec + related code for readwrite ports. (write) data -> wdata & mask -> wmask for clarity * Also removed simple.fir that snuck into master branch.
Diffstat (limited to 'spec')
-rw-r--r--spec/spec.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec.tex b/spec/spec.tex
index fe61b84a..14f5ce11 100644
--- a/spec/spec.tex
+++ b/spec/spec.tex
@@ -827,10 +827,10 @@ If the \verb|en| field is high, then the non-masked portion of the \verb|data| f
\subsubsection{Readwrite Ports}
Finally, the readwrite ports have type:
\begin{verbatim}
-{wmode:UInt<1>, flip rdata:T, data:T, mask:M,
+{wmode:UInt<1>, flip rdata:T, wdata:T, wmask:M,
addr:UInt<N>, en:UInt<1>, clk:Clock}
\end{verbatim}
-A readwrite port is a single port that, on a given cycle, can be used either as a read or a write port. If the readwrite port is not in write mode (the \verb|wmode| field is low), then the \verb|rdata|, \verb|addr|, \verb|en|, and \verb|clk| fields constitute its read port fields, and should be used accordingly. If the readwrite port is in write mode (the \verb|wmode| field is high), then the \verb|data|, \verb|mask|, \verb|addr|, \verb|en|, and \verb|clk| fields constitute its write port fields, and should be used accordingly.
+A readwrite port is a single port that, on a given cycle, can be used either as a read or a write port. If the readwrite port is not in write mode (the \verb|wmode| field is low), then the \verb|rdata|, \verb|addr|, \verb|en|, and \verb|clk| fields constitute its read port fields, and should be used accordingly. If the readwrite port is in write mode (the \verb|wmode| field is high), then the \verb|wdata|, \verb|wmask|, \verb|addr|, \verb|en|, and \verb|clk| fields constitute its write port fields, and should be used accordingly.
\subsubsection{Read Under Write Behaviour}