source: proto/pablo/src/applicationGenerator/templates/CPP/pablo_definitions.template @ 2809

Last change on this file since 2809 was 2809, checked in by ksherdy, 7 years ago

Added state support. Additional work required. Added carry_flip support.

File size: 1.6 KB
Line 
1// ###@warningComment ###
2//
3// (c) 2012, 2013 Robert D. Cameron, Ken Herdy
4// All rights reserved.
5// Licensed to International Characters, Inc. under Academic Free License 3.0
6//
7//////////////////////////////////////////////////////////////////////////////////////////
8// @ global - Stream structure and stream function declarations.
9//
10//////////////////////////////////////////////////////////////////////////////////////////
11//
12#ifndef PABLO_DEFINITIONS_HPP
13#define PABLO_DEFINITIONS_HPP
14
15// Stream struct and function headers and definitions
16
17#include "../lib/simd-lib/bitblock.hpp"
18#include "../lib/simd-lib/carryQ.hpp"
19#include "../lib/simd-lib/pabloSupport.hpp"
20
21#define LocalCarryDeclare(name, count)\
22CarryArray<count, 0> name;\
23
24#define assert_0_error(errkind, errstrm)
25
26BitBlock EOF_mask = simd<1>::constant<1>();
27
28// XMLWF application headers and definitions
29/*
30#include <stdio.h>
31#include <stdlib.h>
32#include <errno.h>
33#include <sys/types.h>
34#include <sys/stat.h>
35
36#include "../lib/simd-lib/s2p.hpp"
37#include "../lib/simd-lib/buffer.hpp"
38#include "../lib/simd-lib/bitblock_iterator.hpp"
39#include "../lib/simd-lib/perflib/perfsec.h"
40
41#include <xmldecl.h>
42#include <namechars.h>
43#include <LineColTracker.hpp>
44#include <XMLTestSuiteError.h>
45
46// Define the mappings for pablo.assert_0(strm, errkind) statements which
47// compile to the the form assert_0_error(errkind, strm)
48#include <ErrorTracker.h>
49
50ErrorTracker error_tracker;
51#define assert_0_error(errkind, errstrm) error_tracker.NoteError(errkind, errstrm);
52*/
53
54// namespace pablo
55// {
56###@global ###
57// } // pablo namespace
58
59#endif // PABLO_DEFINITIONS_HPP
Note: See TracBrowser for help on using the repository browser.