OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [FT64v5/] [rtl/] [twoway/] [FT64_stomp.v] - Diff between revs 48 and 52

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 48 Rev 52
Line 20... Line 20...
// You should have received a copy of the GNU General Public License        
// You should have received a copy of the GNU General Public License        
// along with this program.  If not, see <http://www.gnu.org/licenses/>.    
// along with this program.  If not, see <http://www.gnu.org/licenses/>.    
//
//
// ============================================================================
// ============================================================================
//
//
`define QBITS   2:0
`include "FT64_config.vh"
 
 
module FT64_stomp(branchmiss,branchmiss_thrd,missid,head0,thrd,iqentry_v,stomp);
module FT64_stomp(branchmiss,branchmiss_thrd,missid,head0,thrd,iqentry_v,stomp);
parameter QENTRIES = 8;
parameter QENTRIES = `QENTRIES;
input branchmiss;
input branchmiss;
input branchmiss_thrd;
input branchmiss_thrd;
input [`QBITS] missid;
input [`QBITS] missid;
input [`QBITS] head0;
input [`QBITS] head0;
input [QENTRIES-1:0] thrd;
input [QENTRIES-1:0] thrd;
Line 39... Line 39...
integer n;
integer n;
reg [QENTRIES-1:0] stomp2;
reg [QENTRIES-1:0] stomp2;
reg [`QBITS] contid;
reg [`QBITS] contid;
always @*
always @*
if (branchmiss) begin
if (branchmiss) begin
    stomp2 = 8'h00;
    stomp2 = {QENTRIES{1'b0}};
 
 
    // If missed at the head, all queue entries but the head are stomped on.
    // If missed at the head, all queue entries but the head are stomped on.
    if (head0==missid) begin
    if (head0==missid) begin
        for (n = 0; n < QENTRIES; n = n + 1)
        for (n = 0; n < QENTRIES; n = n + 1)
            if (n!=missid) begin
            if (n!=missid) begin

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.