Line 58... |
Line 58... |
--are delayed by one clock cycle: a_bus, b_bus, alu/shift/mult_func,
|
--are delayed by one clock cycle: a_bus, b_bus, alu/shift/mult_func,
|
--c_source, and rd_index.
|
--c_source, and rd_index.
|
pipeline3: process(clk, reset, a_bus, b_bus, alu_func, shift_func, mult_func,
|
pipeline3: process(clk, reset, a_bus, b_bus, alu_func, shift_func, mult_func,
|
rd_index, rd_index_reg, pause_any, pause_reg,
|
rd_index, rd_index_reg, pause_any, pause_reg,
|
take_branch, rs_index, rt_index,
|
take_branch, rs_index, rt_index,
|
pc_source, mem_source, c_source, c_source_reg,
|
pc_source, mem_source, a_source, b_source, c_source, c_source_reg,
|
reg_dest, reg_dest_reg)
|
reg_dest, reg_dest_reg, c_bus)
|
variable pause_mult_clock : std_logic;
|
variable pause_mult_clock : std_logic;
|
begin
|
begin
|
if (pc_source /= from_inc4 and pc_source /= from_opcode25_0) or
|
if (pc_source /= from_inc4 and pc_source /= from_opcode25_0) or
|
mem_source /= mem_fetch or
|
mem_source /= mem_fetch or
|
(mult_func = mult_read_lo or mult_func = mult_read_hi) then
|
(mult_func = mult_read_lo or mult_func = mult_read_hi) then
|