Re: [myhdl-list] Can classes be used to synthesize hardware?
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2006-09-25 20:21:52
|
George Pantazopoulos wrote: > Hey all, > Can classes be used to create synthesizable Verilog? I've tried but was > unsuccessful (mostly getting cryptic "AssertionError" exceptions). I'm > really confused as to how this is supposed to work. I don't know. I haven't even started to think about if and how classes could be useful for "implementation-oriented" modeling. Definitely the convertor now implicitly assumes that one is using generator functions, not methods. Methods would require handling the "self" reference and its attributes and mapping them to Verilog somehow - a completely different mechanism than what the convertor can do today. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |