5 output wire [31:0] rd_addr,
13 output reg bubble = 1,
14 output reg [31:0] insn = 0,
15 output reg [31:0] pc = 32'hFFFFFFFC);
17 reg qjmp = 0; /* A jump has been queued up while we were waiting. */
19 always @(posedge clk or negedge Nrst)
22 else if ((rd_wait || stall) && jmp)
23 {qjmp,qjmppc} <= {jmp, jmppc};
24 else if (!rd_wait && !stall && qjmp) /* It has already been intoed. */
25 {qjmp,qjmppc} <= {1'b0, 32'hxxxxxxxx};
29 /* Output latch logic */
30 assign rd_addr = reqpc;
32 always @(posedge clk or negedge Nrst)
37 end else if (!stall) begin
38 bubble <= (jmp || qjmp || rd_wait);
43 always @(posedge clk or negedge Nrst)
46 else if (!stall && !rd_wait) begin