mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-18 18:28:35 +00:00
Fixes
This commit is contained in:
parent
38ee4fc730
commit
dd65dd610d
1 changed files with 2 additions and 3 deletions
|
|
@ -266,8 +266,7 @@ struct SmtrModule {
|
||||||
|
|
||||||
void write_assoc_list_helpers(SExprWriter &w)
|
void write_assoc_list_helpers(SExprWriter &w)
|
||||||
{
|
{
|
||||||
if (!output_helper_name || !input_helper_name)
|
log_assert(output_helper_name && input_helper_name);
|
||||||
log_error("if using keyword helpers, both input and output helper names are expected");
|
|
||||||
|
|
||||||
// Input struct keyword-based constructor.
|
// Input struct keyword-based constructor.
|
||||||
w.push();
|
w.push();
|
||||||
|
|
@ -292,7 +291,7 @@ struct SmtrModule {
|
||||||
w.pop();
|
w.pop();
|
||||||
}
|
}
|
||||||
w.pop();
|
w.pop();
|
||||||
// Output struct keyword-based destructor.
|
// Output struct keyword-based destructuring
|
||||||
w.push();
|
w.push();
|
||||||
w.open(list("define"));
|
w.open(list("define"));
|
||||||
const auto outputs_name = "outputs";
|
const auto outputs_name = "outputs";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue