Radical Computer Technologies
DSP / entity

raddsp_square_seq

Documentation version: 0.2.2-beta.1 / Subpackage: dsp_transform / Source package: raddsp

Vendor-selected sequential square helper backed by RAD hard multiplier wrappers.

Use Cases

Block Diagram

raddsp_square_seq radhdl entity clk rst start_i x_i busy_o valid_o y_o
VHDL Include And Instantiation Template

File Header

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

library radhdl;
-- Direct entity instantiation below does not require importing the entity name.
use radhdl.dsp.all;
-- Narrower alternative: use radhdl.dsp_transform.all;

Component Declaration

component raddsp_square_seq is
  generic (
    VENDOR : string := "xilinx";
    DEVICE_FAMILY : string := "7series";
    WIDTH : positive := 32
  );
  port (
    clk : in std_logic;
    rst : in std_logic;
    start_i : in std_logic;
    x_i : in signed(WIDTH - 1 downto 0);
    busy_o : out std_logic;
    valid_o : out std_logic;
    y_o : out unsigned((2 * WIDTH) - 1 downto 0)
  );
end component;

Direct Entity Instantiation

u_raddsp_square_seq : entity radhdl.raddsp_square_seq
  generic map (
    VENDOR        => "xilinx",
    DEVICE_FAMILY => "7series",
    WIDTH         => 32
  )
  port map (
    clk     => <clk_signal>,
    rst     => <rst_signal>,
    start_i => <start_i_signal>,
    x_i     => <x_i_signal>,
    busy_o  => <busy_o_signal>,
    valid_o => <valid_o_signal>,
    y_o     => <y_o_signal>
  );

Generics

NameTypeDefaultDescription
VENDORstring"xilinx"
DEVICE_FAMILYstring"7series"
WIDTHpositive32

Ports

NameDirectionTypeDescription
clkinstd_logic
rstinstd_logic
start_iinstd_logic
x_iinsigned(WIDTH - 1 downto 0)
busy_ooutstd_logic
valid_ooutstd_logic
y_ooutunsigned((2 * WIDTH) - 1 downto 0)

Testbenches

No directly associated testbench was found.

Sources