Everything posted by AresysMC
I have a system c block (sc_method) with a sc_out<double> output port and a static tdf block with a sca_tdf::sca_de::sca_in<double> input converter port. I connected the two blocks with a sc_core::signal<double>. Basically the system c block writes a value only once, during the initialization call to the method, but the first input value read by tdf block on the converter port is zero. Only after the first step it starts reading the value written by system c block. Is there a way for the tdf block to read the value written during the initialization method call or I necessarily have to wait a step?
Thank you for your answers. For my purpose I will probably have to use only the AMS extension of system C but I would like to understand also the basis of system c for the discrete event management. I retrieved the ieee standard but it doesn't seem an educational document to me. Now I'll take a look at the powerpoints and other materials. If they are not sufficient I'll ask my company to buy me the book. Meanwhile I discovered that the guide I was reading is in the offical archive in folder systemc-2.3.3/docs/sysc/archived. I found also the functional specification document that helps for the new features of versione 2.0 (like the sc_event). The readme document says: I dont understand why they wrote "Update for SystemC 2.0.1" in the front page of user guide document if it is basically a guide of version 1.0.
I received from my company the user guide 2.0 of system c and I started to learn the language on that document. When I tried to write my own code I discovered that this guide is outdated because there are a lot of deprecated declaration. Where I can download an updated version of that document? I cannot find a user guide on system c download page (there is only a guide of AMS extension).