Re: [myhdl-list] Dual port ram, mixed width byte enables.
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2016-04-19 14:48:17
|
Josy, I am not 100% sure that it is limited to only multidim, I haven't researched this but I thought you could build mix port by using a model of the BRAM prims (1bit width) and build them from the simple model. More of an elaboration / generate approach. If that doesn't work than the user code [1] would be the quickest alternative (as we both stated). I think the Array will take some discussion etc. before it worked in to the base. It is a fairly important feature and I am sure there will be significant feedback from the core devs. It needs a clean MEP etc. for discussion and review. I don't think it is something that can be used in the near-term. Regards, Chris [1] http://docs.myhdl.org/en/stable/manual/conversion.html#user-defined-code On Tue, Apr 19, 2016 at 9:35 AM, Josy Boelen <jos...@gm...> wrote: > Christopher Felton <chris.felton <at> gmail.com> writes: > > > > > > > > > On Tue, Apr 19, 2016 at 7:32 AM, Samuele Disegna <smldis <at> > gmail.com> wrote:Yes! There is a multidimensional array that enables > indexing of the smaller port (or the ability to have byte enables). > > > > Yes that will be a problem :( > > > > There are a couple options: first, try and rework the example without > the multidimension array. Second, you could use the user defined code > and wrap the template. That would probably be the fastest and you would > be able to still model the same logic in myhdl just not convert the > multidim array. > > > > Chris, Samuele, > > It needs to be a proper multidim VHDL array to have Quartus infer an > 'altsyncram'. You can try using one single-dimension array per byte- > enable, but then you will end up with multiple 'altsyncram'. > So there is only the second option left; write a model in MyHDL for the > testbench and include 'user defined code' for conversion. > It will be possible using the future/proposed 'myhdl.Array' type.(I have > that working in my local branch, but with the new '@block' decorator > making a proper PR is a lot more work. And I have indulged in a few more > 'enhancements'. Maybe I should start sharing those first) > > Regards, > > Josy > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > |