All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dfhdl.core.Bubble.scala Maven / Gradle / Ivy

package dfhdl.core
import dfhdl.compiler.ir

sealed trait Bubble
object Bubble extends Bubble:
  enum Behaviour derives CanEqual:
    case Stall, DontCare
  given Behaviour = Behaviour.Stall
  def constValOf[T <: DFTypeAny](dfType: T, named: Boolean)(using dfc: DFC): DFConstOf[T] =
    import dfc.getSet
    DFVal.Const.forced(dfType, dfType.asIR.createBubbleData, named)

final val ? = Bubble




© 2015 - 2024 Weber Informatics LLC | Privacy Policy