SystemRDL / PeakRDL-uvm

Generate UVM register model from compiled SystemRDL input
GNU General Public License v3.0
49 stars 26 forks source link

add user_template_dir to config #25

Closed Dragon-Git closed 1 year ago

Dragon-Git commented 1 year ago

implement #24

amykyta3 commented 1 year ago

Beware that I plan to refactor the UVM exporter significantly. This includes significantly reducing the use of Jinja which means this change will be superseded relatively soon.

amykyta3 commented 1 year ago

Please be sure to test this change first. As it is implemented currently, it will result in a Python exception if loaded by the PeakRDL tool.

Dragon-Git commented 1 year ago

Please be sure to test this change first. As it is implemented currently, it will result in a Python exception if loaded by the PeakRDL tool.

Sorry, I should have marked it as a draft before completing the pull request.

Beware that I plan to refactor the UVM exporter significantly. This includes significantly reducing the use of Jinja which means this change will be superseded relatively soon.

In our existing workflow, we rely on our proprietary templates and context. Consequently, prior to the 3.0 release, we seek a user-friendly method to seamlessly integrate our customized templates. Your comprehension is greatly appreciated.

amykyta3 commented 1 year ago

Thanks for fixing! And yes, although in v3.0 I will be reducing the use of Jinja templates, I still plan to make it very extensible for the exact reason you mentioned (see https://github.com/SystemRDL/PeakRDL-uvm/issues/17)