Skip to content

Commit dba6a8e

Browse files
committed
syn: Rm redundant header for pedantic build's sake
Signed-off-by: Martin Povišer <povik@cutebit.org>
1 parent abc7d28 commit dba6a8e

8 files changed

Lines changed: 3 additions & 47 deletions

File tree

src/syn/BUILD

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ cc_library(
1616
srcs = [
1717
"src/flow/abc.cc",
1818
"src/flow/bitblast.cc",
19-
"src/flow/bitblast.h",
2019
"src/flow/combinational_mapper.cc",
21-
"src/flow/combinational_mapper.h",
2220
"src/flow/combinational_mapper_npn.cc",
2321
"src/flow/combinational_mapper_npn.h",
2422
"src/flow/constant_fold.cc",

src/syn/src/flow/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add_library(syn_flow
1515
)
1616

1717
set(_syn_flow_stage ${CMAKE_CURRENT_BINARY_DIR}/include/flow)
18-
foreach(_h bitblast.h combinational_mapper.h combinational_mapper_npn.h export.h import.h opt_gatefusion.h)
18+
foreach(_h combinational_mapper_npn.h export.h import.h opt_gatefusion.h)
1919
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${_h} ${_syn_flow_stage}/${_h} COPYONLY)
2020
endforeach()
2121

src/syn/src/flow/bitblast.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// Bitblast pass: converts arithmetic operations and muxes
55
// to And/Andnot/Or/Xor/Not gates.
66

7-
#include "flow/bitblast.h"
8-
97
#include <algorithm>
108
#include <cassert>
119
#include <cstddef>
@@ -22,6 +20,7 @@
2220
#include "syn/ir/Graph.h"
2321
#include "syn/ir/Instance.h"
2422
#include "syn/ir/Net.h"
23+
#include "syn/synthesis.h"
2524

2625
namespace syn {
2726

src/syn/src/flow/bitblast.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/syn/src/flow/combinational_mapper.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// standard cells from a liberty library using cut-based technology
66
// mapping with NPN canonicalization.
77

8-
#include "flow/combinational_mapper.h"
9-
108
#include <algorithm>
119
#include <cassert>
1210
#include <cmath>

src/syn/src/flow/combinational_mapper.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/syn/src/synthesis.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
#include "db_sta/dbSta.hh"
1717
#include "elab/driver.h"
18-
#include "flow/bitblast.h"
19-
#include "flow/combinational_mapper.h"
2018
#include "flow/constant_fold.h"
2119
#include "flow/export.h"
2220
#include "flow/import.h"

src/syn/test/bitblast_test.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "syn/ir/Graph.h"
1010
#include "syn/ir/Instance.h"
1111
#include "syn/ir/Net.h"
12+
#include "syn/synthesis.h"
1213

1314
int main(int argc, char** argv)
1415
{
@@ -18,8 +19,6 @@ int main(int argc, char** argv)
1819

1920
namespace syn {
2021

21-
void bitblast(Graph& g, bool blast_arith = true);
22-
2322
// Rule 11 (Substitution): a & ~(a & b) → a & ~b (= andnot)
2423
TEST(BitblastTest, Rule11_Substitution)
2524
{

0 commit comments

Comments
 (0)