Source code generation¶
If we click the link “DRE Header” in the project details page: http://ucanca.gatatac.org/projects/1-electric-car/gen_code.h
NOTE: In some Firefox setups a pop-up can be shown trying to download the source code files. In that case is recommended to switch to another browser like Chrome to see this chapter in a comfortable way.
How this software is created? Using the FlowType definition table. This can be found as a link with “Flow Type” caption in the navigation bar at the top of the web page: http://ucanca.gatatac.org/flow_types
Here you can see how an input or output flow is defined depending on the flow type and the flow direction.
If we click the link “DRE I/O function” we can see the source code of the acquisition/synthesis of each flow (based on the same flow types table).