3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-11 00:13:33 +00:00

sby: core: started on the stage config generation

This commit is contained in:
Aki Van Ness 2022-11-21 22:37:36 -05:00
parent 44bd9ed04b
commit 822249655a
No known key found for this signature in database
GPG key ID: C629E8EC06327BEE

View file

@ -1332,7 +1332,22 @@ class SbyTask(SbyConfig):
self.retcode = 0
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:
for name in self.opt_make_model.split(","):