Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 << 或 >> 运算符实现逻辑移位很容易,但是算术右移(符号扩展)如何在 Chisel 中实现呢?
在 Chisel 备忘单中提到 >> 运算符用于算术右移,这与逻辑右移运算符相同。
如果类型是 SInt,我认为符号将被扩展。