Don't compile SelfInv* without define

This commit is contained in:
Peter Rugg
2021-08-16 14:42:27 +01:00
parent 7e2a946c4c
commit dbb6043760
6 changed files with 13 additions and 1 deletions

View File

@@ -33,7 +33,7 @@
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INF_CACHE
`include "ProcConfig.bsv"
import Types::*;
@@ -660,3 +660,4 @@ endmodule
// unsafe version: all reads read the original reg value, except sendRsToC, which should bypass from pipelineResp
// all writes are cononicalized. NOTE: writes of sendRsToC should be after pipelineResp
// we maintain the logical ordering in safe version
`endif // SELF_INF_CACHE

View File

@@ -34,6 +34,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INV_CACHE
import Assert::*;
import ConfigReg::*;
import Vector::*;
@@ -481,3 +483,4 @@ module mkSelfInvIPipe(
return !needReconcile;
endmethod
endmodule
`endif // SELF_INV_CACHE

View File

@@ -33,6 +33,7 @@
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INV_CACHE
`include "ProcConfig.bsv"
@@ -1292,3 +1293,4 @@ module mkSelfInvL1Cache#(
return fold(\+ , d);
endmethod
endmodule
`endif // SELF_INV_CACHE

View File

@@ -33,6 +33,7 @@
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INV_CACHE
import Assert::*;
import ConfigReg::*;
@@ -508,3 +509,4 @@ module mkSelfInvL1Pipe(
return !needReconcile;
endmethod
endmodule
`endif // SELF_INV_CACHE

View File

@@ -33,6 +33,7 @@
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INV_CACHE
import Vector::*;
import FIFO::*;
@@ -1505,3 +1506,4 @@ endmodule
// -- this cRq is different from that in sendRsToC/sendRsToDma
// -- XXX this cRq may be the same as that in sendRqToC!!!
`endif // SELF_INV_CACHE

View File

@@ -33,6 +33,7 @@
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
`ifdef SELF_INV_CACHE
import Vector::*;
import FShow::*;
@@ -381,3 +382,4 @@ module mkSelfInvLLPipe(
pipe.deqWrite(newCmd, wrRam, updateRep);
endmethod
endmodule
`endif // SELF_INV_CACHE