On Wed, May 22, 2019 at 4:32 AM Yanghao Hua <[email protected]> wrote:
> I have experimented by adding two new python operators, left arrow: <-
> and right arrow ->, which users can define their behaviors. and it
> still looks like kind of the non-blocking assignment operators in
> hardware description languages (e.g. verilog <=). Also it could be
> used to build data flows like a -> b -> c -> d -> ...
I think the idea for using the left arrow is a non-starter, since it's
already valid Python syntax to write
x <- 3
today. ("-" being a unary operator and all).
That said, I would be really happy to have a clean way to write HDL in
Python, so good luck! Time to check out MyHDL...
Cody
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/