# Real-Time Simulator for Dynamic Systems on FPGA
## 4 Development of the Prototype and Results
### Netlist Analysis
Comparison of the Matlab/Simulink and Matlab/System Generator methods showed that the results obtained were satisfactory, as expected, with good statistical parameter values, maximum errors of one unit, and variances of around six decimal places. The second point to consider concerns the ability to execute tasks in shorter periods of time than those required for real-time evaluations, reducing the total simulation time to even lower levels, for example, enabling training and testing of control algorithms in shorter times. This would have positive impacts in industrial processes that have severe time restrictions. The platform could be executed in times shorter than required for such processes, freeing the system to perform other tasks in the remaining time. The use of the system with hardware enables it to be employed in education and learning environments, where the hardware could be used to perform tests in the area of \begin{table}
\begin{tabular}{c c c} \hline \hline
**Item** & **Using** & **Percentage Relative to Absolute Value** \\ \hline Number of Slices Registers & 1838 & 1\% \\ Number of Slices LUTS & 82,964 & 55\% \\ Number of Memories & 0 & 0\% \\ Number of Multipliers & 120 & 15\% \\ \hline \hline \end{tabular}
\end{table} 
Table 6: Platform Netlist analysis for scenario 1. \begin{table}
\begin{tabular}{c c} \hline \hline
**Value of the Clock** & **Time Slack** \\ \hline
5 ns & \(-\)3.747 ns \\
1 ms & 999,791.419 ns \\ \hline \hline \end{tabular}
\end{table} 
Table 5: Analysis of the time slack in scenario 2. \begin{table}
\begin{tabular}{c c} \hline \hline
**Item** & **Using** & **Percentage Relative to Absolute Value** \\ \hline Number of Slices Registers & 1958 & 1\% \\ Number of Slices LUTS & 80,604 & 53\% \\ Number of Memories & 144 & 34\% \\ Number of Multipliers & 120 & 15\% \\ \hline \hline \end{tabular}
\end{table} 
Table 7: Platform Netlist analysis for scenario 2.  
control. For example, students could undertake development tasks such as controlling the speed of a vehicle at a set value. The proposed methodology offers significant potential as a teaching tool in undergraduate and graduate courses, particularly in electrical engineering, control systems, and computer engineering. For undergraduate courses, the method can provide students with hands-on experience in real-time simulation and FPGA programming. For instance, students could use the platform to simulate basic electrical circuits or control systems, allowing them to visualize and understand complex theoretical concepts practically and interactively. This approach would enhance their comprehension of course material and equip them with valuable skills in hardware description languages (HDLs) and real-time systems, which are increasingly important in the industry. The methodology could be employed at the graduate level for more advanced applications, such as the design and simulation of complex systems like power converters, robotic controllers, or signal processing algorithms. Graduate students could use the platform to conduct research projects that involve modeling and simulating sophisticated systems, offering a low-cost and flexible alternative to commercial simulation tools. Furthermore, the platform's modularity allows for the easy integration of custom components, enabling students to experiment with new ideas and develop innovative solutions to engineering problems. This hands-on approach to learning and research would deepen their understanding of theoretical concepts and foster critical thinking and problem-solving skills, preparing them for careers in academia or industry.