gasparka / pyha

Describe, simulate and debug hardware in Python
Other
9 stars 1 forks source link

Conversion: accessing 'left' and 'right' of Sfix object in VHDL #215

Open gasparka opened 6 years ago

gasparka commented 6 years ago

In Python one can just write x.right, but in VHDL x'right is correct. Needs to be solved via RedBaron convertor..

Current workaround is to use left_index() and right_index() functions, that also exsist in VHDL.

gasparka commented 6 years ago

Needs to be fixed because this is confusing AF. Just spent 5 minutes myself figuring why conversion fails...