Revert "initial commit, test compiled and run sucessfully"

This reverts commit d025278195.
This commit is contained in:
Yuecheng-CAM
2025-06-01 18:17:24 +01:00
parent d025278195
commit 8af3b2e85a
22 changed files with 3 additions and 123434 deletions

View File

@@ -65,7 +65,7 @@ function CLineDataSel getCLineDataSel(Addr a) =
typedef struct {
Vector#(CLineNumMemTaggedData, MemTag) tag;
Vector#(CLineNumMemTaggedData, MemData) data;
} CLine deriving (Bits, Eq, FShow, Bounded);
} CLine deriving (Bits, Eq, FShow);
function Vector#(CLineNumMemTaggedData, MemTaggedData) clineToMemTaggedDataVector(CLine line);
function f(x,y) = MemTaggedData{tag: x, data: y};
return zipWith(f, line.tag, line.data);

View File

@@ -67,7 +67,6 @@ export L1Num;
export LgL1WayNum;
export L1WayNum;
export L1Way;
export LgDBankNum;
export DProcReqId;
export L1DCRqStuck(..);

View File

@@ -56,7 +56,7 @@ typedef Vector#(DataBytes, Bool) ByteEn;
typedef struct {
tag_t tag;
data_t data;
} TaggedData#(type tag_t, type data_t) deriving (Bits, FShow, Eq, Bounded);
} TaggedData#(type tag_t, type data_t) deriving (Bits, FShow, Eq);
function tag_t getTag(TaggedData#(tag_t, data_t) td) = td.tag;
function data_t getData(TaggedData#(tag_t, data_t) td) = td.data;
typedef Vector#(2, Data) MemData;