Re: [myhdl-list] Interfaces in hierarchcal way
Brought to you by:
jandecaluwe
From: Keerthan JC <jck...@gm...> - 2015-07-06 17:52:21
|
This is a known limitation: https://github.com/jandecaluwe/myhdl/blob/master/myhdl/conversion/_analyze.py#L1255 I will add that to the docs. I'm currently working on a major restructuring of the conversion code. This will most likely be fixed in the next major release (0.10/1.0) On Mon, Jul 6, 2015 at 10:31 AM, Christopher Felton <chr...@gm...> wrote: > <snip> > > > > Hi Chris, > > > > I was looking at the interface of the verilog modules, not at the body. > > For axi4s_reg the generated verilog gives: > > -- > > module axi4s_reg ( > > clk, > > rst, > > ai_valid, > > ai_data, > > ai_accept, > > ao_valid, > > ao_data, > > ao_accept > > ); > > -- > > For axi4_lite_reg the verilog start with: > > -- > > module axi4_lite_reg ( > > clk, > > rst > > ); > > -- > > So all other ports (defined in a hierarchical interface) are gone... I > was > > expecting something like: > > -- > > module axi4_lite_reg ( > > clk, > > rst, > > aw_ai_valid, > > aw_ai_data, > > aw_ai_accept, > > aw_ao_valid, > > aw_ao_data, > > aw_ao_accept, > > ... > > w_ai_valid, > > w_ai_data, > > w_ai_accept, > > ... > > ); > > -- > > > > Or am I missing something? I expect all signals are used... > > > > Sorry for the confusion, yes the ports should exist. > > Not sure what happened here? I looks likes, as you > suspected, with the hierarchical interfaces there > is a top-level port conversion bug. > > Regards, > Chris > > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > -- have a nice day -jck |