SpinalHDL library for schematic generation

Usage

  1. Add below line to build.sbt
libraryDependencies += "com.github.spinalhdl" %% "spinalhdl-schema-gen" % "0.0.4"
  1. Use HDElkDiagramGen to generate diagram with HDElk in html.
HDElkDiagramGen(SpinalVerilog(MyTopLevel()))
  1. Use IPXACTGenerator for IPXACT files generation.
    • Call generateDesignView to generate files for Kactus2 to support architecture display.
    • Call generateIPXACTVivadoComponent for Vivado IP packager.
val designRTL = SpinalConfig(
  mode = Verilog,
  oneFilePerComponent = true
).generate(new MyTopLevel)
val designGenerator = new IPXACTGenerator(designRTL)
designGenerator.generateDesignView()
designGenerator.generateIPXACTVivadoComponent()