Skip to content

Commit

Permalink
[script] adapt code format for python
Browse files Browse the repository at this point in the history
  • Loading branch information
tangxifan committed Apr 10, 2024
1 parent f31a44a commit c63cee4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions openfpga_flow/scripts/arch_file_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#####################################################################
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:
Expand Down
1 change: 1 addition & 0 deletions openfpga_flow/scripts/io_sequence_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Author: Ganesh Gore
"""

import math
import svgwrite
from svgwrite.container import Group
Expand Down
8 changes: 5 additions & 3 deletions openfpga_flow/scripts/run_fpga_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c63cee4

Please sign in to comment.