Blue Swirl wrote: > Hi, > > With the automatic dependency rule installed, modifying vl.h causes > all files to be recompiled. This is of course the correct action, but > it's a major slowdown for development too. > > How should we split vl.h into smaller pieces? Give each device a > header file, like m48t59?
Functions which are only called from below /hw should go in /hw/<device>.h, other device stuff should probably go in a separate toplevel header, maybe hw.h. That way we get something which could evolve in the interface of a hw-library in future. > What about other stuff exported from vl.c? I think the best answer is to cut vl.c in logical chunks before starting to split vl.h further. Thiemo