Artificial intelligence powered, semantic preserving conversion system for hardware dedicated languages and programmable hardware
AssigneeProcess Champ, LLC
InventorJanelle Ghanem
Life of this patent
Estimating the term…
Abstract
Systems and methods for providing semantic preserving conversion of code into hardware dedicated languages are provided. A prompt is generated at a personal electronic device for building or providing code for conversion. The received code is processed through an artificial intelligence powered model which analyzes semantics of the provided code and converts the provided code into at least one HDL. The converted code is transmitted to the controller for execution at the industrial equipment.
Claims20
A computer implemented method of providing semantics preserving conversion of code for hardware dedicated languages (“HDLs”), said method comprising:
- building a code library from one or more code sources;
- cleaning and quality checking code at the code library;
- labeling code within the code library;
- dividing the labeled code into a first set and a second set;
- training an artificial intelligence powered model (“AI model”) store at a server for analyzing semantics of the received code and converting the received code for the HDLs with the first set of the labeled code;
- validating the AI model with the second set of the labeled code;
- generating an electronic prompt at a personal electronic device for building or providing code for conversion;
- processing received code from the personal electronic device through the AI model to analyze semantics of the received code and convert the received code for at least one of the HDLs;
- and
- transmitting converted code to a controller for execution at industrial equipment.
A system for providing semantics preserving conversion of code for hardware dedicated languages (“HDLs”), said system comprising:
- a personal computer;
- a server in electronic communication with the personal computer by way of an internet;
- a programmable logic controller (“PLC”) in electronic communication with the server by way of the internet;
- industrial equipment in wired electronic communication with the PLC comprising a material handling robot and a machine vision camera;
- wherein said server comprises software instructions, which when executed, configure the server to:
- utilize web-crawlers to build a code library from internet available sources comprising code repositories, source language dictionaries, and HDL dictionaries;
- clean and quality check the code at the code library by at least normalizing the code and removing duplicate and partial code;
- label the code within the code library using one or more of:
- coreference chains, intent, named entity recognition, and syntax trees;
- divide the labeled code into a first set and a second set;
- build and train an artificial intelligence-based model (“AI model”) from the first set of the labeled code by at least tokenizing an input line of code, embedding tokens into vectors representing a meaning of a token, and utilizing one or more neural network architectures comprising one or more of:
- document pair transformers, graph transformers, and memory-augmented transformers;
- and
- validate the AI model with the second set of the labeled code;
- receive code by way of graphical user interfaces (“GUIs”);
- process the received code from the personal electronic device through the AI model by at least:
- determining potentially available conversion meanings for each portion of the received code by way of the dictionaries, identifying related ones of the tokens for each of the potentially available conversion meanings, developing a probability distribution over each of the related ones of the tokens,
- weighting the related ones of the tokens in accordance with the probability distribution, and selecting a highest weighted one of the related ones of the tokens for use in the conversion to arrive at a converted version of the received code for at least one of the HDLs;
- execute at least one testing routine on the converted code to verify the conversion;
- identify any errors when executing the at least one testing routine on the converted code;
- and
- backpropagate the errors to the AI model and update the AI model accordingly;
- and
- transmit the converted code to the controller for execution at the industrial equipment.
A computer implemented method of providing semantics preserving conversion of code for hardware dedicated languages (“HDLs”), said method comprising:
- generating an electronic prompt at a personal electronic device for building or providing code for conversion, the prompt comprising at least one graphical user interface (“GUI”) with a build by diagram option and an upload code option;
- processing received code from the personal electronic device through an artificial intelligence powered model (“AI model”) stored at a server which analyzes semantics of the received code and converts the received code into at least one HDL;
- and
- transmitting converted code to a controller for execution at industrial equipment.
Dependencies are inferred from the claim text.