[myhdl-list] It should be possible to use a @process decorator wherever you can use @always
Brought to you by:
jandecaluwe
From: Angel E. <ang...@gm...> - 2011-06-01 20:41:52
|
It would be nice if myhdl defined @process as an alias for @always. While it is a very minor thing, using @always feels somewhat alien when you come to myhdl from VHDL. In addition I feel that the word "process" is more descriptive than "always" in this context, and matches better its use in MyHDL. Also, because always and always_comb match the corresponding Verilog keywords, it gives the impression that MyHDL is Verilog centric while I don't think that is the case. Thus providing a way to make your code look more VHDL like would be nice. To be clear I am not asking for @always to be _changed_ into @process. I simply would like the myhdl package to define "process = always" so that both can be used. For similar reasons, I also think that @always_comb should have a more VHDL-like alias, perhaps @process_comb or @combinational_process. I know that I can just define these aliases on my own code, but it is a bit annoying to have to do that on every myhdl file you write. Cheers, Angel |