SpinalHDL library for schematic generation
- Add below line to build.sbt
libraryDependencies += "com.github.spinalhdl" %% "spinalhdl-schema-gen" % "0.0.4"
- Use HDElkDiagramGen to generate diagram with HDElk in html.
HDElkDiagramGen(SpinalVerilog(MyTopLevel()))
- 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()