Skip to content

Commit

Permalink
LinkLayer: During reset RXLINKACTIVEACK must be deasserted
Browse files Browse the repository at this point in the history
During reset the following interface signals must be deasserted by the
component:

* TX***LCRDV
* TX***FLITV
* TXLINKACTIVEREQ and RXLINKACTIVEACK

The earliest point after reset that it is permitted to begin driving
these signals HIGH is at a rising CLK edge after RESETn is HIGH.
  • Loading branch information
linjuanZ committed Aug 29, 2024
1 parent 41f2152 commit 982f732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/coupledL2/tl2chi/chi/LinkLayer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class LinkMonitor(implicit p: Parameters) extends L2Module with HasCHIMsgParamet

io.out.txsactive := true.B
io.out.tx.linkactivereq := !reset.asBool
io.out.rx.linkactiveack := RegNext(io.out.rx.linkactivereq) || !rxDeact
io.out.rx.linkactiveack := (RegNext(io.out.rx.linkactivereq) || !rxDeact) && !reset.asBool

io.out.syscoreq := true.B

Expand Down

0 comments on commit 982f732

Please sign in to comment.