Skip to content

Commit

Permalink
Add simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hellgren committed Jun 16, 2024
1 parent a95bbb5 commit 9a10bc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def main():
args = cli.parse_args()

modules = get_modules(modules_folder=REPO_ROOT / "modules")
modules += get_modules(modules_folder=REPO_ROOT / "hdl-module" / "modules")

simulation_project = SimulationProject(args=args)
modules += get_modules(modules_folder=REPO_ROOT / "hdl-modules" / "modules")
simulation_project = SimulationProject(args=args, enable_preprocessing=True)
simulation_project.add_modules(args=args, modules=modules)

if not args.vivado_skip:
Expand All @@ -47,7 +47,7 @@ def main():
create_vhdl_ls_configuration(
output_path=REPO_ROOT,
temp_files_path=REPO_ROOT / "out",
modules=modules + modules_no_sim,
modules=modules,
)

simulation_project.vunit_proj.main()
Expand Down

0 comments on commit 9a10bc5

Please sign in to comment.