Architecture >> CfixedMultAddTb::test
|
|
complex | randComplex ( min_val: in real , max_val: in real ) | [ impure ] |
|
|
clk | std_logic := ' 0 ' |
|
rst | std_logic := ' 1 ' |
|
run | boolean := true |
|
cnt | integer := 0 |
|
a | cfixed ( re ( 1 downto - 25 ) , im ( 1 downto - 25 ) ) := ( others = > ( others = > ' 0 ' ) ) |
|
b | cfixed ( re ( 1 downto - 16 ) , im ( 1 downto - 16 ) ) := ( others = > ( others = > ' 0 ' ) ) |
|
c | cfixed ( re ( 1 downto - 16 ) , im ( 1 downto - 16 ) ) := ( others = > ( others = > ' 0 ' ) ) |
|
y | cfixed ( re ( 1 downto - 16 ) , im ( 1 downto - 16 ) ) := ( others = > ( others = > ' 0 ' ) ) |
|
aVld | std_logic := ' 1 ' |
|
bVld | std_logic := ' 1 ' |
|
cVld | std_logic := ' 0 ' |
|
yVld | std_logic := ' 0 ' |
|
aIn | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
|
bIn | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
|
cIn | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
|
yExpected | complexArray ( 9 downto 0 ) := ( others = > ( re = > 0 . 00 , im = > 0 . 00 ) ) |
|
yE | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
|
yOut | COMPLEX |
|
yError | real |
|
maxError | real := 0 . 0 |
The documentation for this design unit was generated from the following file:
- dsp/xilinx/tb/CfixedMultAddTb.vhd