from distutils.core import setup
from distutils.extension import Extension

from os import system

setup(name='vsimj1a',
  ext_modules=[ 
    Extension('vsimj1a',
              ['vsim.cpp'],
              depends=["obj_dir/Vv3__ALL.a"],
              extra_objects=["obj_dir/verilated.o", "obj_dir/Vj1a__ALL.a"],
              include_dirs=["obj_dir", "/usr/local/share/verilator/include/", "/usr/share/verilator/include/"],
              extra_compile_args=['-O2'])
  ],
)

from distutils.core import setup
from distutils.extension import Extension

from os import system

setup(name='vsimj1a',
  ext_modules=[ 
    Extension('vsimj1a',
              ['vsim.cpp'],
              depends=["obj_dir/Vv3__ALL.a"],
              extra_objects=["obj_dir/verilated.o", "obj_dir/Vj1a__ALL.a"],
              include_dirs=["obj_dir",
                            "/usr/local/share/verilator/include/",
                            "/usr/share/verilator/include/",
                            "/usr/local/share/verilator/include/vltstd/",
                            "/usr/share/verilator/include/vltstd/"],
              extra_compile_args=['-O2'])
  ],
)

Add vltstd to include path
Add vltstd to include path

  from distutils.core import setup
  from distutils.extension import Extension
  
  from os import system
  
  setup(name='vsimj1a',
    ext_modules=[ 
      Extension('vsimj1a',
                ['vsim.cpp'],
                depends=["obj_dir/Vv3__ALL.a"],
                extra_objects=["obj_dir/verilated.o", "obj_dir/Vj1a__ALL.a"],
-               include_dirs=["obj_dir", "/usr/local/share/verilator/include/", "/usr/share/verilator/include/"],
+               include_dirs=["obj_dir",
+                             "/usr/local/share/verilator/include/",
+                             "/usr/share/verilator/include/",
+                             "/usr/local/share/verilator/include/vltstd/",
+                             "/usr/share/verilator/include/vltstd/"],
                extra_compile_args=['-O2'])
    ],
  )
  
Add vltstd to include path
## Code Before:
from distutils.core import setup
from distutils.extension import Extension

from os import system

setup(name='vsimj1a',
  ext_modules=[ 
    Extension('vsimj1a',
              ['vsim.cpp'],
              depends=["obj_dir/Vv3__ALL.a"],
              extra_objects=["obj_dir/verilated.o", "obj_dir/Vj1a__ALL.a"],
              include_dirs=["obj_dir", "/usr/local/share/verilator/include/", "/usr/share/verilator/include/"],
              extra_compile_args=['-O2'])
  ],
)

## Instruction:
Add vltstd to include path
## Code After:
from distutils.core import setup
from distutils.extension import Extension

from os import system

setup(name='vsimj1a',
  ext_modules=[ 
    Extension('vsimj1a',
              ['vsim.cpp'],
              depends=["obj_dir/Vv3__ALL.a"],
              extra_objects=["obj_dir/verilated.o", "obj_dir/Vj1a__ALL.a"],
              include_dirs=["obj_dir",
                            "/usr/local/share/verilator/include/",
                            "/usr/share/verilator/include/",
                            "/usr/local/share/verilator/include/vltstd/",
                            "/usr/share/verilator/include/vltstd/"],
              extra_compile_args=['-O2'])
  ],
)
