Jump to content


  • Posts

  • Joined

  • Last visited

Abdelrahman's Achievements


Member (1/2)



  1. Hello everyone, I am using Virtualizer studio, TLM creator to make a model of SPI, what I am trying to do is make a module that contains two instances, one acts as a master and the other as slave, these instances will contain tlm_ft_spi_device_socket and tlm_ft_spi_protocol_engine for these sockets to use the it's functions. When I build I get this linker error: master.o : error LNK2019: unresolved external symbol "public: __cdecl tlm_ft_spi_protocol_engine::tlm_ft_spi_protocol_engine(class scml2::base::object_name const &,class tlm_ft_spi_device_socket &)" (??0tlm_ft_spi_protocol_engine@@QEAA@AEBVobject_name@base@scml2@@AEAVtlm_ft_spi_device_socket@@@Z) referenced in function "public: __cdecl masterType::masterType(class scml2::base::object_name const &)" (??0masterType@@QEAA@AEBVobject_name@base@scml2@@@Z) F\mt_test2.dll : fatal error LNK1120: 1 unresolved externals. any help with this error?? Thank you
  2. Okay, It is clear that I mixwd things!! Thank you very much for your reply, many things are clarified now. Actually what I am doing is that I have a module, this module has an input port (sc_in reset) and I made a top module (for testing) and created a that module in it, what I want to do now is to bind a signal to this reset port to be able to reset this module by writing 0 to the signal (reset is active low). What I think that I should do now is to make sc_signal<T> and to bind it to the reset port, is this right ?
  3. Hello, I am a beginner in using SystemC. I made a signal sc_in<bool> and I want to give it an initial value, how can I do this? I tried using '=' operator and '->' operator and I there is no write function to make it, Can anyone help? Thank you
  • Create New...