Jump to content

jatin jatin

  • Content Count

  • Joined

  • Last visited

About jatin jatin

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @apfitch Hello Sir, Sir can you please tell me how would i make objects and how would i pass arguments in these constructors. or if you could provide me any link where i can read about parameterized constructor of systemc. regards, jatin
  2. @David Black Sir, i'm waiting for your reply. regards, jatin
  3. Hello Sir, I am a noob i have just started learning systemC(It's been just 3 weeks) and i did not know about uint8_t, now i will try it and explore it. Sir please check the attached file for specification. also can you please give me a simple example in which time period has passed through constructor actually i want to see the syntax. In my design there is one more problem : "whenever i enable my constructor after disabling, it gives wrong output".!! regards, jatin up_timer.pdf
  4. Hi all, i'm implementing a timer/counter(8-bit) that should not increment on every clock and i'm not supposed to provide any input clock port . But i need clock period in my design so my question is " How would i provide clock period(through constructor)?" here is the link to my working code on EDAplayground : http://www.edaplayground.com/x/4_dY if there is any problem in my code please feel free to tell me. regards, jatin
  5. Hi Roman, I am glad that you respond. Here is a code of an adder i implemented. Here the output is updating after 2ns of input change. i.e. i implemented the intra assignment delay of 2 ns using sc_event and SC_METHOD(). This code works fine. ***NOW, SOMEONE WHO KNOWS SYSTEMC VERY WELL WANTS ME TO IMPLEMENT THE SAME USING SC_THREAD AND WITHOUT USING SC_EVENT()*** so it would be great if you could suggest somthing. #include<systemc.h> sc_int<32> out; sc_event e; // design module// SC_MODULE(adder) { sc_in< sc_int<16>
  6. Hi all, is there any way to implement the intra assignment delay in systemC without using sc_event()? for example : in verilog we write out = #10 in1 + in2; // intra assignment delay. how would i implement the same in systemC? regards, jatin
  7. Hi Roman Popov, is there any way to implement the intra assignment delay without using sc_event()? regards jatin
  • Create New...