connecting components in controller
commandbus changing state when scheduling commands added some tests
This commit is contained in:
@@ -23,14 +23,14 @@ namespace controller {
|
||||
class CommandBusTest: public Test
|
||||
{
|
||||
public:
|
||||
CommandBusTest() : config(), state(config.numberOfBanks), bus(config, state), clk(config.Timings.clk){}
|
||||
CommandBusTest() : config(), state(config.numberOfBanks), bus(config, state, checker), clk(config.Timings.clk){}
|
||||
|
||||
Configuration config;
|
||||
ControllerState state;
|
||||
CommandBus bus;
|
||||
|
||||
std::vector<ICommandChecker*> checker;
|
||||
sc_time clk;
|
||||
|
||||
};
|
||||
|
||||
TEST_F(CommandBusTest, cleanUpBusWorks)
|
||||
|
||||
Reference in New Issue
Block a user