[core] enable clock arch link

This commit is contained in:
tangxifan 2023-02-22 22:29:16 -08:00
parent e1dab3d227
commit b78ca69fe5
1 changed files with 2 additions and 0 deletions

View File

@ -234,6 +234,8 @@ int read_openfpga_clock_arch_template(T& openfpga_context, const Command& cmd,
VTR_LOG("Reading XML clock architecture '%s'...\n", arch_file_name.c_str()); VTR_LOG("Reading XML clock architecture '%s'...\n", arch_file_name.c_str());
openfpga_context.mutable_clock_arch() = openfpga_context.mutable_clock_arch() =
read_xml_clock_network(arch_file_name.c_str()); read_xml_clock_network(arch_file_name.c_str());
/* Build internal links */
openfpga_context.mutable_clock_arch().link();
/* TODO: should identify the error code from internal function execution */ /* TODO: should identify the error code from internal function execution */
return CMD_EXEC_SUCCESS; return CMD_EXEC_SUCCESS;