mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-23 06:01:27 +00:00
Update generator to reflect IdString changes
This commit is contained in:
parent
5e0bc3fd9f
commit
10b49f3a91
1 changed files with 2 additions and 3 deletions
|
|
@ -168,9 +168,8 @@ pyosys_headers = [
|
|||
"global_negative_id_prefix_storage_",
|
||||
"global_refcount_storage_",
|
||||
"global_free_idx_list_",
|
||||
"last_created_idx_ptr_",
|
||||
"last_created_idx_",
|
||||
"builtin_ff_cell_types",
|
||||
"substrings",
|
||||
}
|
||||
),
|
||||
),
|
||||
|
|
@ -455,7 +454,7 @@ class PyosysWrapperGenerator(object):
|
|||
) -> str:
|
||||
is_method = isinstance(function, Method)
|
||||
function_return_type = function.return_type.format()
|
||||
if class_basename == "Const" and function_return_type in {
|
||||
if class_basename in {"Const","IdString"} and function_return_type in {
|
||||
"iterator",
|
||||
"const_iterator",
|
||||
}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue