ucb-bar / chisel2-deprecated

chisel.eecs.berkeley.edu
387 stars 89 forks source link

Inconsistent member names in C++ emulator #706

Open kenmcmil opened 8 years ago

kenmcmil commented 8 years ago

It would be useful to have an option not to prepend the module name to the names of class members in the C++ emulator. I'm trying to test several modules with a common C++ test bench. Because the C++ member names are inconsistent between modules, I am filtering my test bench code through sed to change all the member names, which, needless to say, is a bit awkward. It seems reasonable that modules with the same chisel interface should present the same C++ interface in the emulator.

Thanks for any help!