ARačk
New Contributor
7 years agoI need help with the testbench which read from the file.
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY signed_mult18 is
PORT( a : IN SIGNED (17 DOWNTO 0);
b : IN SIGNED (17 DOWNTO 0);
result : OUT SIGNED (35 DOWNTO 0));
END ENTITY;
ARCHITECTURE rtl OF signed_mult18 IS
BEGIN
result <= a * b;
END rtl;
I need a testbench to tell him the code he can read from the file.
This multiplier should know the date and year of birth in the supplementary code from the file.