Skip to content

Changes to enable custom ODIN configuration to vtr_flow experiments #1569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

georgkrylov
Copy link
Contributor

Description

This set of changes is designed to allow running full synthesis with custom .xml configuration supplied to ODIN as part of run_vtr_flow procedure. ODIN can now read command line parameters and mix them with configuration file. Also involves a couple of fixes to run_vtr_task and run_vtr_flow.

Related Issue

The discussion was held here

Motivation and Context

The change allows to configure experiments and enable custom ODIN arguments, since currently run_vtr_flow redirects extra command line arguments are redirected to VPR, so there is limited ability to modify ODIN parameters without editing run_vtr_flow.py

How Has This Been Tested?

There is a regression test and default results supplied within ODIN

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

This set of changes modifies ODIN allowing reading the simulation 
parameters from config files while reading list of files from command 
line arguments.

Signed-off-by: Georgiy Krylov <[email protected]>
This set of changes introduces regression tests to test the
configuration files from .xml files while reading the list of files and 
architecture from command line arguments.

Signed-off-by: Georgiy Krylov <[email protected]>
This set of changes introduces the default results for regression tests
to test the configuration files from .xml files while reading the list
of files and architecture from command line arguments.

Signed-off-by: Georgiy Krylov <[email protected]>
@georgkrylov georgkrylov changed the title Infra changes for mixing Changes to enable custom ODIN configuration to vtr_flow experiments Oct 9, 2020

Tells VTR flow to use a custom ODIN II configuration value. The default
behavior is to use the vtr_flow/misc/basic_odin_config_split.xml.
Instead, an alternative config file might be supplied, compare the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit, should be:
"supplied; compare the" (semicolon needed)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vaughnbetz for the review. I have updated the code with the changes you suggested. Any other change you'd like me to implement or is the PR good to go?

@vaughnbetz
Copy link
Contributor

Looks good to me. One minor nit on the online documentation (grammatical fix).

This set of changes introduces ability to modify the VTR flow through
providing a custom default script. Also, fixes the problem of disable
xml option crashing in odin.py and a problem with run_vtr_task.py
followed by the name of the script. Changes to Python scripts.

Signed-off-by: Georgiy Krylov <[email protected]>
@georgkrylov georgkrylov force-pushed the infra_changes_for_mixing branch from 6161827 to 703907b Compare November 9, 2020 15:21
@github-actions github-actions bot added the Odin Odin II Logic Synthesis Tool: Unsorted item label Nov 9, 2020
@vaughnbetz
Copy link
Contributor

Kokoro seems stuck; restarting it.

@vaughnbetz vaughnbetz merged commit 0b7e606 into verilog-to-routing:master Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Odin Odin II Logic Synthesis Tool: Unsorted item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants