In a module named “extend”, do the following: create the 8-bit output named signext, which is the sign-extended version
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
In a module named “extend”, do the following: create the 8-bit output named signext, which is the sign-extended version
In a module named “extend”, do the following: create the8-bit output named signext, which is the sign-extended version ofa[2:0] (the module’s input). Also create the 8-bit outputnamed zeroext, which is the zero-extended version of a[2:0]. UseSystem Verilog.