Fix duplicate SV struct typedefs when multiple Python APIs share the same struct type#50
Fix duplicate SV struct typedefs when multiple Python APIs share the same struct type#50
Conversation
… type Co-authored-by: mballance <1340805+mballance@users.noreply.github.com>
|
@copilot, seems something broke. Review failures and correct |
…setup.py build_ext Co-authored-by: mballance <1340805+mballance@users.noreply.github.com>
The CI failure was caused by a newer version of Fixed in commit |
|
@copilot still not quite right. Check and correct |
…pgrade incompatibility Co-authored-by: mballance <1340805+mballance@users.noreply.github.com>
The previous fix used Fixed in commit |
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
…automatic in initial blocks - In pyhdl_if_macros.svh, conditionally define STACKTRACE macro to use a display placeholder when XILINX_SIMULATOR is defined, since Vivado xsim does not support $stacktrace - In pyhdl_if.sv, switch the inline $stacktrace call to use the STACKTRACE macro for consistency - In struct_bfm.sv and struct_comprehensive_bfm.sv, declare class variables in initial blocks as 'automatic' to satisfy xelab's requirement for explicit lifetime Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
_collect_struct_typesingen_sv_class.pyto track already-emitted struct types across multiplegen()calls via_emitted_struct_typesset_struct_typesafter eachgen()call to avoid memory growthpcpp cxxheaderparserwithout-Uto avoid upgradingsetuptoolsto a version incompatible withivpm'sbuild_ext.py(copy_file() got an unexpected keyword argument 'dry_run')Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.