tree: efcfc1bc320415fce4331f48d5591873b2779ed0 [path history] [tgz]
  1. decred_controller.sch
  2. decred_controller.spice
  3. decred_controller.sym
  4. decred_controller.v
  5. decred_hash_macro.png
  6. decred_hash_macro.sch
  7. decred_hash_macro.spice
  8. decred_hash_macro.sym
  9. decred_hash_macro.v
  10. decred_hash_macro_2.png
  11. LICENSE
  12. make_sch_from_spice.awk
  13. README.md
  14. test1.spice
  15. test2.spice
  16. user_project_wrapper.sch
  17. user_project_wrapper.spice
  18. user_project_wrapper.sym
  19. user_project_wrapper.v
dependencies/pdks/volare/sky130/versions/0059588eebfc704681dc2368bd1d33d96281d10f/sky130A/libs.tech/xschem/decred_hash_macro/README.md

spice import of a synthetized RTL design into XSCHEM

  • copy decred_controller.spice and decred_hash_macro.spice to test1.spice and test2.spice
  • in test?.spice:
  • delete FILLER, ANTENNA and tapvpwrvgnd cells (delete these lines)
  • delete VGND VGND VPWR VPWR power pins from stdcell instances; xschem propagates power pins on standard cells via attributes.
    from:
    X_1468_ _1428_/Y VGND VGND VPWR VPWR _1548_/D sky130_fd_sc_hd__buf_2
    to:
    X_1468_ _1428_/Y _1548_/D sky130_fd_sc_hd__buf_2
  • be careful when doing above since some long netlist lines are folded:
    Xclkbuf_1_0_0_addressalyzerBlock.SPI_CLK clkbuf_0_addressalyzerBlock.SPI_CLK/X VGND
    + VGND VPWR VPWR clkbuf_2_1_0_addressalyzerBlock.SPI_CLK/A sky130_fd_sc_hd__clkbuf_1
    
  • ./make_sch_from_spice.awk user_project_wrapper.spice > log
  • ./make_sch_from_spice.awk test1.spice >log
  • ./make_sch_from_spice.awk test2.spice >log
  • manually fix port directions using info from verilog files
  • rename top level nets to more sane names

Opening the schematic

from xschem_sky130/ directory:

xschem decred_hash_macro/user_project_wrapper.sch

Warning: the decred_hash_macro is an extremely big schematic, xschem takes some seconds to load it in when descending into it.

schematic

schematic2