Entity: CfixedPreAddMultTb
- File: CfixedPreAddMultTb.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)) |
|
| d | cfixed(re(1 downto -25), im(1 downto -25)) |
|
| y | cfixed(re(1 downto -16), im(1 downto -16)) |
|
| aVld | std_logic | |
| bVld | std_logic | |
| dVld | std_logic | |
| yVld | std_logic | |
| aIn | complex | |
| bIn | complex | |
| dIn | complex | |
| yExpected | complexArray(9 downto 0) | |
| yE | complex | |
| yOut | complex | |
| yError | real | |
| maxError | real | |
| addNotSub | sl |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| CLK_PERIOD_C | time | 10 ns | |
| ERROR_TOL_C | real | 0.0001 | |
| ADD_NOT_SUB_C | boolean | false | |
| RUN_CNT_C | integer | 1000 |
Processes
- p_clk: ( )
- p_cnt: ( clk )
Instantiations
- U_DUT: work.CfixedPreAddMult