withClockAndReset

chisel3.withClockAndReset

Attributes

Source
MultiClock.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T](clock: Clock, reset: Reset)(block: => T): T

Creates a new Clock and Reset scope

Creates a new Clock and Reset scope

Value parameters

block

the block of code to run with new implicit Clock and Reset

clock

the new implicit Clock

reset

the new implicit Reset

Attributes

Returns

the result of the block

Source
MultiClock.scala
def apply[T](clock: Option[Clock], reset: Option[Reset])(block: => T): T

Creates a new Clock and Reset scope

Creates a new Clock and Reset scope

Value parameters

block

the block of code to run with new implicit Clock and Reset

clock

the new implicit Clock, None will set no implicit clock

reset

the new implicit Reset, None will set no implicit reset

Attributes

Returns

the result of the block

Source
MultiClock.scala