URL
https://opencores.org/ocsvn/potato/potato/trunk
[/] [potato/] [trunk/] [src/] [pp_core.vhd] - Diff between revs 3 and 34
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 34 |
Line 167... |
Line 167... |
stall_id <= stall_ex;
|
stall_id <= stall_ex;
|
stall_ex <= load_hazard_detected or stall_mem;
|
stall_ex <= load_hazard_detected or stall_mem;
|
stall_mem <= to_std_logic(memop_is_load(mem_mem_op) and dmem_read_ack = '0')
|
stall_mem <= to_std_logic(memop_is_load(mem_mem_op) and dmem_read_ack = '0')
|
or to_std_logic(mem_mem_op = MEMOP_TYPE_STORE and dmem_write_ack = '0');
|
or to_std_logic(mem_mem_op = MEMOP_TYPE_STORE and dmem_write_ack = '0');
|
|
|
flush_if <= branch_taken or exception_taken;
|
flush_if <= (branch_taken or exception_taken) and not stall_if;
|
flush_id <= branch_taken or exception_taken;
|
flush_id <= (branch_taken or exception_taken) and not stall_id;
|
flush_ex <= branch_taken or exception_taken;
|
flush_ex <= (branch_taken or exception_taken) and not stall_ex;
|
|
|
------- Control and status module -------
|
------- Control and status module -------
|
csr_unit: entity work.pp_csr_unit
|
csr_unit: entity work.pp_csr_unit
|
generic map(
|
generic map(
|
PROCESSOR_ID => PROCESSOR_ID
|
PROCESSOR_ID => PROCESSOR_ID
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.