aboutsummaryrefslogtreecommitdiffstats
path: root/examples/aiger/demo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/aiger/demo.sh')
0 files changed, 0 insertions, 0 deletions
'>80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
/*
 *  nextpnr -- Next Generation Place and Route
 *
 *  Copyright (C) 2012  Clifford Wolf <clifford@clifford.at>
 *
 *  Permission to use, copy, modify, and/or distribute this software for any
 *  purpose with or without fee is hereby granted, provided that the above
 *  copyright notice and this permission notice appear in all copies.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 *  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 *  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 *  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 *  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 *  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 *  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 *
 */

#ifndef LOG_H
#define LOG_H

#include <ostream>
#include <string>
#include <vector>
#include <set>
#include <stdio.h>
#include <stdarg.h>

#include "design.h"

// from libs/sha1/sha1.h

#define	NXP_NORETURN
#define	NXP_ATTRIBUTE(...)	__attribute__((__VA_ARGS__))

struct	log_cmd_error_exception { };

extern	std::vector<FILE*>		log_files;
extern	std::vector<std::ostream*>	log_streams;
extern	std::set<std::string>		log_warnings;