DMA-Technologies / uvm-demo

Apache License 2.0
0 stars 0 forks source link

Update SystemC and UVM/SystemC Wrappers to Permit MSVC /Wall #5

Closed DMA-Technologies closed 3 days ago

DMA-Technologies commented 2 weeks ago

EXAMPLE-single_cycle project:

  1. Update to /W4 or /Wall, prefer /Wall.
  2. Add /WX

Update SystemC wrapper:

  1. Rename as SC_wrapper.h.
  2. Fix internal compilation re-entrance guard, as necessary.
  3. Temporarily disable appropriate warnings for inclusion of under MSVC (e.g. 4121).

Update UVM/SystemC wrapper:

  1. Fix internal compilation re-entrance guard (include "_WRAPPER" in the macro name).
  2. Temporarily disable appropriate warnings for inclusion of under MSVC (e.g. 4121).
DMA-Technologies commented 2 weeks ago

Created branch for this issue.

Performed basic changes on SC.h and UVM_wrapper.h to facilitate working under MSVS.

DMA-Technologies commented 2 weeks ago

Cannot use /Wall as Microsoft notes that the STL is not /Wall safe. Thus, we can only use /W4.

DMA-Technologies commented 3 days ago

Merged into branch release-2.0.0.