mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
clean up comments
This commit is contained in:
parent
b401decfca
commit
5a641fb694
@ -47,19 +47,6 @@ module fetchbuffer import cvw::*; #(parameter cvw_t P) (
|
|||||||
flopenl #(32) f1 (.clk, .load(reset | FlushD), .en(WritePtr[1]), .d(WriteData), .val(nop), .q(Readf1));
|
flopenl #(32) f1 (.clk, .load(reset | FlushD), .en(WritePtr[1]), .d(WriteData), .val(nop), .q(Readf1));
|
||||||
flopenl #(32) f2 (.clk, .load(reset | FlushD), .en(WritePtr[2]), .d(WriteData), .val(nop), .q(Readf2));
|
flopenl #(32) f2 (.clk, .load(reset | FlushD), .en(WritePtr[2]), .d(WriteData), .val(nop), .q(Readf2));
|
||||||
|
|
||||||
// always_comb begin : readMuxes
|
|
||||||
// // Mux read data from the three registers
|
|
||||||
// case (ReadPtr)
|
|
||||||
// 3'b001: ReadFetchBuffer = Readf0;
|
|
||||||
// 3'b010: ReadFetchBuffer = Readf1;
|
|
||||||
// 3'b100: ReadFetchBuffer = Readf2;
|
|
||||||
// default: ReadFetchBuffer = nop; // just in case?
|
|
||||||
// endcase
|
|
||||||
// // issue nop when appropriate
|
|
||||||
// ReadData = Empty ? nop : ReadFetchBuffer;
|
|
||||||
// end
|
|
||||||
|
|
||||||
|
|
||||||
// Fetch buffer entries anded with read ptr for AO Muxing
|
// Fetch buffer entries anded with read ptr for AO Muxing
|
||||||
logic [31:0] DaoArr [2:0];
|
logic [31:0] DaoArr [2:0];
|
||||||
// ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Make parameterizable
|
// ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Make parameterizable
|
||||||
|
@ -304,8 +304,7 @@ module ifu import cvw::*; #(parameter cvw_t P) (
|
|||||||
assign GatedStallD = StallD & ~SelSpillNextF;
|
assign GatedStallD = StallD & ~SelSpillNextF;
|
||||||
|
|
||||||
// flopenl #(32) AlignedInstrRawDFlop(clk, reset | FlushD, ~StallD, PostSpillInstrRawF, nop, InstrRawD);
|
// flopenl #(32) AlignedInstrRawDFlop(clk, reset | FlushD, ~StallD, PostSpillInstrRawF, nop, InstrRawD);
|
||||||
// TODO: Test this?!?!?!
|
fetchbuffer #(P) fetchbuff(.clk, .reset, .StallF, .StallD, .FlushD, .WriteData(PostSpillInstrRawF), .ReadData(InstrRawD), .FetchBufferStallF);
|
||||||
fetchbuffer #(P) fetchbuff(.clk, .reset, .StallF, .StallD, .FlushD, .WriteData(PostSpillInstrRawF), .ReadData(InstrRawD), .FetchBufferStallF); // Figure out what TODO with StallF
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// PCNextF logic
|
// PCNextF logic
|
||||||
|
Loading…
Reference in New Issue
Block a user