SDA Ethernet encapsulation with chatGPT o1 (part 2)
This is a continuation of the first post on SDA Ethernet encapsulation. In this post we explore reducing the complexity of the module produced and using chatGPT o1 with reasoning. Results are better but are still lacking. The modules still need correction and analysis at a system level for the module.
SDA Ethernet encapsulation with ChatGPT o4
In this post I explore some of the coding shortcomings of ChatGPT o4. I try to have it code a VHDL module for Ethernet encapsulation based on it reading the SDA specification. As I point out some of the failings it tries to correct the code but also introduces more errors.
Thirty-year coding veteran vs AI
A thirty-year coding veteran experiments with ChatGPT (GPT-3 and GPT-4) to help implement a VHDL RGMII-to-GMII converter and a 4x oversampling scheme. The post recounts iterative Q&A with the model, shows example VHDL snippets GPT produced, and highlights concrete mistakes the AI made — most notably failing to implement DDR semantics correctly, providing a broken majority-vote function, and overlooking timing/clock-domain nuances. The author concludes that AI can produce useful scaffolding and debugging clues but repeatedly requires careful inspection, simulation, and domain knowledge to correct subtle protocol and timing errors before trusting generated hardware code for real designs.
3 Tips for using ChatGPT for Embedded Software
The post presents three practical tips for using ChatGPT to accelerate embedded software development. It demonstrates how the model can gather background information and suggest API designs, illustrated by an LED class API example, and how it can produce baseline C++ code including an abstract LED class and an STM32 HAL-derived implementation. The author emphasizes that generated code is often a helpful starting point—roughly 80% useful—but requires style adjustments, parameter qualifications, and integration work. The post also warns that ChatGPT can be inconsistent and occasionally incorrect, so developers must validate, test, and refine prompts to get reliable results. The conclusion positions ChatGPT as a productivity aid rather than a replacement for engineering judgment.
3 Tips for using ChatGPT for Embedded Software
The post presents three practical tips for using ChatGPT to accelerate embedded software development. It demonstrates how the model can gather background information and suggest API designs, illustrated by an LED class API example, and how it can produce baseline C++ code including an abstract LED class and an STM32 HAL-derived implementation. The author emphasizes that generated code is often a helpful starting point—roughly 80% useful—but requires style adjustments, parameter qualifications, and integration work. The post also warns that ChatGPT can be inconsistent and occasionally incorrect, so developers must validate, test, and refine prompts to get reliable results. The conclusion positions ChatGPT as a productivity aid rather than a replacement for engineering judgment.
Thirty-year coding veteran vs AI
A thirty-year coding veteran experiments with ChatGPT (GPT-3 and GPT-4) to help implement a VHDL RGMII-to-GMII converter and a 4x oversampling scheme. The post recounts iterative Q&A with the model, shows example VHDL snippets GPT produced, and highlights concrete mistakes the AI made — most notably failing to implement DDR semantics correctly, providing a broken majority-vote function, and overlooking timing/clock-domain nuances. The author concludes that AI can produce useful scaffolding and debugging clues but repeatedly requires careful inspection, simulation, and domain knowledge to correct subtle protocol and timing errors before trusting generated hardware code for real designs.
SDA Ethernet encapsulation with chatGPT o1 (part 2)
This is a continuation of the first post on SDA Ethernet encapsulation. In this post we explore reducing the complexity of the module produced and using chatGPT o1 with reasoning. Results are better but are still lacking. The modules still need correction and analysis at a system level for the module.
SDA Ethernet encapsulation with ChatGPT o4
In this post I explore some of the coding shortcomings of ChatGPT o4. I try to have it code a VHDL module for Ethernet encapsulation based on it reading the SDA specification. As I point out some of the failings it tries to correct the code but also introduces more errors.
3 Tips for using ChatGPT for Embedded Software
The post presents three practical tips for using ChatGPT to accelerate embedded software development. It demonstrates how the model can gather background information and suggest API designs, illustrated by an LED class API example, and how it can produce baseline C++ code including an abstract LED class and an STM32 HAL-derived implementation. The author emphasizes that generated code is often a helpful starting point—roughly 80% useful—but requires style adjustments, parameter qualifications, and integration work. The post also warns that ChatGPT can be inconsistent and occasionally incorrect, so developers must validate, test, and refine prompts to get reliable results. The conclusion positions ChatGPT as a productivity aid rather than a replacement for engineering judgment.
Thirty-year coding veteran vs AI
A thirty-year coding veteran experiments with ChatGPT (GPT-3 and GPT-4) to help implement a VHDL RGMII-to-GMII converter and a 4x oversampling scheme. The post recounts iterative Q&A with the model, shows example VHDL snippets GPT produced, and highlights concrete mistakes the AI made — most notably failing to implement DDR semantics correctly, providing a broken majority-vote function, and overlooking timing/clock-domain nuances. The author concludes that AI can produce useful scaffolding and debugging clues but repeatedly requires careful inspection, simulation, and domain knowledge to correct subtle protocol and timing errors before trusting generated hardware code for real designs.
SDA Ethernet encapsulation with chatGPT o1 (part 2)
This is a continuation of the first post on SDA Ethernet encapsulation. In this post we explore reducing the complexity of the module produced and using chatGPT o1 with reasoning. Results are better but are still lacking. The modules still need correction and analysis at a system level for the module.
SDA Ethernet encapsulation with ChatGPT o4
In this post I explore some of the coding shortcomings of ChatGPT o4. I try to have it code a VHDL module for Ethernet encapsulation based on it reading the SDA specification. As I point out some of the failings it tries to correct the code but also introduces more errors.





