Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module alu #(
- parameter p_data_width = 5, // 5 for FPGA testing, 16 for Simulation and inside the CPU
- parameter p_flags_width = 5
- )(
- output wire [(p_data_width-1):0] o_w_out,
- output wire [(p_flags_width-1):0] o_w_flags,
- input wire [(p_data_width-1):0] i_w_op1,
- input wire [(p_data_width-1):0] i_w_op2,
- input wire [3:0] i_w_opcode,
- input wire i_w_carry,
- input wire i_w_oe
- );
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement