esiaccel 0.1.5.dev209__cp311-cp311-win_amd64.whl → 0.1.5.dev226__cp311-cp311-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of esiaccel might be problematic. Click here for more details.

esiaccel/CosimBackend.dll CHANGED
Binary file
Binary file
Binary file
esiaccel/MtiPli.dll CHANGED
Binary file
Binary file
esiaccel/cares.dll ADDED
Binary file
esiaccel/cosim/driver.cpp CHANGED
@@ -30,7 +30,7 @@
30
30
  #include CONCAT3(V,TOP_MODULE,.h)
31
31
  // clang-format on
32
32
 
33
- #include "verilated_vcd_c.h"
33
+ #include "verilated_fst_c.h"
34
34
 
35
35
  #include "signal.h"
36
36
  #include <iostream>
@@ -64,12 +64,12 @@ int main(int argc, char **argv) {
64
64
  }
65
65
 
66
66
  #ifdef TRACE
67
- VerilatedVcdC *tfp = nullptr;
67
+ VerilatedFstC *tfp = nullptr;
68
68
  #endif
69
69
 
70
70
  if (waveformFile) {
71
71
  #ifdef TRACE
72
- tfp = new VerilatedVcdC();
72
+ tfp = new VerilatedFstC();
73
73
  Verilated::traceEverOn(true);
74
74
  dut.trace(tfp, 99); // Trace 99 levels of hierarchy
75
75
  tfp->open(waveformFile);
@@ -95,11 +95,11 @@ int main(int argc, char **argv) {
95
95
  // Run for a few cycles with reset held.
96
96
  for (timeStamp = 0; timeStamp < 8 && !Verilated::gotFinish(); timeStamp++) {
97
97
  dut.eval();
98
- dut.clk = !dut.clk;
99
98
  #ifdef TRACE
100
99
  if (tfp)
101
100
  tfp->dump(timeStamp);
102
101
  #endif
102
+ dut.clk = !dut.clk;
103
103
  }
104
104
 
105
105
  // Take simulation out of reset.
@@ -108,12 +108,12 @@ int main(int argc, char **argv) {
108
108
  // Run for the specified number of cycles out of reset.
109
109
  for (; !Verilated::gotFinish() && !stopSimulation; timeStamp++) {
110
110
  dut.eval();
111
- dut.clk = !dut.clk;
112
-
113
111
  #ifdef TRACE
114
112
  if (tfp)
115
113
  tfp->dump(timeStamp);
116
114
  #endif
115
+ dut.clk = !dut.clk;
116
+
117
117
  if (debugPeriod)
118
118
  std::this_thread::sleep_for(std::chrono::milliseconds(debugPeriod));
119
119
  }
esiaccel/cosim/questa.py CHANGED
@@ -25,7 +25,7 @@ class Questa(Simulator):
25
25
  sources.append(Questa.DefaultDriver)
26
26
  for src in sources:
27
27
  cmds.append(f"vlog -incr +acc -sv +define+TOP_MODULE={self.sources.top}"
28
- f" +define+SIMULATION {str(src)}")
28
+ f" +define+SIMULATION {src.as_posix()}")
29
29
  cmds.append(f"vopt -incr driver -o driver_opt +acc")
30
30
  return cmds
31
31
 
@@ -293,13 +293,22 @@ class Simulator:
293
293
  If wait is True, blocks until process completes and returns its exit code.
294
294
  If wait is False, returns the Popen object (threads keep streaming).
295
295
  """
296
- proc = subprocess.Popen(cmd,
297
- stdout=subprocess.PIPE,
298
- stderr=subprocess.PIPE,
299
- env=env,
300
- cwd=cwd,
301
- text=True,
302
- preexec_fn=os.setsid)
296
+ if os.name == "posix":
297
+ proc = subprocess.Popen(cmd,
298
+ stdout=subprocess.PIPE,
299
+ stderr=subprocess.PIPE,
300
+ env=env,
301
+ cwd=cwd,
302
+ text=True,
303
+ preexec_fn=os.setsid)
304
+ else: # windows
305
+ proc = subprocess.Popen(cmd,
306
+ stdout=subprocess.PIPE,
307
+ stderr=subprocess.PIPE,
308
+ env=env,
309
+ cwd=cwd,
310
+ text=True,
311
+ creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)
303
312
 
304
313
  def _reader(pipe, cb):
305
314
  if pipe is None:
@@ -59,7 +59,8 @@ class Verilator(Simulator):
59
59
  ]
60
60
  if self.debug:
61
61
  cmd += [
62
- "--trace", "--trace-params", "--trace-structs", "--trace-underscore"
62
+ "--trace-fst", "--trace-params", "--trace-structs",
63
+ "--trace-underscore"
63
64
  ]
64
65
  cflags.append("-DTRACE")
65
66
  if len(cflags) > 0:
Binary file
esiaccel/esiquery.exe CHANGED
Binary file
Binary file
Binary file
Binary file
esiaccel/re2.dll ADDED
Binary file
esiaccel/zlib1.dll ADDED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: esiaccel
3
- Version: 0.1.5.dev209
3
+ Version: 0.1.5.dev226
4
4
  Summary: ESI accelerators runtime
5
5
  Author-email: John Demme <John.Demme@microsoft.com>
6
6
  License: ==============================================================================
@@ -1,28 +1,35 @@
1
- esiaccel/CosimBackend.dll,sha256=q-_dA_R7hA-5FGMrWo1k-IHE8vfMit90J8VsZODXwJs,7152128
1
+ esiaccel/CosimBackend.dll,sha256=a4ZBX8nvBM4MjqQ2Fn6wDwk5d1sMqdwreU68d7VoRIQ,7152128
2
2
  esiaccel/CosimBackend.lib,sha256=5tnhX-BFxzlslXNsblCWXjY583sDW4lFLGNch7hzWZw,4992924
3
- esiaccel/ESICppRuntime.dll,sha256=ViPBx-m-D62cTUTm_FCXfnPlgDDvMxT4aYilvSoz2HA,4078592
3
+ esiaccel/ESICppRuntime.dll,sha256=3BIgMo-D5AA59S7CgMV2bWp1yft4GAKm4xeFpZYriIk,4078592
4
4
  esiaccel/ESICppRuntime.lib,sha256=tltAogZ3c0ryYHirOXz_qltr5aNdoquZ-Q4yVqim3FY,15154004
5
- esiaccel/EsiCosimDpiServer.dll,sha256=pinRa6et60vYZ8eHqC8cGDM_6_I_6LbOjjuMY_vT5P4,159744
5
+ esiaccel/EsiCosimDpiServer.dll,sha256=c0S0znwRT3rHVW99BOETyhpYDr8c0ch4Blz3NmyrWO0,159744
6
6
  esiaccel/EsiCosimDpiServer.lib,sha256=zn3bIX10e2HQtwZOi1xpqeNfy4AdZm8Jx634HVTVQ8w,604164
7
- esiaccel/MtiPli.dll,sha256=wWLc4UpIYY5KbML3wDTuzvwU_A0CtjYjEr9RpQpyYYA,14848
7
+ esiaccel/MtiPli.dll,sha256=VUKxljNG5gXDZNd-_vJqssVQyY6BumBsWNYiy9WNbvg,14848
8
8
  esiaccel/MtiPli.lib,sha256=juJ2Asmv6cnozNPpXvGeKkieYFcXK8MOYmDQZz-dAy4,14570
9
9
  esiaccel/__init__.py,sha256=65xXWHwJwRePsyhWk837NpzuN0qsNhoAX29TOiSYKGc,905
10
+ esiaccel/abseil_dll.dll,sha256=aPqs3gI1CUeu1nlup0NKt5EWfDIwu37Lq2v6-5PTM0M,1928192
10
11
  esiaccel/accelerator.py,sha256=BcXPsUqcQV3YsVVyYbz9P6JnZLlcnuageFbJwID9_3s,3318
12
+ esiaccel/cares.dll,sha256=-gPdD9N9yXfL6mll4RFVQ5N93C3op91XGQZXCAbVDqg,199168
11
13
  esiaccel/codegen.py,sha256=uoYELtnIabVvgLeCABj-mWras0BvmSKABPH-cd9nDFk,6560
12
14
  esiaccel/esi-cosim.py,sha256=P7n3SBgKPnXynwghY5zK1FmpqZkbC_YxfVIvNNQNl6Q,3817
13
- esiaccel/esiCppAccel.cp311-win_amd64.pyd,sha256=GccoMsLNfOt00gqknB5ypcoLlAhwO-fhsH51QnTJBWw,502272
14
- esiaccel/esiquery.exe,sha256=cxbeBdtMl3Y15Hw-ZGh_MHOv9Yxe2aqefQxUNKEzK0k,441856
15
+ esiaccel/esiCppAccel.cp311-win_amd64.pyd,sha256=59IcwoDTV003R_yKfe1SJbj8sMtpkkf-DC5R75WyKR4,502272
16
+ esiaccel/esiquery.exe,sha256=FbxQTFdo-g22C4z4Uyzrl6WbVsBzl0UXaJ2MzA3pKwo,441856
17
+ esiaccel/libcrypto-3-x64.dll,sha256=anMCWMxjUuSXiq2_fhT4vj--j3vNgnARlUgRD6GP-ZY,5266944
18
+ esiaccel/libprotobuf.dll,sha256=F2OdZf7tNGYX33OoyxSzegqISOcGAGwglO0NysYgUq4,13026816
19
+ esiaccel/libssl-3-x64.dll,sha256=P_XtbD2WRq8KtRAISXKMCXHCe7BifLCRSnchS0ElTmo,867328
20
+ esiaccel/re2.dll,sha256=EFTIzMk1ZvM1Om6b6aRQZKa2_ND8aY5GRiNfQVJ0bJU,1225216
15
21
  esiaccel/types.py,sha256=LFLzUCvtYF6FLsmKet6eJTMq2ija2Z5kxd5Ks6tkS4U,19044
16
22
  esiaccel/utils.py,sha256=q-8fmgJ9tUvmBsIvqZiZ7u845IJhOjvjYTQLhhrNYl0,1515
23
+ esiaccel/zlib1.dll,sha256=xZqTdnm5dBKkc14laCUzy11oBS2yDI2uxBMTAxzUQ-k,90112
17
24
  esiaccel/cmake/esiaccelConfig.cmake,sha256=u2aW99k1lEcmYTG1P3BTJqtmDrj53wUUaBz_jzw8kYY,565
18
25
  esiaccel/cosim/Cosim_DpiPkg.sv,sha256=9qGn1VyAVrzBP5At1thV6xrovg0WghICD01Zz9J221E,3458
19
26
  esiaccel/cosim/Cosim_Endpoint.sv,sha256=2F7UQYWavUlWx7Iqi_6iawn5geZRPG96H8rDBBDRAQ0,8391
20
27
  esiaccel/cosim/Cosim_Manifest.sv,sha256=vl9b6XieEkP880IBw1ferekBnDJwFanZZggJJGertXM,1123
21
- esiaccel/cosim/driver.cpp,sha256=DrEKkSN7Y_Hu7wcaUulH5mbC2L4yB9xLClRMeRUpzHM,3842
28
+ esiaccel/cosim/driver.cpp,sha256=Lvmo03pzzhoswdxAtdXAm-oU6UkfTyl1LgoCpyDzLhY,3842
22
29
  esiaccel/cosim/driver.sv,sha256=ro-j9GM164A1W0MDPkqYfEn3TUKHSqVvgjO31fnloQI,1428
23
- esiaccel/cosim/questa.py,sha256=d6PnjzRxQpu47Zpez6hmzTc_aMQdrmQRSmnpOXSPFVU,2386
24
- esiaccel/cosim/simulator.py,sha256=aWhEjuAwdzgAIRUsW9yC2ACBIbdxbmMhJSGnH-OP_n0,12975
25
- esiaccel/cosim/verilator.py,sha256=WsPPqI7tYjW44SBFbGKhmxIK0JS0p85ar6oeAToNaks,2681
30
+ esiaccel/cosim/questa.py,sha256=yGsS-k49rQunj21p63Utnq3LLG1CYYp3aH5ctWd_xSY,2392
31
+ esiaccel/cosim/simulator.py,sha256=TdNRU11dX2gaYc0IvvTRpaF5Qx8u9_XBzvXYZNDnWdY,13389
32
+ esiaccel/cosim/verilator.py,sha256=WPZT14EkjtF1214P2noZyQC58GR7021xWaQ5oQwVcIg,2696
26
33
  esiaccel/include/esi/Accelerator.h,sha256=RhkZ2HeMZ0iHc5BkHdDWXoeg9J9lyPQciH5bWq5Qc_w,9772
27
34
  esiaccel/include/esi/CLI.h,sha256=Nn8tHn_xtEfkrD7USE2tao6ktYOJ6xcbnhZkS9-ox0A,2540
28
35
  esiaccel/include/esi/Common.h,sha256=IGJvAU72dlearXFbSmlXFFriy8aomirp7opEBjgewek,5775
@@ -38,9 +45,9 @@ esiaccel/include/esi/Utils.h,sha256=KPd75GajIFeTBVJocXBjwsJqhbZg-ShWZCIe3oQdBss,
38
45
  esiaccel/include/esi/backends/Cosim.h,sha256=s7vYd0ra6m1nvk-n37MjvBoGVI-CCUKBt0DU4PKlaHM,2838
39
46
  esiaccel/include/esi/backends/RpcServer.h,sha256=WMwnhwU2qnrcglGNeiKg9QQHpkDx1QE1JydKYDK4jqE,1856
40
47
  esiaccel/include/esi/backends/Trace.h,sha256=kx4wwLH3a0ndmRUdaDyYGZ1SP83zlpFrk30Nw8ZrJJA,3286
41
- esiaccel-0.1.5.dev209.dist-info/licenses/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
42
- esiaccel-0.1.5.dev209.dist-info/METADATA,sha256=H4c55nj5pcG1CdfDQ7jBxykrmoij_wxwpnIt1dTuHso,16148
43
- esiaccel-0.1.5.dev209.dist-info/WHEEL,sha256=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
44
- esiaccel-0.1.5.dev209.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
45
- esiaccel-0.1.5.dev209.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
46
- esiaccel-0.1.5.dev209.dist-info/RECORD,,
48
+ esiaccel-0.1.5.dev226.dist-info/licenses/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
49
+ esiaccel-0.1.5.dev226.dist-info/METADATA,sha256=J9O0xXF1VDcv0ut54pxc3OdR7NpdI-KeR0SnajS4JpM,16148
50
+ esiaccel-0.1.5.dev226.dist-info/WHEEL,sha256=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
51
+ esiaccel-0.1.5.dev226.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
52
+ esiaccel-0.1.5.dev226.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
53
+ esiaccel-0.1.5.dev226.dist-info/RECORD,,