Re: [myhdl-list] ExtractHierarchyError
Brought to you by:
jandecaluwe
From: Wesley N. <we...@sk...> - 2012-07-03 12:30:28
|
Yes, Chris and Jan are right. If you have the wrong amount of objects being returned you get an error saying as as much. I was returning the correct amount of objects, but one was a Signal and not a Method. Thanks Wes On Tue, Jul 3, 2012 at 1:30 PM, Jan Decaluwe <ja...@ja...> wrote: > On 06/30/2012 10:50 PM, Wesley New wrote: > > I am getting this error when running the toVerilog method: > > > > raise ExtractHierarchyError(_error.InconsistentToplevel % > (top_inst.level, name)) > > myhdl.ExtractHierarchyError: Inconsistent top level 2 for toplevel - > should be 1 > > > > Can anyone shed some more light on this error. > > Something strange with the hierarchy definition, as > Chris F points out you should check whether all > modules return generators/instances correctly. > > -- > Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com > Python as a HDL: http://www.myhdl.org > VHDL development, the modern way: http://www.sigasi.com > World-class digital design: http://www.easics.com > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > |