2024-10-09 01:15:39 -05:00
|
|
|
# This file is generated by uxsdcap 0.1.0.
|
|
|
|
# https://github.com/duck2/uxsdcxx
|
|
|
|
# Modify only if your build process doesn't involve regenerating this file.
|
|
|
|
#
|
2024-10-17 14:14:05 -05:00
|
|
|
# Cmdline: uxsdcxx/uxsdcap.py /home/xifan/github/OpenFPGA/libs/libopenfpgacapnproto/gen/unique_blocks.xsd unique_blocks_capnproto_generate/unique_blocks_uxsdcxx.h unique_blocks_capnproto_generate/unique_blocks_uxsdcxx_capnp.h unique_blocks_capnproto_generate/unique_blocks_uxsdcxx_interface.h /home/xifan/github/OpenFPGA/libs/libopenfpgacapnproto/gen
|
|
|
|
# Input file: /home/xifan/github/OpenFPGA/libs/libopenfpgacapnproto/gen/unique_blocks.xsd
|
2024-10-09 04:21:49 -05:00
|
|
|
# md5sum of input file: 1db9d740309076fa51f61413bae1e072
|
2024-10-09 01:15:39 -05:00
|
|
|
|
2024-11-26 20:10:28 -06:00
|
|
|
@0xc5bb4dab7879b418;
|
2024-10-09 01:15:39 -05:00
|
|
|
using Cxx = import "/capnp/c++.capnp";
|
|
|
|
$Cxx.namespace("ucap");
|
|
|
|
|
2024-10-09 04:21:49 -05:00
|
|
|
enum Type {
|
2024-10-09 01:15:39 -05:00
|
|
|
uxsdInvalid @0;
|
|
|
|
cbx @1;
|
|
|
|
cby @2;
|
|
|
|
sb @3;
|
|
|
|
}
|
|
|
|
|
2024-10-09 04:21:49 -05:00
|
|
|
struct Instance {
|
2024-10-09 01:15:39 -05:00
|
|
|
x @0 :UInt32;
|
|
|
|
y @1 :UInt32;
|
|
|
|
}
|
|
|
|
|
2024-10-09 04:21:49 -05:00
|
|
|
struct Block {
|
|
|
|
type @0 :Type;
|
|
|
|
x @1 :UInt32;
|
|
|
|
y @2 :UInt32;
|
|
|
|
instances @3 :List(Instance);
|
2024-10-09 01:15:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
struct UniqueBlocks {
|
2024-10-09 04:21:49 -05:00
|
|
|
blocks @0 :List(Block);
|
2024-10-09 01:15:39 -05:00
|
|
|
}
|