View email archives for the history of this mailing list.
systemc-forum - Problem in Assignment for single bit of SC_Logic_Vector
- To: "systemc-forum@xxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxx>
- From: Jyotshna_Sharma <Jyotshna_Sharma@xxxxxxxxxx>
- Date: Mon, 3 Aug 2009 17:37:25 +0530
- Send Email to email@example.com:
- Send new message
- Reply to this message
I am trying to assign value to the bits of an sc_lv one by one on per clock
The part of code is as:
#define data_width 4
data_out[i]=data_in; //AT THIS LINE I AM GETTING THE ERROR
But getting an error like..
error C2440: '=' : cannot convert from 'sc_core::sc_in<sc_dt::sc_logic>' to
Exactly where the problem lies?
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE
COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the
sender by email and delete all copies; your cooperation in this regard is