Jump to content

wasim6691

Members
  • Content Count

    35
  • Joined

  • Last visited

Everything posted by wasim6691

  1. Hi. I am working on the Design Flow of the Given Architecture and I making the SystemC Model on the basis of the given diagram description. I not included in my System C Model the shared DRAM. Can You guide me How I have to model the Shared DRAM near Memory Controller Box in System C (As a Module or not ?) as shown in the first picture. Give me some System C Block diagram for this architecture as I am new to the System C. Thanks
  2. Hi, Can we pass arguments inside the process in SystemC. If Yes then how we have to register the process in the constructor? Thanks . Below is the MODULE Wcache0 and I am trying to write getAddrForSingleWeight process which will be called inside another process which is register as SC_THREAD. void Wcache0::getAddrForSingleWeight(const channel_t co, kernel_t kernel_1, const weightaddr_t ci_offset, PEID_t &PEID, blockID_t &blockID, rowID_t &rowID, weightID_t &weightID)
  3. void Wcache0::getAddrForSingleWeight(const channel_t co, kernel_t kernel_1, const weightaddr_t ci_offset, PEID_t &PEID, blockID_t &blockID, rowID_t &rowID, weightID_t &weightID) Hi, Can we pass arguments inside the process in SystemC. If Yes then how we have to register the process in the constructor? Thanks . Below is the MODULE Wcache0 and I am trying to write getAddrForSingleWeight process which will be called inside another process which is register as SC_THREAD.
  4. wasim6691

    Passing Arguments in the process in SystemC

    I am using Visual Studio for Desktop 2013 Version Which I think do not support GCC compiler. C++11 I think cannot be installed on Windows version. I have to use sc_spawn to register the process now. Can You please give me some good tutorial about how to use sc_spawn for registering the process. I am searching on web but did not got the good tutorial so far. Thanks
  5. Hi I have written a sample code in SystemC. I am defining some typedefs and global variable outside SC_MODULE. Is that fine? and plus I am also defining the member function as static. Please correct my code. Thanks
  6. wasim6691

    DEFINING GLOBAL IN SYSTEMC and Member Function

    I am Using the inp_image in the Process as well as inside the member function. But I am also using the send_pixel member function inside another MODULE. That's why I was using it as global. What else can I do to make the inp_image array to be accessible inside another MODULE if I do not make it global?. Thanks
  7. wasim6691

    DEFINING GLOBAL IN SYSTEMC and Member Function

    In my code the code lines above the SC_MODULE are not synthesizeable ? I have to synthesize the code so which changes would You suggest me in the code. Thanks
  8. wasim6691

    Reading a binary File

    Hello I wand to read the binary file in System C. Can I use the malloc() function as we used in C to store the content of the file in some buffer. Thanks. The fread() command is used in System C or there is some other command in System C.
  9. wasim6691

    BlockDiagram to be Converted to SystemC Modules

    I have the filter data and Input Image data in binary format and I ┬┤have to make a hardware Architecture for the Convolutional Neural Network. Based on the description on the third Image I am trying to make the basic Hardware blocks in System C and then I have to load image and filter binary to perform CNN layer by layer. I am working on Zynqnet Hardware Architecture(which is based on squeezenet) and It includes 27 Convolutional Layers for CNN and I have to convert that Architecture into a System C.
×