/* * University of Bristol – Open Access Software Licence * Copyright (c) 2016, The University of Bristol, a chartered * corporation having Royal Charter number RC000648 and a charity * (number X1121) and its place of administration being at Senate * House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * * Any use of the software for scientific publications or commercial * purposes should be reported to the University of Bristol * (OSI-notifications@bristol.ac.uk and quote reference 2668). This is * for impact and usage monitoring purposes only. * * Enquiries about further applications and development opportunities * are welcome. Please contact elisabeth.oswald@bristol.ac.uk */ extern void starttrigger(void); extern void endtrigger(void); extern void randbyte(unsigned char * pointer); extern void LoadN(void* addr); extern void readbyte(unsigned char * pointer); extern void printbyte(unsigned char * pointer); extern void endprogram(void); extern void getstart(unsigned int * pointer); extern void getruncount(unsigned int * pointer); extern void initialisemaskflow(unsigned char * pointer); extern void resetmaskflow(void); extern void setmaskflowstart(unsigned int start); extern void resetdatafile(void);