[core] code format
This commit is contained in:
parent
7cea95b209
commit
6369787a50
|
@ -686,7 +686,8 @@ static void annotate_direct_circuit_models(
|
||||||
VprDeviceAnnotation& vpr_device_annotation, const bool& verbose_output) {
|
VprDeviceAnnotation& vpr_device_annotation, const bool& verbose_output) {
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
|
|
||||||
for (size_t idirect = 0; idirect < vpr_device_ctx.arch->directs.size(); ++idirect) {
|
for (size_t idirect = 0; idirect < vpr_device_ctx.arch->directs.size();
|
||||||
|
++idirect) {
|
||||||
std::string direct_name = vpr_device_ctx.arch->directs[idirect].name;
|
std::string direct_name = vpr_device_ctx.arch->directs[idirect].name;
|
||||||
/* The name-to-circuit mapping is stored in either cb_switch-to-circuit or
|
/* The name-to-circuit mapping is stored in either cb_switch-to-circuit or
|
||||||
* sb_switch-to-circuit, Try to find one and update the device annotation
|
* sb_switch-to-circuit, Try to find one and update the device annotation
|
||||||
|
|
|
@ -794,7 +794,8 @@ TileDirect build_device_tile_direct(const DeviceContext& device_ctx,
|
||||||
TileDirect tile_direct;
|
TileDirect tile_direct;
|
||||||
|
|
||||||
/* Walk through each direct definition in the VPR arch */
|
/* Walk through each direct definition in the VPR arch */
|
||||||
for (size_t idirect = 0; idirect < device_ctx.arch->directs.size(); ++idirect) {
|
for (size_t idirect = 0; idirect < device_ctx.arch->directs.size();
|
||||||
|
++idirect) {
|
||||||
ArchDirectId arch_direct_id =
|
ArchDirectId arch_direct_id =
|
||||||
arch_direct.direct(std::string(device_ctx.arch->directs[idirect].name));
|
arch_direct.direct(std::string(device_ctx.arch->directs[idirect].name));
|
||||||
if (ArchDirectId::INVALID() == arch_direct_id) {
|
if (ArchDirectId::INVALID() == arch_direct_id) {
|
||||||
|
|
Loading…
Reference in New Issue