assign a=[5:3]SW; //Use SW5~SW3 as an operand.
The original intention is to treat SW2~SW0, SW5~SW3, SW7~SW6 of [7:0]SW as several operands respectively. I want to know if I can write like this if only the middle bits are operated.
Author: sonia touati Aug 05, 2020 1696
assign a=[5:3]SW; //Use SW5~SW3 as an operand.
The original intention is to treat SW2~SW0, SW5~SW3, SW7~SW6 of [7:0]SW as several operands respectively. I want to know if I can write like this if only the middle bits are operated.
Manufacturer:Xilinx
Product Categories: CPLD/FPGA
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: Connecteurs
Lifecycle:Unconfirmed -
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Active Active
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Support