[script] adapt code format for python
This commit is contained in:
parent
f31a44ada9
commit
c63cee458b
|
@ -26,6 +26,7 @@ error_codes = {"SUCCESS": 0, "ERROR": 1, "OPTION_ERROR": 2, "FILE_ERROR": 3}
|
|||
#####################################################################
|
||||
logging.basicConfig(format="%(levelname)s: %(message)s", level=logging.INFO)
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Upgrade an architecture XML file from version 1.1 syntax to version 1.2
|
||||
# Change rules:
|
||||
|
|
|
@ -13,6 +13,7 @@ This example demonstrates the ``OpenFPGA_Arch`` class which parses the
|
|||
Author: Ganesh Gore
|
||||
|
||||
"""
|
||||
|
||||
import math
|
||||
import svgwrite
|
||||
from svgwrite.container import Group
|
||||
|
|
|
@ -674,9 +674,11 @@ def create_yosys_params():
|
|||
ys_params["READ_HDL_FILE"] += " ".join(
|
||||
[
|
||||
"verific",
|
||||
"-L " + ys_params["VERIFIC_SEARCH_LIB"]
|
||||
if "VERIFIC_SEARCH_LIB" in ys_params
|
||||
else "",
|
||||
(
|
||||
"-L " + ys_params["VERIFIC_SEARCH_LIB"]
|
||||
if "VERIFIC_SEARCH_LIB" in ys_params
|
||||
else ""
|
||||
),
|
||||
standard,
|
||||
" ".join([shlex.quote(src) for src in sources]),
|
||||
"\n",
|
||||
|
|
Loading…
Reference in New Issue