@oe1cxw
Before I forget:
(8:21:30 AM) cr1901_modern: https://github.com/YosysHQ/nextpnr/blob/master/ecp5/arch.h#L32-L48 … ...
(8:21:39 AM) cr1901_modern: Idk whether I find this beautiful or horrifying :P
(8:21:59 AM) @fpga_dave: Blame claire :D
(8:22:47 AM) cr1901_modern: Will do...
Just... doing my part :).
-
-
The strict aliasing rules of C say that "you can't read/write a char buffer via arbitrary types" (only the reverse is allowed). But isn't that what "reinterpret_cast<const T *>" is doing? Maybe reinterpret_cast<const T *> allows this behavior? >>
-
Anyways, if the reinterpret_cast<const T *> isn't allowed by spec, Idk a legal way to do what you're doing. It clearly works tho :P.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.