I had developed file ll_namespace.h and put it in to includes in Eclipse
namespace ll_namespace
{
struct ll_pkt_struct
{
sc_uint<8> preamble;
sc_uint<32> access_addr;
sc_uint <16> header;
sc_uint <8> * payload;
sc_uint<24> crc;
};
struct s_ll_adv_param
{
sc_uint<16> adv_interval_min;
sc_uint<16> adv_interval_max;
sc_uint<8> adv_type;
sc_uint<8> own_addr_type;
sc_uint<8> dir_addr_type;
sc_uint<48> dir_addr;
sc_uint<8> adv_ch_map;
sc_uint<8> adv_fltr_policy;
};
}
Now i had to use the structures of this file in another file ll_cam.cpp
So how can i access namespace in ll_cam.cpp?