Answered step by step
Verified Expert Solution
Question
1 Approved Answer
these codes in Verilog please write them in VHDL uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols
these codes in Verilog please write them in VHDL
uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil nsb alu vv nsb au_vv IP Filos , Opera operan ALU_ Result, ALU vInstalled IP Project Directory 3 input [3:0] Func Sel, Operand A, operand B 4 output [3:0] ALU_Result; No Selection Available P nsb_Blogicvv output ALU Cout: v Library nsb_alu_ nsb 4bitadder.v Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb-au-w nsb_au_v stage0 (Func Se112:0], operand A. Operand B, AU, AU_C): nsb Tu v stagel (Func SeTL2 nsb 4mux2tol_v stage (Func_Sel 3], AU, LU, ALU_Result) nsb_mux2tol_v stage (Func Sel 13], AU_C, LU_C, ALU Cout) Operand A. Operand B, LU, LU C nsb alu tb.v Processors and Peripherals 13 endmodule >University Prograrri Search far Partrier IP Tasks Compilation Task Compte Design Analysis & Synthesis > Fitter (Place & Route) Assembler (Generate Pragramming Timeuest Timing Analysis EDA Netist Wrlter > Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to search uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil risb alu v.v nso au IP Filos vInstalled IP ule nsb_au_v Func.S input [2:0] Func Sel input [3:0] Operand A, operand B; output [3:0] au_out; output carryout: Ope operan auout, carryout peran, Project Directory No Selection Available P nsb_Blogicvw v Library nsb alu Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb 4bitadder.v 8 nsb_Blogic v stage (Func Sel02], Func Sel[i], operand B, Y 9nsb 4bitadder stagel (Func_Sel [0] Operand A, Y. au_out, carryout) 10 11 endmodule nsb alu tb.v 12 Processors and Peripherals >University Prograrri Search far Partrier IP Tasks Compilation Task > Analysis & Synthesis Fitter (Place & Route) Assambler (Ganerato pragramming Timeuest Timing Analysis > EDA Netist Wrlter Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to search uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil risb alu v.v nsb au_vv IP Filos vInstalled IP u Func [2:11 Func Sel [3:0] Operand A, operand B; Ope operan uout, carryout; input input Project Directory N Selection Available P nsb_Blogicvw 4 output 3:0 u_out output carryouti v Library risb alu w.v Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb 4bitadder.v wire [3:01n,s,shr_a; assign shra 0l Operand_AL 10 assign shr a L1J-Operand ALZJi assign shr_a L21-operand-AL5 assign shr_a 131- Operand_ALS nsb alu tb.v Processors and Peripherals 12 13 >University Prograrri Search far Partrier IP 14assign carryout- Func Sell1] & Func_Se l [2] & Operand_ALO] 15 16 nsb-4mux 2tol-v stage0 Func-serij, -operand-A, Operand-A & Operand-B, n); 17 nsb4mux2tol_v stagel (runc_selt1], operand Aoperand_5, shr a. s) 18 nsb 4mux2tol v stage2 (FuncSel[2], n,s, lu_out); 19 20 21 endmodule Tasks Compilation Task Compte Design > > Analysis & Synthesis Fitter (Place & Route) Assambler (Ganerato pragramming Timeuest Timing Analysis EDA Netist Wrlter Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to search uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil nsb alu vv nsb au_vv IP Filos , Opera operan ALU_ Result, ALU vInstalled IP Project Directory 3 input [3:0] Func Sel, Operand A, operand B 4 output [3:0] ALU_Result; No Selection Available P nsb_Blogicvv output ALU Cout: v Library nsb_alu_ nsb 4bitadder.v Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb-au-w nsb_au_v stage0 (Func Se112:0], operand A. Operand B, AU, AU_C): nsb Tu v stagel (Func SeTL2 nsb 4mux2tol_v stage (Func_Sel 3], AU, LU, ALU_Result) nsb_mux2tol_v stage (Func Sel 13], AU_C, LU_C, ALU Cout) Operand A. Operand B, LU, LU C nsb alu tb.v Processors and Peripherals 13 endmodule >University Prograrri Search far Partrier IP Tasks Compilation Task Compte Design Analysis & Synthesis > Fitter (Place & Route) Assembler (Generate Pragramming Timeuest Timing Analysis EDA Netist Wrlter > Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to search uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil risb alu v.v nso au IP Filos vInstalled IP ule nsb_au_v Func.S input [2:0] Func Sel input [3:0] Operand A, operand B; output [3:0] au_out; output carryout: Ope operan auout, carryout peran, Project Directory No Selection Available P nsb_Blogicvw v Library nsb alu Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb 4bitadder.v 8 nsb_Blogic v stage (Func Sel02], Func Sel[i], operand B, Y 9nsb 4bitadder stagel (Func_Sel [0] Operand A, Y. au_out, carryout) 10 11 endmodule nsb alu tb.v 12 Processors and Peripherals >University Prograrri Search far Partrier IP Tasks Compilation Task > Analysis & Synthesis Fitter (Place & Route) Assambler (Ganerato pragramming Timeuest Timing Analysis > EDA Netist Wrlter Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to search uartus Prime lite Editcn /UsersyNaif Basu uhyDesktop/labesnsh lu v File Edit View Pro Assignments Processin Tols Widow Help altera.con Project Nangatar Fil risb alu v.v nsb au_vv IP Filos vInstalled IP u Func [2:11 Func Sel [3:0] Operand A, operand B; Ope operan uout, carryout; input input Project Directory N Selection Available P nsb_Blogicvw 4 output 3:0 u_out output carryouti v Library risb alu w.v Basic Functicns DSP > Interface Protocols >Memory Interfaces and Controllers nsb 4bitadder.v wire [3:01n,s,shr_a; assign shra 0l Operand_AL 10 assign shr a L1J-Operand ALZJi assign shr_a L21-operand-AL5 assign shr_a 131- Operand_ALS nsb alu tb.v Processors and Peripherals 12 13 >University Prograrri Search far Partrier IP 14assign carryout- Func Sell1] & Func_Se l [2] & Operand_ALO] 15 16 nsb-4mux 2tol-v stage0 Func-serij, -operand-A, Operand-A & Operand-B, n); 17 nsb4mux2tol_v stagel (runc_selt1], operand Aoperand_5, shr a. s) 18 nsb 4mux2tol v stage2 (FuncSel[2], n,s, lu_out); 19 20 21 endmodule Tasks Compilation Task Compte Design > > Analysis & Synthesis Fitter (Place & Route) Assambler (Ganerato pragramming Timeuest Timing Analysis EDA Netist Wrlter Edit Settings Progran Device lOpen Programmer) ": ":Filter>> Find..Find Next SystProcessing O Type here to searchStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started