source: soft/giet_vm/applications/rosenfeld/nrc2/include/nrio1x.h @ 827

Last change on this file since 827 was 822, checked in by meunier, 8 years ago

In rosenfeld:

  • Updated nrio0, nrio1, nrio2, nrio1f, nrio2f, nrio1x, nrbool1, nrbool2 and nralloc1 in the nrc2 lib in order to use macro-typed functions
  • Updated the simulation script to include performance evaluation with random images, and a script to generate graphs
  • Updated the clock.h to use 64-bit integers, which potentially breaks the printing on the giet
File size: 1.4 KB
Line 
1/* ---------------- */
2/* --- nrio1x.h --- */
3/* ---------------- */
4
5/*
6 * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved
7 * Univ Paris Sud XI, CNRS
8 */
9
10#ifndef _NR_IO1X_H_
11#define _NR_IO1X_H_
12
13#define display_type_vector_circular(t) \
14void short_name(t,display_,vector_circular)(t * v, int32_t nl, int32_t nh, int32_t c0, int32_t c1, char * format, char * name); \
15void short_name(t,display_,vector_circular_number)(t * v, int32_t nl, int32_t nh, int32_t c0, int32_t c1, char * format, char * name); \
16void short_name(t,display_,vector_cycle)(t * v, int32_t nl, int32_t nh, char * format, char * name); \
17void short_name(t,write_,vector_circular)(t * v, int32_t nl, int32_t nh, int32_t c0, int32_t c1, char * format, char * filename)
18
19display_type_vector_circular(int8_t);
20display_type_vector_circular(uint8_t);
21display_type_vector_circular(int16_t);
22display_type_vector_circular(uint16_t);
23display_type_vector_circular(int32_t);
24display_type_vector_circular(uint32_t);
25display_type_vector_circular(int64_t);
26display_type_vector_circular(uint64_t);
27display_type_vector_circular(float);
28display_type_vector_circular(double);
29
30
31#endif // _NR_IO1X_H_
32
33// Local Variables:
34// tab-width: 4
35// c-basic-offset: 4
36// c-file-offsets:((innamespace . 0)(inline-open . 0))
37// indent-tabs-mode: nil
38// End:
39
40// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
41
Note: See TracBrowser for help on using the repository browser.