File: ../../Sources/A17_run_interruption_index.vhd
0: ----------------------------------------------------------------------------------
1: -- Engineer: Vitor Mendes Camilo
2: --
3: -- Module Name: A17_run_interruption_index - Behavioral
4: --
5: -- Description: Code segment A.17
6: -- Index computation for run interruption
7: --
8: ----------------------------------------------------------------------------------
9:
10: library ieee;
11: use ieee.std_logic_1164.all;
12: use ieee.numeric_std.all;
13: use work.openjls_pkg.all;
14:
15: entity a17_run_interruption_index is
16: generic (
17: BITNESS : natural range 8 to 16 := CO_BITNESS_STD
18: );
19: port (
20: iRa : in unsigned (BITNESS - 1 downto 0);
21: iRb : in unsigned (BITNESS - 1 downto 0);
22: oRItype : out std_logic
23: );
24: end entity a17_run_interruption_index;
25:
26: architecture behavioral of a17_run_interruption_index is
27:
28: begin
29:
30: oRItype <= '1' when iRa = iRb else
31: '0';
32:
33: end architecture behavioral;