1 ------------------------------------------------------------------------------- 3 --! @brief Sigma-Delta Modulator module 4 ------------------------------------------------------------------------------- 9 --! Using IEEE standard logic components 10 USE ieee.std_logic_1164.
ALL;
12 --! Using IEE standard numeric components 15 --! @brief Sigma-Delta modulator entity 17 --! This entity is a configurable first-order sigma-delta modulator with 18 --! a configurable bit-width. 21 bit_width : RANGE 1 TO 32 := 8 --! Bit width 27 sdm_out : OUT --! Modulator output 31 --! Architecture rtl of sdm entity 32 ARCHITECTURE rtl
OF sdm IS
34 --! Modulator accumulator 39 --! @brief Process for sigma-delta generation 46 ELSIF (rising_edge(clk_in)) THEN 53 -- Drive output with MSB of accumulator in rst_instd_logic
Asynchronous reset.
in sdm_level_instd_logic_vector( bit_width- 1 DOWNTO 0)
Modulator level.
in clk_instd_logic
Clock.
out sdm_outstd_logic
Modulator output.
_library_ ieeeieee
Using IEEE library.
bit_widthinteger range 1 TO 32:= 8
Bit width.
Using IEE standard numeric components Sigma-Delta modulator entityThis entity is a configurable firs...
unsigned( sdm_level_in'HIGH+ 1 DOWNTO 0) accumulator
Modulator accumulator.