Skip to content

Commit 0edbd01

Browse files
committed
Remove usage of 'design' as a path for user design
1 parent 0b6e949 commit 0edbd01

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
@@ -32,14 +32,6 @@ def common():
3232
with importlib.resources.as_file(common) as f:
3333
yield f
3434

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

0 commit comments

Comments
 (0)