Florent Kermarrec
76302d7aa6
vpi: cleanup (thanks sb)
2015-05-13 10:13:14 +02:00
Florent Kermarrec
98cf103c65
vpi: fix and simplify windows simulation (ends of msg were ignored)
2015-05-13 03:03:34 +02:00
William D. Jones
fe6eef7069
Windows simulation support
2015-05-09 21:09:52 +08:00
Florent Kermarrec
1051878f4c
global: pep8 (E302)
2015-04-13 20:45:35 +02:00
Florent Kermarrec
17e5249be0
global: pep8 (replace tabs with spaces)
2015-04-13 20:07:07 +02:00
Florent Kermarrec
dbaeaf7833
remove trailing whitespaces
2014-10-17 17:08:46 +08:00
Robert Jördens
55afab2276
sim: use Simulator as a contextmanager
...
__del__ garbage collector callbacks are too delicate. E.g. imported
modules can be garbage collected before the objects using them. Can't
use os.remove, socket.SHUT_RDWR...
* added a DeprecationWarning if a Simulator is garbage collected without
having its .close() called
* renamed all gc __del__ callbacks to close()
* implemented context manager hooks for Simulator. Use like
with Simulator(TestBench()) as s:
s.run()
2013-11-29 23:05:15 +01:00
Sebastien Bourdeauducq
89643bc434
sim/ipc/Message: convert values
2012-11-17 23:19:40 +01:00
Sebastien Bourdeauducq
081b658e2d
Update copyright notices
2012-03-23 16:41:30 +01:00
Sebastien Bourdeauducq
678a89d572
sim: fix zero encoding
2012-03-08 15:34:08 +01:00
Sebastien Bourdeauducq
decbd069fa
sim: fix message debug formatting
2012-03-08 15:27:35 +01:00
Sebastien Bourdeauducq
8160ced2e9
sim: memory access
2012-03-06 19:29:39 +01:00
Sebastien Bourdeauducq
22b3c11b93
sim: clean startup/shutdown
2012-03-06 15:00:02 +01:00
Sebastien Bourdeauducq
2c375e900f
sim: remove default sockaddr
2012-03-06 13:58:49 +01:00
Sebastien Bourdeauducq
29859acc34
sim: two way IPC working
2012-03-04 19:17:03 +01:00
Sebastien Bourdeauducq
8586daf2dd
sim: IPC module (lacks str/int encoding)
2012-03-03 18:55:38 +01:00