修复错误位宽,加入islast

This commit is contained in:
Ruige Lee (WSL)
2025-01-17 16:21:46 +08:00
parent bf0e345cc9
commit 33f2160365
6 changed files with 53 additions and 32 deletions

View File

@@ -81,7 +81,9 @@ ExampleRocketSystem s_rocket_mst(
.cdrio_uDatIn(uDatSer[0]),
.cdrio_uDatOut(),
.cdrio_dDatIn(1'b0),
.cdrio_dDatOut(dDatSer[0])
.cdrio_dDatOut(dDatSer[0]),
.cdrio_isOnline(),
.cdrio_isLast(1'b0)
);
@@ -138,7 +140,10 @@ ExampleRocketSystem s_rocket_slv0(
.cdrio_uDatIn(uDatSer[1]),
.cdrio_uDatOut(uDatSer[0]),
.cdrio_dDatIn(dDatSer[0]),
.cdrio_dDatOut(dDatSer[1])
.cdrio_dDatOut(dDatSer[1]),
.cdrio_isOnline(),
.cdrio_isLast(1'b0)
);
@@ -195,7 +200,10 @@ ExampleRocketSystem s_rocket_slv1(
.cdrio_uDatIn(uDatSer[2]),
.cdrio_uDatOut(uDatSer[1]),
.cdrio_dDatIn(dDatSer[1]),
.cdrio_dDatOut(dDatSer[2])
.cdrio_dDatOut(dDatSer[2]),
.cdrio_isOnline(),
.cdrio_isLast(1'b0)
);
@@ -252,7 +260,10 @@ ExampleRocketSystem s_rocket_slv2(
.cdrio_uDatIn(1'b0),
.cdrio_uDatOut(uDatSer[2]),
.cdrio_dDatIn(dDatSer[2]),
.cdrio_dDatOut()
.cdrio_dDatOut(),
.cdrio_isOnline(),
.cdrio_isLast(1'b1)
);