Skip to content

Introduce copy/ignore tmrg pragmas

Andrea Paterno requested to merge as_is into master

Description of the changes

Introducing support for tmrg copy directive. tmrg copies the contents between //tmrg copy start and //tmrg copy stop into the output file directly. Moving into this direction, an alias for the //tmrg translate off and //tmrg translate on directives is introduced: //tmrg ignore start and //tmrg ignore stop.

This allows for some flexibility in the contents of the files: verilog/systemverilog statements which are not supported by TMRG (e.g. specify blocks) can be copied directly to the output files. It should be noted that this also supports illegal systemverilog syntax.

This MR also fixes a small formatter issue: it's missing the formatting routine for the forever statement.

Close #136 (closed) #132

Check-list

  • Make sure that a changelog entry is present
  • Label the MR according to the content
  • If this MR has a dependency on another MR, specify the order in which the MRs should be merged
  • If the MR is done, please mark it as such by using the ~"Done - awaits merge" label, else mark it as "Draft: " by adding the prefix to the title
  • Designate a reviewer for this MR once done
  • Update the supported features and limitations here

Reviewer check-list

  • Make sure that the title describes the changes in the merge request
  • Make sure that the description of the changes is relevant and it describes all the changes
  • Make sure that the changelog entry is consistent with the changes. If the first release on top was released, then make sure that a new running release is created incrementing the minor index (the version is in the format major.minor.patch)
Edited by Andrea Paterno

Merge request reports