I was playing with this old design the other day and decided to "clean it up" a little bit (it was kinda messy). I moved some logic to their own modules for better readability. I also grouped some signals into VHDL records (don't know what its called, but if you ever browsed the LEON code, you know what i mean).
I didn't change the functionality of the design (I did ran a large number of tests to be sure, of course). Furthermore, the changes were very isolated (only two files affected in a relatively large design)
I was kind of surprised to see that after synthesis and PAR, I got a design that was:
- 10% slower
- marginally larger (few hundred LUTs)
(yes, with same tool, same speed grade and so on)
Has anyone seen this kind of behaviour before? Would this go away if I somehow "flattened" my design?
bruns