BU-Tools / uHAL_AXI_regmap

Tools for building AXI slave VHDL from uHAL address tables.
Apache License 2.0
4 stars 4 forks source link

Gldl/yml2hdl v0.3 #24

Open taquionbcn opened 2 years ago

taquionbcn commented 2 years ago

Hi @andrewpeck @dgastler ,

In this branch are the changes I made on the regmap python scripts to make it compatible with yml2hdl v0.3.5 + gldl_patches.
It works on the l0mdt project, I maintained back-compatibility with old versions of yml2hdl and compatibility with non yml2hdl projects.

The last element I can only say because the vhdl generated makes sense, but I don't have a project for test.

I'm open to chat if you have any question.

cheers, Guillermo

andrewpeck commented 2 years ago

Hi @taquionbcn

Sorry I was away on vacation

Could you update this branch with the latest changes from devel with either a merge or rebase?

Github is allowing a merge right now since merge commits are allowed but your branch is several commits behind.

I added some CI stage to the software recently but it is not in your branch yet

After merging in the develop changes you will need to re-run the test xmls

cd tester && make

Then please review and commit the updated generated files

Thanks!

andrewpeck commented 2 years ago
use work.{{baseName}}_Ctrl.all;
use work.{{baseName}}_Ctrl_pkg.all;

Is this change correct?

I don't think the generated packages are named _Ctrl_pkg, just _Ctrl

package MEM_TEST_CTRL is
andrewpeck commented 2 years ago

Closes #19