Jump to content

Search the Community

Showing results for tags 'Initialisation'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Accellera Systems Initiative
    • Information
    • Announcements
    • In the News
  • SystemC
    • SystemC Language
    • SystemC AMS (Analog/Mixed-Signal)
    • SystemC TLM (Transaction-level Modeling)
    • SystemC Verification (UVM-SystemC, SCV)
    • SystemC CCI (Configuration, Control & Inspection)
    • SystemC Datatypes
  • UVM (Universal Verification Methodology)
    • UVM 2017 - Methodology and BCL Forum
    • UVM SystemVerilog Discussions
    • UVM Simulator Specific Issues
    • UVM Commercial Announcements
    • UVM (Pre-IEEE) Methodology and BCL Forum
    • UVM 1.2 Public Review
  • Portable Stimulus
    • Portable Stimulus Pre-Release Discussion
    • Portable Stimulus 1.0
  • IP Security
    • IP Security Assurance Whitepaper Discussion
  • IP-XACT
    • IP-XACT Discussion
  • IEEE 1735/IP Encryption
    • IEEE 1735/IP Encryption Discussion
  • OCP (Open Core Protocol)
  • UCIS (Unified Coverage Interoperability Standard)
  • Commercial Announcements
    • Announcements

Categories

  • SystemC
  • UVM
  • UCIS
  • IEEE 1735/IP Encryption

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Biography


Location


Interests


Occupation


Company

Found 1 result

  1. Hi All, I've been trying to have a memory module initialised in reset state. I've got something like this: template< class address_bus, class data_bus, unsigned int depth> SC_MODULE(sp_memory){ sc_in<bool> clk; sc_in<bool> nrst; sc_in<address_bus> addr_i; sc_in<data_bus> data_i; sc_in<bool> wr_i; .. ... void sp_mem_process(); data_bus mem[depth]; // for instance in this case data_bus=sc_uint<32> .. SC_CTOR { .. SC_CTHREAD(sp_mem_process, clk.pos()); reset_signal_is(nrst,false); .. } }; So, after several trials I ended up with the following best case,which is OK for simulation but still could not be synthesised. template< class mem_word, unsigned int depth, const char * mem_init_file> SC_MODULE(sp_memory){ .. }; This means I give content of a init file to each memory module instance, after which the array mem is initialised with the content of the file in a loop in reset state of the process sp_mem_process(). This is not synthesis-able in the tool I'm using and I believe it's not up to the tool? So, I want to have a synthesis-able memory initialised from a init_file in pre-reset state. What is your experience on this? I know that the brute force solution is that the memory is initialised externally, by writing to it as soon as it leaves reset state, but this is not compliant with the HW behaviour that normally can be found in, for instance, FPGA block RAM. Thanks a lot! Veljko
×
×
  • Create New...