Architecture >> CfixedPreAddMultTb::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 ' ) ) |
d | cfixed ( re ( 1 downto - 25 ) , im ( 1 downto - 25 ) ) := ( others = > ( others = > ' 0 ' ) ) |
y | cfixed ( re ( 1 downto - 16 ) , im ( 1 downto - 16 ) ) := ( others = > ( others = > ' 0 ' ) ) |
aVld | std_logic := ' 1 ' |
bVld | std_logic := ' 1 ' |
dVld | std_logic := ' 0 ' |
yVld | std_logic := ' 1 ' |
aIn | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
bIn | complex := ( re = > 0 . 00 , im = > 0 . 00 ) |
dIn | 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 := ( re = > 0 . 00 , im = > 0 . 00 ) |
yError | real := 0 . 000 |
maxError | real := 0 . 000 |
addNotSub | sl := ite ( ADD_NOT_SUB_C , ' 1 ' , ' 0 ' ) |
The documentation for this design unit was generated from the following file:
- dsp/tb/CfixedPreAddMultTb.vhd