Commit 5bf2ed26 authored by yoogx's avatar yoogx
Browse files

* Generate value '-1' if a bus is not specified, corresponding

          to the case nos bus is defined. The value '0' denoting a
          valid bus

          For openaadl/ocarina#148
parent d912e7fc
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2017 ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2018 ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
......@@ -1650,7 +1650,7 @@ package body Ocarina.Backends.PO_HI_C.Deployment is
(CTN.Global_Port_Node (Backend_Node (Identifier (F))))
then
N := (Make_Literal (CV.New_Int_Value (0, 0, 10)));
N := (Make_Literal (CV.New_Int_Value (-1, 0, 10)));
Used_Bus := Get_Associated_Bus (F);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment