/riscv

Primary LanguageC++

RISCV

find . -name "uvm_misc.cpp" | xargs -I{} sed -ie  '272s/.*/  std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c){return std::toupper(c);});/' {}
find . -name SCV -type d |xargs -I{} find {} -name "configure" | xargs -I{} sed -ie '/scv_cv_sc_version="unknown"/ s/.*/         scv_cv_sc_version="2003003"/' {}

compile uvm systemc

compile scv

./configure --prefix=/usr/local/scv --with-systemc=/usr/local/systemc --with-pic CPPFLAGS='-DSC_CPLUSPLUS=201703L' CXXFLAGS='-std=c++17'
make CPPFLAGS='-DSC_CPLUSPLUS=201703L' CXXFLAGS='-std=c++17'