Jump to content

Abdelrahman

Members
  • Content Count

    4
  • Joined

  • Last visited

  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_sp
  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...