Skip to content

Commit 9a0f9d3

Browse files
committed
xilinx: added bistream writer
1 parent be9a621 commit 9a0f9d3

File tree

2 files changed

+39
-114
lines changed

2 files changed

+39
-114
lines changed

fpga/xilinx/BUILD

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ cc_library(
235235
cc_test(
236236
name = "bitstream-reader_test",
237237
srcs = [
238-
"bitstream-reader_test.cc",
238+
"bitstream-reader-xc7_test.cc",
239239
],
240240
deps = [
241241
":arch-types",
@@ -244,3 +244,41 @@ cc_test(
244244
"@googletest//:gtest_main",
245245
],
246246
)
247+
248+
cc_library(
249+
name = "bitstream-writer",
250+
srcs = [
251+
"bitstream-writer.cc",
252+
],
253+
hdrs = [
254+
"bitstream-writer.h",
255+
],
256+
deps = [
257+
":arch-types",
258+
":arch-xc7-configuration-packet",
259+
":bit-ops",
260+
":configuration-packet",
261+
"@abseil-cpp//absl/log:check",
262+
"@abseil-cpp//absl/strings",
263+
"@abseil-cpp//absl/time",
264+
"@abseil-cpp//absl/types:optional",
265+
"@abseil-cpp//absl/types:span",
266+
],
267+
)
268+
269+
cc_test(
270+
name = "bitstream-writer_test",
271+
srcs = [
272+
"bitstream-writer_test.cc",
273+
],
274+
deps = [
275+
":arch-types",
276+
":arch-xc7-configuration-packet",
277+
":bit-ops",
278+
":bitstream-writer",
279+
":configuration-packet",
280+
"@abseil-cpp//absl/types:span",
281+
"@googletest//:gtest",
282+
"@googletest//:gtest_main",
283+
],
284+
)

fpga/xilinx/bitstream-reader_test.cc

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

0 commit comments

Comments
 (0)