Nic30 / hwt

VHDL/Verilog/SystemC code generator, simulator API written in python/c++
MIT License
200 stars 27 forks source link

Update signalOps.py #44

Closed jesseclin closed 6 months ago

jesseclin commented 6 months ago

It seems that self.sig.__rshift_\(other) should be returned in function __lshift__, not self.sig.__rshift_\(other), isn't it?

Nic30 commented 6 months ago

Yes, somehow the right shift operator was always used on RtlSignal instance and not on Signal instance.