Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6.4.1 2003/07/08 15:36:37 lampret
|
|
// Added embedded memory QMEM.
|
|
//
|
// Revision 1.6 2002/07/31 02:04:35 lampret
|
// Revision 1.6 2002/07/31 02:04:35 lampret
|
// MAC now follows software convention (signed multiply instead of unsigned).
|
// MAC now follows software convention (signed multiply instead of unsigned).
|
//
|
//
|
// Revision 1.5 2002/07/14 22:17:17 lampret
|
// Revision 1.5 2002/07/14 22:17:17 lampret
|
// Added simple trace buffer [only for Xilinx Virtex target]. Fixed instruction fetch abort when new exception is recognized.
|
// Added simple trace buffer [only for Xilinx Virtex target]. Fixed instruction fetch abort when new exception is recognized.
|
Line 152... |
Line 155... |
//
|
//
|
// 2. Inserting NOPs in the middle of pipeline only if supported:
|
// 2. Inserting NOPs in the middle of pipeline only if supported:
|
// At this time, only ex_freeze (and wb_freeze) can be deassrted when id_freeze (and if_freeze) are asserted.
|
// At this time, only ex_freeze (and wb_freeze) can be deassrted when id_freeze (and if_freeze) are asserted.
|
// This way NOP is asserted from stage ID into EX stage.
|
// This way NOP is asserted from stage ID into EX stage.
|
//
|
//
|
|
//assign genpc_freeze = du_stall | flushpipe_r | lsu_stall;
|
assign genpc_freeze = du_stall | flushpipe_r;
|
assign genpc_freeze = du_stall | flushpipe_r;
|
assign if_freeze = id_freeze | extend_flush;
|
assign if_freeze = id_freeze | extend_flush;
|
//assign id_freeze = (lsu_stall | (~lsu_unstall & if_stall) | multicycle_freeze | force_dslot_fetch) & ~flushpipe | du_stall;
|
//assign id_freeze = (lsu_stall | (~lsu_unstall & if_stall) | multicycle_freeze | force_dslot_fetch) & ~flushpipe | du_stall;
|
assign id_freeze = (lsu_stall | (~lsu_unstall & if_stall) | multicycle_freeze | force_dslot_fetch) | du_stall | mac_stall;
|
assign id_freeze = (lsu_stall | (~lsu_unstall & if_stall) | multicycle_freeze | force_dslot_fetch) | du_stall | mac_stall;
|
assign ex_freeze = wb_freeze;
|
assign ex_freeze = wb_freeze;
|