Skip to content

Commit

Permalink
[pyxsi] Make pyxsi import optional to allow GHA to work without insta…
Browse files Browse the repository at this point in the history
…llation
  • Loading branch information
auphelia committed Oct 14, 2024
1 parent c817adb commit 8d2daaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/finn/util/pyxsi_rpcclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import os
import pyxsi_utils
import subprocess
import xmlrpc.client
from time import sleep

from finn.util.basic import get_finn_root, get_vivado_root

try:
import pyxsi_utils
except ModuleNotFoundError:
pyxsi_utils = None


def compile_sim_obj(top_module_name, source_list, sim_out_dir):
# compile_sim_obj does not require special envvar settings and is safe to call
Expand Down

0 comments on commit 8d2daaf

Please sign in to comment.