Radical Computer Technologies
DSP / entity

raddsp_wide_mul

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

Vendor-selected wide signed multiplier built from the RAD hard multiplier wrapper.

Use Cases

Block Diagram

raddsp_wide_mul radhdl entity clk rst valid_i a_i b_i valid_o p_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_wide_mul is
  generic (
    VENDOR : string := "xilinx";
    DEVICE_FAMILY : string := "7series";
    A_WIDTH : positive := 16;
    B_WIDTH : positive := 16;
    PRODUCT_WIDTH : positive := 64;
    CHUNK_WIDTH : positive := 16
  );
  port (
    clk : in std_logic;
    rst : in std_logic;
    valid_i : in std_logic;
    a_i : in signed(A_WIDTH - 1 downto 0);
    b_i : in signed(B_WIDTH - 1 downto 0);
    valid_o : out std_logic;
    p_o : out signed(PRODUCT_WIDTH - 1 downto 0)
  );
end component;

Direct Entity Instantiation

u_raddsp_wide_mul : entity radhdl.raddsp_wide_mul
  generic map (
    VENDOR        => "xilinx",
    DEVICE_FAMILY => "7series",
    A_WIDTH       => 16,
    B_WIDTH       => 16,
    PRODUCT_WIDTH => 64,
    CHUNK_WIDTH   => 16
  )
  port map (
    clk     => <clk_signal>,
    rst     => <rst_signal>,
    valid_i => <valid_i_signal>,
    a_i     => <a_i_signal>,
    b_i     => <b_i_signal>,
    valid_o => <valid_o_signal>,
    p_o     => <p_o_signal>
  );

Generics

NameTypeDefaultDescription
VENDORstring"xilinx"
DEVICE_FAMILYstring"7series"
A_WIDTHpositive16
B_WIDTHpositive16
PRODUCT_WIDTHpositive64
CHUNK_WIDTHpositive16

Ports

NameDirectionTypeDescription
clkinstd_logic
rstinstd_logic
valid_iinstd_logic
a_iinsigned(A_WIDTH - 1 downto 0)
b_iinsigned(B_WIDTH - 1 downto 0)
valid_ooutstd_logic
p_ooutsigned(PRODUCT_WIDTH - 1 downto 0)

Testbenches

No directly associated testbench was found.

Sources