| 10 | using namespace xsched::protocol; |
| 11 | |
| 12 | VpiQueue::VpiQueue(VPIStream stream): kStream(stream) |
| 13 | { |
| 14 | // TODO: distinguish device type and id |
| 15 | device_ = MakeDevice(kDeviceTypeASIC, XDeviceId(0)); |
| 16 | // make sure no tasks are running on the stream |
| 17 | VPI_ASSERT(Driver::StreamSync(kStream)); |
| 18 | } |
| 19 | |
| 20 | void VpiQueue::Launch(std::shared_ptr<preempt::HwCommand> hw_cmd) |
| 21 | { |
nothing calls this directly
no test coverage detected