Skip to content

Commit 97db0ac

Browse files
committed
Remove usage of 'design' as a path for user design
1 parent f6316f6 commit 97db0ac

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

chipflow_lib/steps/sim.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ def common():
3131
with importlib.resources.as_file(common) as f:
3232
yield f
3333

34-
@contextmanager
35-
def source():
36-
root = _ensure_chipflow_root()
37-
sourcedir = Path(root) / 'design' / 'sim'
38-
#sim_src = sourcedir.joinpath('design','sim')
39-
#with importlib.resources.as_file(sim_src) as f:
40-
yield sourcedir
41-
4234
@contextmanager
4335
def runtime():
4436
yowasp = importlib.resources.files("yowasp_yosys")
@@ -127,7 +119,6 @@ def build(self, *args):
127119
with common() as common_dir, runtime() as runtime_dir:
128120
context = {
129121
"COMMON_DIR": common_dir,
130-
"SOURCE_DIR": source_dir,
131122
"RUNTIME_DIR": runtime_dir,
132123
"PROJECT_ROOT": _ensure_chipflow_root(),
133124
"BUILD_DIR": _ensure_chipflow_root() / 'build',

0 commit comments

Comments
 (0)