vtr-verilog-to-routing icon indicating copy to clipboard operation
vtr-verilog-to-routing copied to clipboard

Update the vqm2blif parser in order to add support for Stratix 10 and Agliex vqm files

Open kimiatkh opened this issue 2 years ago • 0 comments

The vqm2blif parser grammar is defined based on the vqm files dumped for Stratix IV. The vqm files generated by the new version of Quartus Prime targeting Stratix 10 and Agilex have subtle differences compared to the older versions that causes them not to fit into the currently defined grammar. By making small modifications to the grammar, the parser can support both the old and new versions of the vqm file.

Proposed Behaviour

The parser should be able to parse both versions of the vqm files.

Current Behaviour

The vqm files dumped for Stratix 10 and Agliex are being marked as invalid by the parser.

Possible Solution

The flex and yacc files available in the libvqm directory define the grammar for the vqm file. By making small modifications to these two files the parser can support both versions of the vqm file.

Context

The vqm2blif tool is a part of the Titan flow. In order to add support for Stratix 10 and Agilex in the Titan flow, the vqm files generated by Quartus targeting these two devices have to successfully go through the vqm2blif tool.

kimiatkh avatar Dec 05 '21 02:12 kimiatkh