add symbol for second half of 15-pin D shell stacked pairs
[hw/altusmetrum] / scheme / gnet-bomAM.scm
index 2c22d9dd5ba480eab75bbbdc0a9340e75840c628..487a7a644df98f3696f00797cf4f129bd67994ef 100644 (file)
 ;; --------------------------------------------------------------------------
 
 (use-modules (ice-9 rdelim)
-             (gnetlist backend-getopt)
-             (gnetlist schematic)
+             (netlist backend-getopt)
+            (netlist error)
+             (netlist schematic)
+             (netlist schematic toplevel)
              (srfi srfi-26))
 
 (define bomAM:open-input-file
@@ -59,7 +61,7 @@ filename)
            (begin
              (bomAM:printlist (append attriblist (list "quantity" "refdes")) #\,)
              (newline)
-             (bomAM:printbom (bomAM:components (schematic-packages toplevel-schematic)
+             (bomAM:printbom (bomAM:components (schematic-package-names (toplevel-schematic))
                                              attriblist)
                             0))))))