Skip to content

Fix floating-point exception in DRAM config files#23

Open
geraldofojunior wants to merge 16 commits intoHewlettPackard:masterfrom
geraldofojunior:pr-21
Open

Fix floating-point exception in DRAM config files#23
geraldofojunior wants to merge 16 commits intoHewlettPackard:masterfrom
geraldofojunior:pr-21

Conversation

@geraldofojunior
Copy link
Copy Markdown

Summary

  • Adds missing external IO parameter sections to DRAM config files (2DDRAM_Samsung2GbDDR2.cfg, 2DDRAM_micron1Gb.cfg, 3DDRAM_Samsung3D8Gb_extened.cfg, dram.cfg) that caused a SIGFPE (division by zero) in IOTechParam constructor due to uninitialized fields like mem_data_width and num_clk
  • Includes prior work: bug fixes to tech param parsing, IO metrics output, formatting fixes, and build system updates

Test plan

  • Run ./cacti -infile 2DDRAM_Samsung2GbDDR2.cfg and verify no floating-point exception
  • Run ./cacti -infile 2DDRAM_micron1Gb.cfg and verify no crash
  • Run ./cacti -infile 3DDRAM_Samsung3D8Gb_extened.cfg and verify no crash
  • Run ./cacti -infile dram.cfg and verify no crash
  • Run ./cacti -infile cache.cfg to verify no regression

Fixes #10

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Floating-point exception

4 participants