-
Notifications
You must be signed in to change notification settings - Fork 140
Add unit tests for bypass module #716
Comments
Do I have to test |
Disclaimer: you have 10 points already in this term. Any additional work will not affect your final result. |
|
Ok. How do I add new unit_test to the project? |
Add the name of the file to that list: mipt-mips/simulator/CMakeLists.txt Lines 59 to 82 in 5fb85fc
|
I’ve spent a lot of time figuring out what FuncInstr in DataBypass template stands for and I still couldn’t find the answer. The question is how to create an object of this class so it’ll have correct FuncInstr? All my attempts of filling this field led me to the conflict with missing methods. |
You may use RISC-V instruction DataBypass<RISCVInstr<uint64>> bypass; or create a dummy instruction struct DummyInstr
{
// necessary methods and type definitions
};
DataBypass<DummyInstr> bypass; |
Unfortunately, I'm not able to finish this issue until this night due to studies. My apologies. |
Thank you for notification. |
Please follow:
The idea is to model pipeline in a small scale:
The text was updated successfully, but these errors were encountered: