whitequark
3e1348a084
Merge branch 'master' of github.com:m-labs/artiq into new-py2llvm
2015-09-27 18:22:28 +03:00
Robert Jördens
01416bb0be
copyright: claim contributions
...
These are contributions of >= 30% or >= 20 lines (half-automated).
I hereby resubmit all my previous contributions to the ARTIQ project
under the following terms:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/ >.
Closes #130
Signed-off-by: Robert Jordens <jordens@gmail.com>
2015-09-06 16:08:57 -06:00
Sebastien Bourdeauducq
eb554f86f9
dds: do not reset AD9914
2015-09-05 14:52:25 -06:00
Raghavendra Srinivas
b3831d3387
dds: support amplitude tuning on AD9914
...
Closes #108
2015-09-05 13:15:09 -06:00
Sebastien Bourdeauducq
8253739992
dds: increase DAC calibration time
2015-09-03 09:52:04 -06:00
whitequark
8762019699
ksupport.c: properly prefix compiler-rt symbols.
2015-08-31 22:55:26 -06:00
whitequark
501ba912c2
Implement {delay,now,at}{,_mu} and {mu,seconds}_to_{seconds,mu}.
2015-08-31 09:59:33 -06:00
whitequark
79af228af3
ksupport: provide abort() to the kernel library.
2015-08-28 04:53:51 -05:00
whitequark
98bb570aec
log.c: fix off-by-one error.
2015-08-28 03:06:40 -05:00
whitequark
30cdb209c6
log.c: fix warnings.
2015-08-28 03:03:32 -05:00
whitequark
d80be482fc
Allow clearing core device log buffer.
...
This is useful to get a fresh environment, such as when
running tests that print to log buffer.
2015-08-28 00:37:46 -05:00
Sebastien Bourdeauducq
f07c7e9c6f
runtime/dds: fix AD9914 register initialization values
...
Thanks Raghavendra Srinivas for the help. Closes #114 .
2015-08-27 10:47:44 +08:00
whitequark
9b9fa1ab7c
Allow embedding and RPC sending host objects.
2015-08-25 21:56:01 -07:00
Sebastien Bourdeauducq
fba05531f4
runtime: enable ad9914 matched latency
2015-08-22 12:25:44 +08:00
Sebastien Bourdeauducq
82fdebde75
runtime: support single channel test sequence
2015-08-22 10:43:46 +08:00
Sebastien Bourdeauducq
8d4ef479e5
runtime: test all DDS channels
2015-08-22 10:03:35 +08:00
Sebastien Bourdeauducq
e0c35cabab
runtime: fix onehot selection in ddstest_one
2015-08-22 09:56:40 +08:00
Sebastien Bourdeauducq
8d8aa32aed
runtime: fix AD9914 register read in bridge
2015-08-21 17:51:01 +08:00
Sebastien Bourdeauducq
f2911d67b7
Enable TCP keepalive on the core device
...
Automatically runs the idle experiment a few seconds after the master stops responding.
Thanks Florent for figuring out TCP_KEEPIDLE_DEFAULT needed to be set in addition to the other options.
Closes #31
2015-08-13 18:33:46 +08:00
whitequark
46476516ba
ARTIQException: tell linecache where to look for runtime sources.
...
Runtime sources can appear in the backtrace when
artiq_raise_from_c is used.
2015-08-10 20:26:07 +03:00
whitequark
b99eae6b3f
session.c: send_rpc_value: fix list serialization.
2015-08-09 20:36:14 +03:00
whitequark
d4270cf66e
Implement receiving data from RPCs.
2015-08-09 20:17:00 +03:00
whitequark
02b1543c63
Implement receiving exceptions from RPCs.
2015-08-09 16:16:41 +03:00
whitequark
153592f1cc
Naming.
2015-08-09 02:25:58 +03:00
whitequark
b26af5df60
Implement sending RPCs.
2015-08-09 02:17:19 +03:00
whitequark
27d2390fed
Add zero-cost exception support to runtime and host.
2015-08-08 16:01:31 +03:00
whitequark
1d61e446cb
session.c: ensure session reset on out buffer overrun during RPC.
2015-08-08 14:12:28 +03:00
whitequark
f5ea202e25
session.c: bring back session_ack_{consumed,sent}.
...
These (called session_ack_{data,mem} before) were removed in error.
2015-08-08 14:06:11 +03:00
whitequark
4efae2b67d
Formatting.
2015-08-08 13:48:25 +03:00
whitequark
ecdebc0b8a
session.c: refactor.
2015-08-08 13:21:43 +03:00
whitequark
b6e2613f77
runtime: avoid spurious error messages.
2015-08-07 11:03:36 +03:00
whitequark
b5cf1e395d
runtime: avoid race condition when running kernel.
...
Also, don't bother passing kernel name: entry point is already
recorded in DT_INIT when the kernel is linked.
2015-08-07 08:51:33 +03:00
whitequark
98cd4288c1
artiq_personality: cast exception params so that %lld is always valid.
2015-08-06 08:25:53 +03:00
whitequark
722dfef97b
artiq_personality: simplify.
2015-08-06 07:59:15 +03:00
whitequark
62fdc75d2d
Integrate libdyld and libunwind.
...
It is currently possible to run the idle experiment, and it
can raise and catch exceptions, but exceptions are not yet
propagated across RPC boundaries.
2015-08-02 15:43:03 +03:00
whitequark
6db93b34e8
artiq_personality: port to device.
2015-08-02 06:34:11 +03:00
whitequark
aae2923c4c
runtime: add lognonl{,_va} functions.
...
The kernels have print(), which prints aggregates (such as
arrays) piece-by-piece, and newlines would interfere.
2015-08-02 06:33:12 +03:00
whitequark
cd294e2986
artiq_personality: avoid unaligned loads.
2015-08-02 06:28:58 +03:00
Sebastien Bourdeauducq
9b0ed344ed
runtime/Makefile: WA for more pesky travis/miniconda misbehavior
2015-07-31 19:29:34 +08:00
whitequark
33531c2f3b
Rename {kserver → net_server}.{c,h}.
2015-07-31 18:18:25 +08:00
Sebastien Bourdeauducq
8d1663394b
runtime: increase lwip TCP_SND_QUEUELEN ( closes #82 )
2015-07-31 18:16:02 +08:00
Sebastien Bourdeauducq
d02d40871e
runtime: update lwip
2015-07-31 18:15:16 +08:00
whitequark
697b78ddf2
Rename {kserver → net_server}.{c,h}.
2015-07-30 13:45:57 +03:00
Sebastien Bourdeauducq
1d34c06d79
rtio: detect collision errors
2015-07-29 19:43:35 +08:00
whitequark
fd46d8b11e
Merge branch 'master' into new-py2llvm
2015-07-29 12:52:19 +03:00
whitequark
c40ae9dbd3
MiSoC is not built with -fPIC anymore, remove support code for that.
2015-07-29 12:40:46 +03:00
Robert Jördens
f0a7078336
Revert "rtiocrg.c: pipistrello also has pll_reset"
...
This reverts commit bdee914828
.
2015-07-27 22:18:45 -06:00
Robert Jördens
bdee914828
rtiocrg.c: pipistrello also has pll_reset
2015-07-27 22:14:42 -06:00
Sebastien Bourdeauducq
ae3a52c49c
runtime: fix KERNELCPU_PAYLOAD_ADDRESS
2015-07-28 02:12:14 +08:00
whitequark
eec4a2d2d2
Update buildsystem to track -fPIC and ranlib removal in MiSoC.
2015-07-27 21:10:46 +03:00