When using a tristate-driver as 'local variable' in a device and having a reset function, the init value will be None - that's right so far. But when converting this to verilog (maybe vhdl too) the output will be None, which is wrong, it should be 'bz. This should fix it at least for verilog. I think the same thing has to be done for vhdl as well.
When using a tristate-driver as 'local variable' in a device and having a reset function, the init value will be None - that's right so far. But when converting this to verilog (maybe vhdl too) the output will be None, which is wrong, it should be 'bz.
This should fix it at least for verilog. I think the same thing has to be done for vhdl as well.

--HG--
branch : punkkeks/when-using-a-tristatedriver-as-local-var-1390504597923

myhdl/myhdl,myhdl/myhdl,jandecaluwe/myhdl,cfelton/myhdl,jandecaluwe/myhdl,myhdl/myhdl,hgomersall/myhdl,j-marjanovic/myhdl,juhasch/myhdl,palashahuja/myhdl,gw0/myhdl,jmgc/myhdl-numeric,josyb/myhdl,jmgc/myhdl-numeric,jmgc/myhdl-numeric,cfelton/myhdl,josyb/myhdl,jandecaluwe/myhdl,cfelton/myhdl,hgomersall/myhdl,jck/myhdl,gw0/myhdl,josyb/myhdl,j-marjanovic/myhdl,palashahuja/myhdl,palashahuja/myhdl,j-marjanovic/myhdl,juhasch/myhdl,jck/myhdl,palashahuja/myhdl,gw0/myhdl,jck/myhdl,juhasch/myhdl,hgomersall/myhdl