blob: 60655b0ebe3d9b09dcafc8d60264f46dc4368831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity ReproduceBug is
port(
clk : in std_logic;
input : in unsigned(7 downto 0);
output : out unsigned(7 downto 0)
);
end ReproduceBug;
architecture rtl of ReproduceBug is
-- only to get rid of "latch inferrence" warning
-- signal outputLcl : unsigned(7 downto 0) := (others => '0');
begin
Main: process(clk)
begin
if rising_edge(Clk) then
output <= input ror 1; -- can also be 'rol'
end if;
end process;
-- output <= outputLcl;
end rtl;
|