SURF
Loading...
Searching...
No Matches
CfixedPreAddMultTb.test Architecture Reference
Architecture >> CfixedPreAddMultTb::test

Functions

complex   randComplex ( min_val: in real , max_val: in real [ impure ]

Processes

p_clk 
p_cnt  ( clk )

Constants

CLK_PERIOD_C  time := 10 ns
ERROR_TOL_C  real := 0 . 0001
ADD_NOT_SUB_C  boolean := false
RUN_CNT_C  integer := 1000

Signals

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 ' )

Instantiations

u_dut  CfixedPreAddMult <Entity CfixedPreAddMult>

The documentation for this design unit was generated from the following file: