forked from ucb-bar/vcd2step
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configfile
31 lines (27 loc) · 924 Bytes
/
Configfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# I'm super paranoid about C++ code... :)
LANGUAGES += c++
COMPILEOPTS += -Wall
COMPILEOPTS += -Wextra
COMPILEOPTS += -Werror
COMPILEOPTS += -pedantic
COMPILEOPTS += -std=c++0x
# The test scripts use BASH
LANGUAGES += bash
# Generates a C version number and verifies that it matches git
GENERATE += version.h
# Converts a VCD file to a Chisel tester file
BINARIES += vcd2step
COMPILEOPTS += `ppkg-config libvcd --cflags`
LINKOPTS += `ppkg-config libvcd --libs`
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
LINKOPTS += -lgmp -lgmpxx
SOURCES += vcd2step.c++
# Converts a VCD file to a static Verilog harness
BINARIES += vcd2verilog
COMPILEOPTS += `ppkg-config libvcd --cflags`
LINKOPTS += `ppkg-config libvcd --libs`
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
LINKOPTS += -lgmp -lgmpxx
SOURCES += vcd2verilog.c++