Stefan Schuermans commited on 2012-02-05 13:21:27
Showing 1 changed files, with 1 additions and 3 deletions.
... | ... |
@@ -15,9 +15,7 @@ END ENTITY e_mips_shifter; |
15 | 15 |
|
16 | 16 |
ARCHITECTURE a_mips_shifter OF e_mips_shifter IS |
17 | 17 |
|
18 |
- SIGNAL s_in: std_logic_vector(31 DOWNTO 0); |
|
19 | 18 |
SIGNAL s_fill: std_logic; |
20 |
- SIGNAL s_out: std_logic_vector(31 DOWNTO 0); |
|
21 | 19 |
|
22 | 20 |
FUNCTION l_shift(b: std_logic; |
23 | 21 |
val: std_logic_vector(31 DOWNTO 0); |
... | ... |
@@ -48,7 +46,7 @@ ARCHITECTURE a_mips_shifter OF e_mips_shifter IS |
48 | 46 |
|
49 | 47 |
BEGIN |
50 | 48 |
|
51 |
- s_fill <= i_arith AND s_in(31); |
|
49 |
+ s_fill <= i_arith AND i_val(31); |
|
52 | 50 |
|
53 | 51 |
p_shift: PROCESS(i_left, i_val, i_num, s_fill) |
54 | 52 |
VARIABLE v1: std_logic_vector(31 DOWNTO 0); |
55 | 53 |