jinformations
Newbie level 4
Hello,
I have tried to do some research on my own and trying to implement this on Vivado for a class. My professor is horrible at teaching and I am a IT major and just trying to understand basic verilog but did not know it would be this hard. I am not strong on this subject so please be patient.
So far I have came up with a full adder but not sure how to implement the output on a 7 segment display. My verilog so far:
Is there anything I am missing or need to display it on a 7 segment display? I am really confused!
I have tried to do some research on my own and trying to implement this on Vivado for a class. My professor is horrible at teaching and I am a IT major and just trying to understand basic verilog but did not know it would be this hard. I am not strong on this subject so please be patient.
So far I have came up with a full adder but not sure how to implement the output on a 7 segment display. My verilog so far:
Code:
module full_adder(
cin,
cout,
in_a,
in_b,
sum
);
parameter reg_size = 3;
input cin;
input [reg_size-1:0] in_a;
input [reg_size-1:0] in_b;
output [reg_size-1:0] sum;
output cout;
assign {cout,sum} = in_a + in_b + cin;
endmodule
Is there anything I am missing or need to display it on a 7 segment display? I am really confused!