add debugging information for tile direct builder

This commit is contained in:
tangxifan 2020-03-20 14:59:46 -06:00
parent 9837be618d
commit a46fc9f028
2 changed files with 8 additions and 1 deletions

View File

@ -656,7 +656,11 @@ TileDirect build_device_tile_direct(const DeviceContext& device_ctx,
/* Walk through each direct definition in the VPR arch */
for (int idirect = 0; idirect < device_ctx.arch->num_directs; ++idirect) {
ArchDirectId arch_direct_id = arch_direct.direct(std::string(device_ctx.arch->Directs[idirect].name));
VTR_ASSERT(ArchDirectId::INVALID() != arch_direct_id);
if (ArchDirectId::INVALID() == arch_direct_id) {
VTR_LOG_ERROR("Unable to find an annotation in openfpga architecture XML for <direct> '%s'!\n",
device_ctx.arch->Directs[idirect].name);
exit(1);
}
/* Build from original VPR arch definition */
build_inner_column_row_tile_direct(tile_direct,
device_ctx.arch->Directs[idirect],

View File

@ -209,6 +209,9 @@
<routing_segment>
<segment name="L4" circuit_model_name="chan_segment"/>
</routing_segment>
<direct_connection>
<direct name="adder" circuit_model_name="direct_interc" type="column" x_dir="positive" y_dir="positive"/>
</direct_connection>
<pb_type_annotations>
<!-- physical pb_type binding in complex block IO -->
<pb_type name="io" physical_mode_name="physical" idle_mode_name="inpad"/>