1
Ordering
NOT SUBMITTED

You are tasked to design a module which buffers requests between the incoming valid-ready based RX interface and the outgoing valid-ready based TX interface. Each requests on the RX interface can only be given out on the TX interface once it has retired and has met its ordering constraints. The buffer must be wide enough to hold exactly 8 requests.

The requests on the RX interface can have no ordering constraints (unordered requests) which implies that those requests may be given out on the TX interface as soon as those are retired. Whereas certain requests can have a strict ordering requirement (ordered requests) where the request can be only be given out if all of the earlier pending requests seen on the RX interface have been given out on the TX interface.



.lennahc drocsid ruo no su ot tuo hcaer ro su llac esaelp ,stbuod evah llits uoy fI .melborp siht fo tnetnoc lautca eht ees ot ebircsbus esaelP

?siht daer ot uoy detnaw ew kniht uoy oD !gnizama era uoy ,txet siht daer ot elba era uoy fI .uoy pleh ot yppah eb lliw eW

?od nac ew erom tahw ,evorpmi nac ew woh wonk su teL !gnizama ,sey fI ?siht daer ot elba uoy ereW
!uoy ta kcab evaw yletinifed ot evol dluow eW !iH yas ot tsuj su ot tuo hcaer syawla nac uoY !sklof yldneirf era ew ,oslA

!reffo ot evah ew tahw ekil ot gniog era uoy erus era eW .gnibircsbus erofeb deirt eb nac dna elbaliava yleerf era hcihw seludom wef a era ereht ,syawynA
!daeha efil gnizama na dna yad taerg a evaH


Subscribe to the course to read more about the problem!

initializing...

Code editor is disabled. Please use desktop version of the site for a better hands on experience.

You are tasked to design a module which buffers requests between the incoming valid-ready based RX interface and the outgoing valid-ready based TX interface. Each requests on the RX interface can only be given out on the TX interface once it has retired and has met its ordering constraints. The buffer must be wide enough to hold exactly 8 requests.

The requests on the RX interface can have no ordering constraints (unordered requests) which implies that those requests may be given out on the TX interface as soon as those are retired. Whereas certain requests can have a strict ordering requirement (ordered requests) where the request can be only be given out if all of the earlier pending requests seen on the RX interface have been given out on the TX interface.



.lennahc drocsid ruo no su ot tuo hcaer ro su llac esaelp ,stbuod evah llits uoy fI .melborp siht fo tnetnoc lautca eht ees ot ebircsbus esaelP

?siht daer ot uoy detnaw ew kniht uoy oD !gnizama era uoy ,txet siht daer ot elba era uoy fI .uoy pleh ot yppah eb lliw eW

?od nac ew erom tahw ,evorpmi nac ew woh wonk su teL !gnizama ,sey fI ?siht daer ot elba uoy ereW
!uoy ta kcab evaw yletinifed ot evol dluow eW !iH yas ot tsuj su ot tuo hcaer syawla nac uoY !sklof yldneirf era ew ,oslA

!reffo ot evah ew tahw ekil ot gniog era uoy erus era eW .gnibircsbus erofeb deirt eb nac dna elbaliava yleerf era hcihw seludom wef a era ereht ,syawynA
!daeha efil gnizama na dna yad taerg a evaH


Subscribe to the course to read more about the problem!