URL
https://opencores.org/ocsvn/fixed_extensions/fixed_extensions/trunk
Subversion Repositories fixed_extensions
[/] [fixed_extensions/] [trunk/] [sim/] [rtl_sim/] [src/] [fixed_float_types_custom.vhd] - Rev 2
Compare with Previous | Blame | View Log
-- File automatically generated by "cdfg2hdl". -- Filename: fixed_float_types_custom.vhd -- Date: 29 April 2011 05:52:35 PM -- Author: Nikolaos Kavvadias (C) 2009, 2010, 2011 package fixed_float_types is -- Types used for generics of fixed_generic_pkg type fixed_round_style_type is (fixed_round, fixed_truncate); type fixed_overflow_style_type is (fixed_saturate, fixed_wrap); type round_type is (round_nearest, -- Default, nearest LSB '0' round_inf, -- Round toward positive infinity round_neginf, -- Round toward negative infinity round_zero); -- Round toward zero (truncate) -- Rounding routine to use in fixed point, fixed_round or fixed_truncate constant fixed_round_style : fixed_round_style_type := fixed_truncate; -- Overflow routine to use in fixed point, fixed_saturate or fixed_wrap constant fixed_overflow_style : fixed_overflow_style_type := fixed_wrap; -- Extra bits used in divide routines constant fixed_guard_bits : NATURAL := 3; -- If TRUE, then turn off warnings on "X" propagation constant no_warning : BOOLEAN := (false); end package fixed_float_types;