On Thu, 21 Jul 2011, nathan binkert wrote:
While a "set of classes for each protocol" may sounds like a perfect use of namespaces namespaces, the "incomplete" class issue makes it fall down. This is because there is a lot of common code that needs to be duplicated across the protocols (because the common code needs to call into the protocol specific code) and there's no clean way to do that with namespaces.
What about all the declarations that appear in src/mem/protocol/RubySlicc_Exports.sm? Those are really common to all the protocols and should be generated only once. Are you suggesting that these be duplicated as well?
-- Nilay _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
