Package: pp_utilities
- File: pp_utilities.vhd
Functions
- to_std_logic (input : in boolean) return std_logic
- is_pow2 (input : in natural) return boolean
Description
Checks if a number is 2^n:
- log2 (input : in natural) return natural
Description
! Calculates log2 with integers.
- wb_get_data_sel (size : in std_logic_vector(1 downto 0);
address : in std_logic_vector) return std_logic_vector
Description
Gets the value of the sel signals to the wishbone interconnect for the specified
operand size and address.