Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mole99 committed Oct 9, 2024
1 parent 0cb7ca0 commit 797d0d0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
11 changes: 10 additions & 1 deletion FABulous/fabric_cad/bit_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
import re
import sys

from fasm import * # Remove this line if you do not have the fasm library installed and will not be generating a bitstream
from loguru import logger

try:
from fasm import (
parse_fasm_filename,
fasm_tuple_to_string,
parse_fasm_string,
set_feature_to_str,
)
except:
logger.critical("Could not import fasm. Bitstream generation not supported.")


def replace(string, substitutions):
substrings = sorted(substitutions, key=len, reverse=True)
Expand Down
1 change: 0 additions & 1 deletion FABulous/fabric_generator/fabric_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
)

from FABulous.fabric_generator.file_parser import parseConfigMem, parseList, parseMatrix
from fasm import * # Remove this line if you do not have the fasm library installed and will not be generating a bitstream

SWITCH_MATRIX_DEBUG_SIGNAL = True

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ classifiers = [


dependencies = [
'numpy',
'fasm',
'docker',
'python-dotenv>=1.0.0',
'loguru>=0.7.0',
'fasm>=0.0.2',
]

[project.urls]
Expand Down
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
numpy
fasm
docker
python-dotenv
loguru
python-dotenv>=1.0.0
loguru>=0.7.0
fasm>=0.0.2

0 comments on commit 797d0d0

Please sign in to comment.