Entity: CfixedMultAddTb
- File: CfixedMultAddTb.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to
the terms contained in the LICENSE.txt file.
Signals
Name | Type | Description |
---|---|---|
clk | std_logic | |
rst | std_logic | |
run | boolean | |
cnt | integer | |
a | cfixed(re(1 downto -25), im(1 downto -25)) |
|
b | cfixed(re(1 downto -16), im(1 downto -16)) |
|
c | cfixed(re(1 downto -16), im(1 downto -16)) |
|
y | cfixed(re(1 downto -16), im(1 downto -16)) |
|
aVld | std_logic | |
bVld | std_logic | |
cVld | std_logic | |
yVld | std_logic | |
aIn | complex | |
bIn | complex | |
cIn | complex | |
yExpected | complexArray(9 downto 0) | |
yE | complex | |
yOut | COMPLEX | |
yError | REAL | |
maxError | REAL |
Constants
Name | Type | Value | Description |
---|---|---|---|
CLK_PERIOD_C | time | 10 ns | |
ERROR_TOL_C | real | 0.0001 | |
RUN_CNT_C | integer | 1000 |
Processes
- p_clk: ( )
- p_cnt: ( clk )
Instantiations
- U_DUT: work.cfixedMultAdd