mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-11 15:50:56 +00:00
sby: core: started on the stage config generation
This commit is contained in:
parent
44bd9ed04b
commit
822249655a
1 changed files with 16 additions and 1 deletions
|
@ -1332,7 +1332,22 @@ class SbyTask(SbyConfig):
|
||||||
self.retcode = 0
|
self.retcode = 0
|
||||||
return
|
return
|
||||||
|
|
||||||
# TODO: Stage stuff
|
# Check to see if we have stages to implement
|
||||||
|
if len(self.stage.keys()) > 0:
|
||||||
|
for stage_name, data in self.stage.items():
|
||||||
|
self.setup_stage(
|
||||||
|
setupmode, config = list(
|
||||||
|
map(
|
||||||
|
lambda l: l.strip(),
|
||||||
|
f'''\
|
||||||
|
[options]
|
||||||
|
mode {data['mode']}
|
||||||
|
'''.splitlines()
|
||||||
|
)
|
||||||
|
),
|
||||||
|
name = stage_name
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if self.opt_make_model is not None:
|
if self.opt_make_model is not None:
|
||||||
for name in self.opt_make_model.split(","):
|
for name in self.opt_make_model.split(","):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue