Merge pull request #1412 from umarcor/umarcor/f4pga

litex/build/xilinx/f4pga: update imports
This commit is contained in:
enjoy-digital 2022-09-02 19:03:02 +02:00 committed by GitHub
commit 8159b5caad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -16,10 +16,11 @@ from litex.build.xilinx.vivado import _xdc_separator, _build_xdc
from litex.build import tools from litex.build import tools
try: try:
from f4pga import Flow, make_flow_config from f4pga.flows.flow import Flow
from f4pga.common import set_verbosity_level from f4pga.flows.commands import make_flow_config
from f4pga.cache import F4Cache from f4pga.flows.common import set_verbosity_level
from f4pga.flow_config import ProjectFlowConfig from f4pga.flows.cache import F4Cache
from f4pga.flows.flow_config import ProjectFlowConfig
except ModuleNotFoundError as e: except ModuleNotFoundError as e:
raise ModuleNotFoundError("Try getting/updating F4PGA tool (https://github.com/chipsalliance/f4pga/)") from e raise ModuleNotFoundError("Try getting/updating F4PGA tool (https://github.com/chipsalliance/f4pga/)") from e