spef_extractor: abstract extract_net
spef_extractor: abstract extract_net

Create a new method to reduce the size of the main function (extract).
This clarifies the code.

efabless/openlane,efabless/openlane,efabless/openlane,efabless/openlane