Skip to content

Commit edd4aac

Browse files
authored
Merge pull request chipsalliance#4 from litghost/add_lut_definitions_and_cxx
Add C++ namespace definitions.
2 parents a7e383b + 1c76f41 commit edd4aac

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

interchange/LogicalNetlist.capnp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ using Ref = import "References.capnp";
1818
$Java.package("com.xilinx.rapidwright.interchange");
1919
$Java.outerClassname("LogicalNetlist");
2020

21+
using Cxx = import "/capnp/c++.capnp";
22+
$Cxx.namespace("LogicalNetlist");
23+
2124
struct HashSet {
2225
type @0 : Ref.ImplementationType = enumerator;
2326
hide @1 : Bool = true;

interchange/PhysicalNetlist.capnp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
@0xcb2ccd67aa912968;
1615
using Java = import "/capnp/java.capnp";
17-
using Ref = import "References.capnp";
1816
$Java.package("com.xilinx.rapidwright.interchange");
1917
$Java.outerClassname("PhysicalNetlist");
2018

19+
using Cxx = import "/capnp/c++.capnp";
20+
$Cxx.namespace("PhysicalNetlist");
21+
22+
using Ref = import "References.capnp";
23+
2124
struct StringRef {
2225
type @0 :Ref.ReferenceType = rootValue;
2326
field @1 :Text = "strList";

0 commit comments

Comments
 (0)