bug fix in configuration chain sdc writer

This commit is contained in:
tangxifan 2020-05-12 22:49:41 -06:00
parent df9cf32b49
commit 99751b84f5
1 changed files with 4 additions and 4 deletions

View File

@ -101,16 +101,16 @@ void rec_print_pnr_sdc_constrain_configurable_chain(std::fstream& fp,
for (const BasicPort& input_port : module_manager.module_ports_by_type(parent_module, ModuleManager::MODULE_INPUT_PORT)) { for (const BasicPort& input_port : module_manager.module_ports_by_type(parent_module, ModuleManager::MODULE_INPUT_PORT)) {
print_pnr_sdc_constrain_max_delay(fp, print_pnr_sdc_constrain_max_delay(fp,
previous_module_path, previous_module_path,
generate_sdc_port(output_port), output_port.get_name(),
parent_module_path, parent_module_path,
generate_sdc_port(input_port), input_port.get_name(),
tmax); tmax);
print_pnr_sdc_constrain_min_delay(fp, print_pnr_sdc_constrain_min_delay(fp,
previous_module_path, previous_module_path,
generate_sdc_port(output_port), output_port.get_name(),
parent_module_path, parent_module_path,
generate_sdc_port(input_port), input_port.get_name(),
tmin); tmin);
} }