Skip to content

Commit

Permalink
utils/ get_filetype add ".net" as supported ext.
Browse files Browse the repository at this point in the history
Cadence Virtuoso will produce netlists with the .src.net
extension when streaming out schematics as netlists
(i.e. when running Calibre nmLVS in Virtuoso)
  • Loading branch information
daniellovell committed Oct 17, 2024
1 parent 20691d5 commit b59a3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hammer/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def get_filetype(filename: str) -> HammerFiletype:
if len(split) == 1:
return HammerFiletype.NONE
extension = split[-1]
if extension in ["sp", "spi", "nl", "cir", "spice", "cdl"]:
if extension in ["sp", "spi", "nl", "cir", "spice", "cdl", "net"]:
return HammerFiletype.SPICE
elif extension in ["v", "sv", "vh"]:
return HammerFiletype.VERILOG
Expand Down

0 comments on commit b59a3b1

Please sign in to comment.