├── .bazelignore ├── .bazelrc ├── .clang-format ├── .clang-tidy ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── MODULE.bazel ├── README.md ├── bazel ├── BUILD ├── bazel-compile-commands-extractor-fix.patch └── prjxray-add-module-bazel.patch ├── flake.lock ├── flake.nix ├── fpga ├── BUILD ├── assembler.cc ├── database-parsers.cc ├── database-parsers.h ├── database-parsers_test.cc ├── database.cc ├── database.h ├── database_test.cc ├── fasm-parser.h ├── fasm-parser_test.cc ├── memory-mapped-file.cc ├── memory-mapped-file.h └── xilinx │ ├── BUILD │ ├── README.md │ ├── arch-types.h │ ├── arch-xc7-configuration-packet.cc │ ├── arch-xc7-configuration-packet.h │ ├── arch-xc7-configuration-packet_test.cc │ ├── arch-xc7-frame.cc │ ├── arch-xc7-frame.h │ ├── arch-xc7-frame_test.cc │ ├── arch-xc7-part.cc │ ├── arch-xc7-part.h │ ├── arch-xc7-part_test.cc │ ├── big-endian-span.h │ ├── big-endian-span_test.cc │ ├── bistream-writer.h │ ├── bit-ops.h │ ├── bit-ops_test.cc │ ├── bitstream-reader-xc7_test.cc │ ├── bitstream-reader.h │ ├── bitstream-writer.cc │ ├── bitstream-writer.h │ ├── bitstream-writer_test.cc │ ├── bitstream.h │ ├── configuration-packet.h │ ├── configuration-xc7_test.cc │ ├── configuration.cc │ ├── configuration.h │ ├── frames-xc7_test.cc │ ├── frames.h │ └── testdata │ ├── xc7-configuration-test.json │ ├── xc7-configuration.bit │ ├── xc7-configuration.debug.bit │ └── xc7-configuration.perframecrc.bit ├── img └── fasm2frames.svg └── scripts ├── before-submit.sh ├── create-workspace-status.sh ├── get-bant-path.sh ├── make-compilation-db.sh ├── run-build-cleaner.sh ├── run-clang-format.sh └── run-clang-tidy-cached.cc /.bazelignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.bazelignore -------------------------------------------------------------------------------- /.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.bazelrc -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.clang-format -------------------------------------------------------------------------------- /.clang-tidy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.clang-tidy -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/LICENSE -------------------------------------------------------------------------------- /MODULE.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/MODULE.bazel -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/README.md -------------------------------------------------------------------------------- /bazel/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bazel/bazel-compile-commands-extractor-fix.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/bazel/bazel-compile-commands-extractor-fix.patch -------------------------------------------------------------------------------- /bazel/prjxray-add-module-bazel.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/bazel/prjxray-add-module-bazel.patch -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/flake.nix -------------------------------------------------------------------------------- /fpga/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/BUILD -------------------------------------------------------------------------------- /fpga/assembler.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/assembler.cc -------------------------------------------------------------------------------- /fpga/database-parsers.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database-parsers.cc -------------------------------------------------------------------------------- /fpga/database-parsers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database-parsers.h -------------------------------------------------------------------------------- /fpga/database-parsers_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database-parsers_test.cc -------------------------------------------------------------------------------- /fpga/database.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database.cc -------------------------------------------------------------------------------- /fpga/database.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database.h -------------------------------------------------------------------------------- /fpga/database_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/database_test.cc -------------------------------------------------------------------------------- /fpga/fasm-parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/fasm-parser.h -------------------------------------------------------------------------------- /fpga/fasm-parser_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/fasm-parser_test.cc -------------------------------------------------------------------------------- /fpga/memory-mapped-file.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/memory-mapped-file.cc -------------------------------------------------------------------------------- /fpga/memory-mapped-file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/memory-mapped-file.h -------------------------------------------------------------------------------- /fpga/xilinx/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/BUILD -------------------------------------------------------------------------------- /fpga/xilinx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/README.md -------------------------------------------------------------------------------- /fpga/xilinx/arch-types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-types.h -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-configuration-packet.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-configuration-packet.cc -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-configuration-packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-configuration-packet.h -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-configuration-packet_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-configuration-packet_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-frame.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-frame.cc -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-frame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-frame.h -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-frame_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-frame_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-part.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-part.cc -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-part.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-part.h -------------------------------------------------------------------------------- /fpga/xilinx/arch-xc7-part_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/arch-xc7-part_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/big-endian-span.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/big-endian-span.h -------------------------------------------------------------------------------- /fpga/xilinx/big-endian-span_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/big-endian-span_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/bistream-writer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bistream-writer.h -------------------------------------------------------------------------------- /fpga/xilinx/bit-ops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bit-ops.h -------------------------------------------------------------------------------- /fpga/xilinx/bit-ops_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bit-ops_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/bitstream-reader-xc7_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream-reader-xc7_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/bitstream-reader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream-reader.h -------------------------------------------------------------------------------- /fpga/xilinx/bitstream-writer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream-writer.cc -------------------------------------------------------------------------------- /fpga/xilinx/bitstream-writer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream-writer.h -------------------------------------------------------------------------------- /fpga/xilinx/bitstream-writer_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream-writer_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/bitstream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/bitstream.h -------------------------------------------------------------------------------- /fpga/xilinx/configuration-packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/configuration-packet.h -------------------------------------------------------------------------------- /fpga/xilinx/configuration-xc7_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/configuration-xc7_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/configuration.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/configuration.cc -------------------------------------------------------------------------------- /fpga/xilinx/configuration.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/configuration.h -------------------------------------------------------------------------------- /fpga/xilinx/frames-xc7_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/frames-xc7_test.cc -------------------------------------------------------------------------------- /fpga/xilinx/frames.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/frames.h -------------------------------------------------------------------------------- /fpga/xilinx/testdata/xc7-configuration-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/testdata/xc7-configuration-test.json -------------------------------------------------------------------------------- /fpga/xilinx/testdata/xc7-configuration.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/testdata/xc7-configuration.bit -------------------------------------------------------------------------------- /fpga/xilinx/testdata/xc7-configuration.debug.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/testdata/xc7-configuration.debug.bit -------------------------------------------------------------------------------- /fpga/xilinx/testdata/xc7-configuration.perframecrc.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/fpga/xilinx/testdata/xc7-configuration.perframecrc.bit -------------------------------------------------------------------------------- /img/fasm2frames.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/img/fasm2frames.svg -------------------------------------------------------------------------------- /scripts/before-submit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/before-submit.sh -------------------------------------------------------------------------------- /scripts/create-workspace-status.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/create-workspace-status.sh -------------------------------------------------------------------------------- /scripts/get-bant-path.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/get-bant-path.sh -------------------------------------------------------------------------------- /scripts/make-compilation-db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/make-compilation-db.sh -------------------------------------------------------------------------------- /scripts/run-build-cleaner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/run-build-cleaner.sh -------------------------------------------------------------------------------- /scripts/run-clang-format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/run-clang-format.sh -------------------------------------------------------------------------------- /scripts/run-clang-tidy-cached.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lromor/fpga-assembler/HEAD/scripts/run-clang-tidy-cached.cc --------------------------------------------------------------------------------