Software development device and software development program
A software development device enables software to be shared between controllers using semiconductor devices having different specifications. The software development device generates an execution code executed by a controller having one or more pads from a source code. The software development device includes an analysis module for analyzing the source code to extract a designation for the one or more pads; and a generation modules for generating an execution code including a code corresponding to the extracted designation for the pads with reference to hardware of a target controller.
1. A software development device for generating, from a source code, an execution code executed by a controller having one or more pads, the software development device being configured to:
perform at least one of a lexical analysis or a syntactic analysis of the source code to extract a designation for the one or more pads;
obtain hardware information of a target controller; and
generate an execution code including a code corresponding to the extracted designation for the pads with reference to the hardware information,
wherein the generating the execution code comprises mapping one or more pins of the target controller and the designated one or more pads.
2. The software development device according to claim 1 ,
wherein the pad is a physical interface between the controller and arbitrary hardware.
3. The software development device according to claim 1 ,
wherein the hardware information includes information for specifying a connection relationship between a pin of a semiconductor device mounted on the target controller and the pad.
4. The software development device according to claim 1 ,
wherein the designation for the one or more pads includes identification information for specifying a pad to be used among the one or more pads.
5. The software development device according to claim 1 ,
wherein the generating the execution code comprises using a code unique to the target controller instead of a library module commonly used between controllers.
6. A non-transitory storage medium storing thereon a software development program for generating, from a source code, an execution code executed by a controller having one or more pads, the program, when executed by one or more processors, causing the computer to perform:
perform at least one of a lexical analysis or a syntactic analysis of the source code to extract a designation for the one or more pads;
obtainment of hardware information of a target controller; and
generation of an execution code including a code corresponding to the extracted designation for the pads with reference to the hardware information,
wherein the generation of the execution code comprises mapping one or more pins of the target controller and the designated one or more pads.
7. The non-transitory storage medium according to claim 6 , wherein the pad is a physical interface between the controller and arbitrary hardware.
8. The non-transitory storage medium according to claim 6 , wherein the hardware information includes information for specifying a connection relationship between a pin of a semiconductor device mounted on the target controller and the pad.
9. The non-transitory storage medium according to claim 6 , wherein the designation for the one or more pads includes identification information for specifying a pad to be used among the one or more pads.
10. The non-transitory storage medium according to claim 6 , wherein the step of generating comprises generating the execution code by using a code unique to the target controller instead of a library module commonly used between controllers.
11. A software development method for generating, from a source code, an execution code executed by a controller having one or more pads, comprising:
perform at least one of a lexical analysis or a syntactic analysis of the source code to extract a designation for the one or more pads;
obtaining hardware information of a target controller; and
generating an execution code including a code corresponding to the extracted designation for the pads with reference to the hardware information,
wherein the generating the execution code comprises mapping one or more pins of the target controller and the designated one or more pads.
12. The software development method according to claim 11 , wherein the pad is a physical interface between the controller and arbitrary hardware.
13. The software development method according to claim 11 , wherein the hardware information includes information for specifying a connection relationship between a pin of a semiconductor device mounted on the target controller and the pad.
14. The software development method according to claim 11 , wherein the designation for the one or more pads includes identification information for specifying a pad to be used among the one or more pads.
15. The software development method according to claim 11 , wherein the step of generating comprises generating the execution code by using a code unique to the target controller instead of a library module commonly used between controllers.
16. The software development device according to claim 1 , wherein the generating the execution code comprises determining route information including a pin connected to a pad specified by the extracted designation and a logical port connected to the pin.
17. The non-transitory storage medium according to claim 6 , wherein the generation of the execution code comprises determining route information including a pin connected to a pad specified by the extracted designation and a logical port connected to the pin.
18. The software development method according to claim 11 , wherein the generating the execution code comprises determining route information including a pin connected to a pad specified by the extracted designation and a logical port connected to the pin.