build/tools: add .vp encrypted verilog file extension awareness

This commit is contained in:
Ilia Sergachev 2022-02-26 10:38:11 +01:00
parent 82daa48e09
commit 54bed133f4
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import datetime
def language_by_filename(name):
extension = name.rsplit(".")[-1]
if extension in ["v", "vh", "vo"]:
if extension in ["v", "vh", "vo", "vp"]:
return "verilog"
elif extension in ["vhd", "vhdl", "vho"]:
return "vhdl"