intel / systemc-compiler

This tool translates synthesizable SystemC code to synthesizable SystemVerilog.
Other
244 stars 35 forks source link

Record copy constructor not supported yet #25

Closed mikhailmoiseev closed 1 year ago

mikhailmoiseev commented 2 years ago
  1. No record variable used in generated code, see record_member_array_method3.cpp and record_return_method.cpp and record_member_array_cthread.cpp
  2. No local record declaration

Record copy requires fill UseDef for all fields, use getZeroIndexAllFields()

See record_member_array_copy.cpp::loc_rec_rec_meth() and a few other methods there. See also record_assign_concat_ctrhead.cpp::record_assign3() -- just need to add v into Use. See also record_reg_ctrhead1.cpp and record_array_unknown_cthread.cpp.

mikhailmoiseev commented 1 year ago

No inner record supported