Hello What does the cxx_class variable specify in the Python class? For example - class BranchPredictor(SimObject): type = 'BranchPredictor' *cxx_class = 'BPredUnit'* cxx_header = "cpu/pred/bpred_unit.hh"
When I use the same name for this variable that I gave to my C++ class it give me an error! Here is what I have - A Python class by name ValuePredictor A C++ class by name VPred Python class file being - class ValuePredictor(SimObject): type = 'ValuePredictor' cxx_class = "VPred" cxx_header = "cpu/pred/valuepred.hh" The return object for my create() function is a pointer to the ValuePredictor class, which is throwing an error saying the "ValuePredictor does not name a type". Please let me know what I am missing - Thanks Pawan B Joshi Electrical and Computer Engineering The University of Texas-Austin
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users