Open numero-744 opened 2 years ago
hmm To follow the Stream way, i would say it should be :
def fire = HSEL && HREADY && HTRANS(1)
Valid would mean instead def valid = HSEL && HTRANS(1)
i guess ?
fire
is already defined as HSEL && HREADYOUT
Ahhh right. AHB hell <3 Quite a few bad memories are lying there XD
So is valid
a valid name? (no pun indented)
EDIT: Do you validate valid
as a valid name? (pun indented)
There is the expression
HSEL && HREADY && HTRANS(1)
in AhbLite3.scala:143. This expression is also usedIt is also in the expression of
pendingWrite.valid
in AhbLite3OnChipRam.scala:59 becauseis the same as (after having defined
io.ahb.valid
as the expressionHSEL && HREADY && HTRANS(1)
)which looks trivial written this way.
I think this expression is useful for user implementations, so I suggest to add to the
AhbLite3
bundle.I am discovering Ahb so tell me if the name
valid
is inappropriate here. I was also thinking totransactionValid
orvalidTransaction
.