Skip to content

Commit

Permalink
public EventSet.gate so EventSet could be clone with tapped signals (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsinyi authored Jun 16, 2020
1 parent 05ecb5e commit 6ddcdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/Events.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Chisel._
import freechips.rocketchip.util._
import freechips.rocketchip.util.property._

class EventSet(gate: (UInt, UInt) => Bool, val events: Seq[(String, () => Bool)]) {
class EventSet(val gate: (UInt, UInt) => Bool, val events: Seq[(String, () => Bool)]) {
def size = events.size
val hits = Wire(Vec(size, Bool()))
def check(mask: UInt) = {
Expand Down

0 comments on commit 6ddcdf9

Please sign in to comment.