×

Systems and methods for sharing resources having different data types

  • US 10,423,733 B1
  • Filed: 04/14/2016
  • Issued: 09/24/2019
  • Est. Priority Date: 12/03/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing, in a memory, at least a portion of an executable source model having a plurality of model elements;

    identifying, by a processor coupled to the memory, first and second model elements that implement a same computation, functionality, or operation with each other, where a first input to the first model element is associated with a first fixed point data type and a second input to the second model element is associated with a second fixed point data type that is different than the first fixed point data types;

    modifying, by the processor, the at least a portion of the executable source model byconverting the first fixed point data type associated with the first input to the first model element to a new fixed point data type, wherein the converting includes at least one of;

    changing a fraction length of at least one of the first fixed point data type or the second fixed point data type to a predetermined fraction length;

    changing the first fixed point data type to either a signed data type or an unsigned data type;

    promoting a first word length of the first fixed point data type to a second word length of the second fixed point data type;

    partitioning the first model element into a set of model elements whose inputs are associated with data types having smaller word lengths than a word length of the first fixed point data type;

    ormerging the first model element with one or more other model elements to create a merged model element wherein a merged word length associated with the merged model element equals the second word length of the second fixed point data type;

    utilizing a single shared model element in place of the first and second model elements identified as implementing the same computation, functionality, or operation with each other; and

    automatically generating code for the at least a portion of the executable source model, following the modifying, wherein the code generated for the at least a portion of the executable source model includes a portion for the single shared model element.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×