dfhdl.ops.scala Maven / Gradle / Ivy
The newest version!
package dfhdl
import dfhdl.compiler.stages.{BackendCompiler, CompiledDesign, StagedDesign}
import dfhdl.core.Design
import dfhdl.options.{CompilerOptions, PrinterOptions}
import dfhdl.compiler.printing.Printer
export compiler.stages.printCodeString
extension [D <: Design](dsn: D)
def compile(using CompilerOptions, PrinterOptions): CompiledDesign[D] = StagedDesign(dsn).compile