Re: [myhdl-list] What techniques can I use to avoid repeating myself in myhdl code?
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2013-05-15 20:39:16
|
On 5/15/2013 3:08 PM, Keerthan jai.c wrote: >> This is a typical difficulty: with limited RTL experience it >> is often difficult to make the distinction between limitations >> imposed by synthesis, and MyHDL itself. > > This is true, I ended up doing proof of concept work in verilog and > migrated to myhdl to use python for algorithmic data generation. MyHDL > certainly facilitates fine grained control for distributing data across > memories. > > >> I'm sure people will be interested in reviewing your code and >> giving feedback. > It is a funded project, so I will have to look into the terms. I will try > to share the code with the community ASAP! > >> But there's the point already. Those arbitrary data structures are >> not there as such in Verilog/VHDL. So there is the nontrivial difficulty >> on how to map them into those target languages, and how generic >> this should be. > It is implied that references to these data structures should point to > MyHDL primitives. > For example, MemorySubsystem['a'].tag_memory[2].dout, which is a MyHDL > Signal object. (Overly complex example to show the possibilities). I will > search the mailing list and codify my ideas sometime next month. > Here are some links and short description: This was the first proposal to the mailing-list: http://thread.gmane.org/gmane.comp.python.myhdl/2191/focus=2515 The MEP was first posted to the mailingl=list some discussion and then was created on the wiki. Here is Jan's first assessment of the MEP after the first wiki write-up (I think that is the correct order of things). http://thread.gmane.org/gmane.comp.python.myhdl/2659 Second assessment after some changes and conversations: http://thread.gmane.org/gmane.comp.python.myhdl/2690 A follow-up by me based on what is currently supported: http://thread.gmane.org/gmane.comp.python.myhdl/2698 An inquiry about MEP-107 status: http://thread.gmane.org/gmane.comp.python.myhdl/2794/focus=2797 A recap http://permalink.gmane.org/gmane.comp.python.myhdl/2959 I think that is most of them, Chris Felton |