build/tools: add .vp encrypted verilog file extension awareness
This commit is contained in:
parent
82daa48e09
commit
54bed133f4
|
@ -19,7 +19,7 @@ import datetime
|
||||||
|
|
||||||
def language_by_filename(name):
|
def language_by_filename(name):
|
||||||
extension = name.rsplit(".")[-1]
|
extension = name.rsplit(".")[-1]
|
||||||
if extension in ["v", "vh", "vo"]:
|
if extension in ["v", "vh", "vo", "vp"]:
|
||||||
return "verilog"
|
return "verilog"
|
||||||
elif extension in ["vhd", "vhdl", "vho"]:
|
elif extension in ["vhd", "vhdl", "vho"]:
|
||||||
return "vhdl"
|
return "vhdl"
|
||||||
|
|
Loading…
Reference in New Issue