Entity: SinCosLutTb
- File: SinCosLutTb.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 | |
phaseIn | unsigned(PHASE_WIDTH_C - 1 downto 0) | |
validIn | sl | |
dout | cfixed(re(0 downto -17), im(0 downto -17)) |
|
validOut | sl | |
doutRe | real | |
doutIm | real |
Constants
Name | Type | Value | Description |
---|---|---|---|
PHASE_WIDTH_C | integer | 18 | |
CLK_PERIOD_C | time | 10 ns | |
ERROR_TOL_C | real | 0.0001 | |
RUN_CNT_C | integer | 100 + 2**PHASE_WIDTH_C |
Processes
- p_clk: ( )
- p_cnt: ( clk )
Instantiations
- U_DUT: surf.SinCosTaylor