In Verilog HDL, what is the output for the following logical operations: i) 1 x ii) 0 & x iii) 0 | X iv) 1 & x v) 1 &z v
Posted: Sun May 15, 2022 8:37 pm
In Verilog HDL, what is the output for the following logical operations: i) 1 x ii) 0 & x iii) 0 | X iv) 1 & x v) 1 &z vi) z & x vii) 0^2 viii) 2 x ix) 1^z x) z^x Assume that x and z as undefined and high impedance states respectively. Design a 8 bit ALU of a microprocessor using Verilog HDL that can calculate the following parameters: subtraction, borrow flag, sign flag, zero flag, parity flag and overflow flag. Define the following memories in Verilog HDL: i) 4Kb ii) 8KB