Jump to content

Search the Community

Showing results for tags 'scv'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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, CRAVE, FC4SC)
    • SystemC CCI (Configuration, Control & Inspection)
    • SystemC Datatypes
  • UVM (Universal Verification Methodology)
    • UVM (IEEE 1800.2) - Methodology and BCL Forum
    • UVM SystemVerilog Discussions
    • UVM Simulator Specific Issues
    • UVM Commercial Announcements
    • UVM (Pre-IEEE) Methodology and BCL Forum
  • Portable Stimulus
    • Portable Stimulus Discussion
    • Portable Stimulus 2.0 Public Review Feedback
  • IP Security
    • SA-EDI Standard Discussion
    • IP Security Assurance Whitepaper Discussion
    • IP-XACT Discussion
  • SystemRDL
    • SystemRDL Discussion
  • IEEE 1735/IP Encryption
    • IEEE 1735/IP Encryption Discussion
  • Commercial Announcements
    • Announcements


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL












Found 8 results

  1. Hi I have compiled scv-2.0.1 and after link it to my project I'm having trouble with this error. Can somebody help? Thanks scv-2.0.1/src/scv/scv_bag.h:489:16: error: cannot assign to non-static data member within const member function 'peekRandom' _randomP = new scv_random(nameP(),_seed); ~~~~~~~~ ^
  2. how to randomize a vector of values without initializing the vector in a transaction. for example in pkt i have std::vector<int> vint; how do i proceed to add scv_extensions to it
  3. Hi folks, i'm looking for a tool to visualize tlm logs. I found this here (impulse from toem http://toem.de) - looks quite promissing ! But i'm not sure how to generate the required scv text data. Is this a the standard fomrat in TLM ? How to generate ? Best Regards, Kai
  4. Hi, I am using transaction recording with the latest version of SCV (version 2.0.1) and currently I am getting a segmentation fault. I have just searched for a list or something similar with known bugs but I haven't found one. Is there a bug list or a list of known problems somewhere? Regards, Thomas PS: I will create a minimal model in the next few days.
  5. Hi, It seems that the constraint solver has as issue with negative values. I tried this example: struct addr_constraint : public scv_constraint_base { scv_smart_ptr<sc_int<8>> row; scv_smart_ptr<sc_int<8>> col; SCV_CONSTRAINT_CTOR(addr_constraint) { SCV_CONSTRAINT ( (col() + row() == 10) } In this case I only got positive values for col and row. I tried playing with the constraint and tried the following: SCV_CONSTRAINT ( (col() + row() == 10) || (col() - (0 - row()) == 10) ); This constraint is identical to the previous one but now I get both negative and positive values for col and row. Anyone else had this issue? Why does it happen? Thanks!
  6. Hi, I have two problems: 1) I tried to implement multiplication constraint based on the one of the examples: struct addr_constraint : public scv_constraint_base { scv_smart_ptr<int> row; scv_smart_ptr<int> col; SCV_CONSTRAINT_CTOR(addr_constraint) { SCV_CONSTRAINT( (row())*(col()) < 50); SCV_CONSTRAINT( col() > 0); } }; When I try to randomize the values, the program keeps running and never stops. What might be the problem? 2) Is there any way to define more complex mathematical constraints? constraints on the square, log, shift, division etc...? Where can I find a list of the supported mathematical operations? Thanks!
  7. I start to learn SystemC and SCV. But I don't have much experience on complex Makefile as the one provided in the install package by SCV. It is too hard for me to understand who the files are really compiled. I am not sure if any one can provide simple Makefile template (Only Linux platform is OK). Thanks.
  8. Hi, I try to run the 'make check' of the scv-2.0-public_preview and it failed the test 'examples/randomization/constraints'. make constraints make[5]: Entering directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' g++ -fPIC -DHAVE_CONFIG_H -I. -I../../../../examples/randomization/constraints -I../../.. -I/tools/systemc/2.3.0/include -I../../../../src -I/tmp/scv -2.0-public_preview/objdir/include -Wall -Wformat -O0 -g -MT constraints-packet.o -MD -MP -MF .deps/constraints-packet.Tpo -c -o constraints-packet.o `test -f 'packet.cpp' || echo '../../../../examples/randomization/constraints/'`packet.cpp mv -f .deps/constraints-packet.Tpo .deps/constraints-packet.Po g++ -fPIC -DHAVE_CONFIG_H -I. -I../../../../examples/randomization/constraints -I../../.. -I/tools/systemc/2.3.0/include -I../../../../src -I/tmp/scv -2.0-public_preview/objdir/include -Wall -Wformat -O0 -g -MT constraints-test.o -MD -MP -MF .deps/constraints-test.Tpo -c -o constraints-test.o `test -f 'test.cpp' || echo '../../../../examples/randomization/constraints/'`test.cpp mv -f .deps/constraints-test.Tpo .deps/constraints-test.Po /bin/sh ../../../libtool --tag=CXX --mode=link g++ -fPIC -Wall -Wformat -O0 -g -R/tools/systemc/2.3.0/lib-linux64 -o constraints constraints-packe t.o constraints-test.o ../../../src/scv/libscv.la -ldl -ldl libtool: link: g++ -fPIC -Wall -Wformat -O0 -g -o .libs/constraints constraints-packet.o constraints-test.o ../../../src/scv/.libs/libscv.so -L/tools/systemc/2.3.0/lib-linux64 /tools/systemc/2.3.0/lib-linux64/libsystemc.so -ldl -pthread -Wl,-rpath -Wl,/tools/systemc/scv/scv-2.0_public_review/lib-linux64 -Wl,-rpath -Wl,/tools/systemc/2.3.0/lib-linux64 make[5]: Leaving directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' make check-TESTS make[5]: Entering directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' make[6]: Entering directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' FAIL: constraints make[7]: Entering directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/tmp/scv-2.0-public_preview/objdir/examples/randomization/constraints' ============================================================================ Testsuite summary for SCV 2.0.0 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 and the 'testsuite.log' ================================================================== SCV 2.0.0: examples/randomization/constraints/test-suite.log ================================================================== # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: constraints ================= SystemC 2.3.0-ASI --- Sep 4 2013 12:52:15 Copyright (c) 1996-2012 by all Contributors, ALL RIGHTS RESERVED Generate unconstrained packet data UNICAST 139 25 MULTICAST 153 219 UNICAST 179 95 MULTICAST 136 8 MULTICAST 215 6 UNICAST 212 232 MULTICAST 175 242 UNICAST 104 132 MULTICAST 113 122 MULTICAST 61 149 Generate constrained (range/distribution) packet data UNICAST 2 20 UNICAST 13 15 UNICAST 4 15 Generate constrained packets using constraint class Error: (E549) uncaught exception: std::bad_alloc In file: ../../../../src/sysc/kernel/sc_except.cpp:98 I did not see the error at my old 32bit linux box. However, I do see it with my newer 64 bit linux box. $ uname -a Linux debian 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 GNU/Linux I'm using SystemC 2.3.0 and that one should be compiled with 'export CXX=g++ -gPIC' jan@debian:/tools/systemc/2.3.0/lib-linux64$ file * libsystemc-2.3.0.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=068c7fa9bb16c3eb225f07cf739af1f2046d6f6e, not stripped jan@debian:/tools/systemc/scv/scv-2.0_public_review/lib-linux64$ file * libscv-2.0.0.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=3afbdc13b3ea21fb869dd734c9818ef585cdacf8, not stripped Could somebody help me?
  • Create New...