Closed caryan closed 9 years ago
This is far more complicated than it needs to be. Simpler fix pushed.
That's certainly cleaner for the ceil
and log2
. Could we keep the
from __future__ import print_function
I know it's ugly but we're stuck on python2 for other silly reasons.
Ah, I forgot about the prints to stderr. I will fix that momentarily.
Are you using the MyHDL testbenches at all? I tried to get these to support Python 2 as well as Python 3, but ran in to some strange issues. So right now they only support Python 3.
Thanks for all your quick fixes. I'm actually instantiating these in VHDL design but I'll have a look at the testbenches.