| 469 | } |
| 470 | |
| 471 | void MostConfigAdapter::CreateSbcChannel(IChannel& parent_channel, |
| 472 | uint32_t byte_offset) const { |
| 473 | std::ostringstream name; |
| 474 | name << parent_channel.Name() << ".SBC"; |
| 475 | |
| 476 | if (IChannel* sbc = CreateBitsChannel(parent_channel, name.str(), |
| 477 | byte_offset, 0, 16); |
| 478 | sbc != nullptr) { |
| 479 | sbc->Flags(CnFlag::BusEvent); |
| 480 | sbc->Unit("B"); |
| 481 | |
| 482 | CnComment cn_comment("Synchronous Bandwidth Control. Width for synchronous area"); |
| 483 | sbc->SetCnComment(cn_comment); |
| 484 | } |
| 485 | } |
| 486 | |
| 487 | void MostConfigAdapter::CreateDeviceCountChannel(IChannel& parent_channel, |
| 488 | uint32_t byte_offset) const { |
nothing calls this directly
no test coverage detected