You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wake-up flag marks the interrupt as a \emph{wake-up interrupt} (see below).
257
262
263
+
Level-sensitive and invert flags control trigger conditions (Table \ref{tab:trigger}).
264
+
265
+
\begin{table}[htbp]
266
+
\caption{Interrupt trigger conditions}
267
+
\label{tab:trigger}
268
+
\begin{tabularx}{\textwidth}{llL}
269
+
\toprule
270
+
Level-sensitive & Invert & Trigger condition \\
271
+
\midrule
272
+
0 & 0 & Rising edge \\
273
+
0 & 1 & Falling edge \\
274
+
1 & 0 & High level \\
275
+
1 & 1 & Low level \\
276
+
\bottomrule
277
+
\end{tabularx}
278
+
\end{table}
279
+
258
280
Like other registers, \code{cr} is zero-initialized during the CPU reset, meaning that no interrupts are initially enabled.
259
281
260
282
\subsection{Invoking interrupt handlers}
@@ -502,7 +524,7 @@ \section{WISHBONE data bus}
502
524
\section{Interrupts}
503
525
\label{sec:interrupts}
504
526
505
-
\lxp{} registers an interrupt condition when the corresponding request signal goes from \code{0} to \code{1}. Transitions from \code{1} to \code{0} are ignored. All interrupt request signals must be synchronous with the system clock (\signal{clk\_i}); if coming from an asynchronous source, they must be synchronized using a sequence of at least two flip-flops clocked by \signal{clk\_i}. These flip-flops are not included in the \lxp{} core in order not to increase interrupt processing delay for interrupt sources that are inherently synchronous. Failure to properly synchronize interrupt request signals will cause timing violations that will manifest itself as intermittent, hard to debug faults.
527
+
All interrupt request signals must be synchronous with the system clock (\signal{clk\_i}); if coming from an asynchronous source, they must be synchronized using a sequence of at least two flip-flops clocked by \signal{clk\_i}. These flip-flops are not included in the \lxp{} core in order not to increase interrupt processing delay for interrupt sources that are inherently synchronous. Failure to properly synchronize interrupt request signals will cause timing violations that will manifest itself as intermittent, hard to debug faults.
0 commit comments