Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
f5e47546
Commit
f5e47546
authored
Sep 07, 2016
by
Christian Fibich
Committed by
Stefan Tauner
May 04, 2018
Browse files
Added documentation for t_fiu_records and fault model bits
parent
935e0b74
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/technical_reference_manual/content/04-hardware.tex
View file @
f5e47546
...
...
@@ -80,9 +80,28 @@ selection. If, however, area or timing is critical, fault injection units
can be configured to implement only one fault model each.
Fault injection units are daisy-chained in
\texttt
{
\texttt
{
fault
\_
injection
\_
top
}}
as described in
\Cref
{
sec:hw
_
fi
_
top
}
.
\fixme
{
Add this as footnote to the specification of
\texttt
{
t
\_
fiu
\_
records
}
?
Due to the encoding of the forwarding/fault type in 3 bits, another 2 fault types can be added easily.
More than the total of 8 forwarding types would require some hardware and software changes.
}
The number of
\acp
{
FIU
}
and their configuration are determined by the constant
\texttt
{
c
\_
fiu
\_
config
}
in the VHDL package
\texttt
{
public
\_
config
\_
pkg
}
.
This constant is of the type
\texttt
{
t
\_
fiu
\_
records
}
, which is an array
of
\texttt
{
t
\_
single
\_
fiu
\_
record
}
s. This record consists of the following
fields:
\begin{itemize}
\item
\texttt
{
fault
\_
mode
}
: specifies which fault model is available at runtime.
This is an instance of the type
\texttt
{
t
\_
select
\_
fault
\_
models
}
from
\texttt
{
fault
\_
selection
\_
type
\_
pkg
}
.
\item
\texttt
{
lfsr
\_
mask
}
: specifies an AND mask for the global
\ac
{
LFSR
}
.
The result of the AND operation is in turn
AND-reduced to a single bit which is used
in the stuck-open fault model.
\end{itemize}
The fault model of
\acp
{
FIU
}
configured as
\texttt
{
RUNTIME
}
is configured
at runtime using a 3-bit-wide configuration register for each fault configuration
as seen in Figure~
\ref
{
fig:hardwareblockd
}
. Six of the possible values
are already mapped to fault models as can be seen in the VHDL package
\texttt
{
fault
\_
injection
\_
unit
\_
pkg
}
(via the constants
\texttt
{
c
\_
fault
\_
select
\_*
}
).
Two more fault models can be added without changing the width of these
registers.
\begin{table}
\caption
{
Design Constants
}
...
...
@@ -101,4 +120,4 @@ More than the total of 8 forwarding types would require some hardware and softwa
\caption
{
Toplevel VHDL Outputs
}
\input
{
content/tab
_
vhdl
_
outputs.tex
}
\label
{
tab:toplevel
_
outputs
}
\end{table}
\end{table}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment