Forum Discussion
cym
New Contributor
5 years agoDesign Verilog coding for 8-bit accumulator
I have been trying to do the 8-bit accumulator as the picture attached below but can't get the desire waveform. Can anyone help me? Below are the Verilog HDL coding I had done : module ripple_add(...
- 5 years ago
acc.qar
KhaiChein_Y_Intel
Regular Contributor
5 years agoHi,
fulladd is missing. Could you share the full design QAR and testbench for investigation? To generate the QAR file, click on Project > Archive Project
Thanks
Best regards,
KhaiY
- cym5 years ago
New Contributor
Here is the QAR file. I have provided a full picture and requirements in the picture also.
if there is still can't find the fulladd, here is the code for it:
module fulladd(a, b, cin, s, cout); input a, b, cin; output s, cout; assign s = a ^ b ^ cin; assign cout = ((a ^ b) & cin) | (a & b); endmoduleI didn't do any testbench for this design. But this is the waveform I got.
- KhaiChein_Y_Intel5 years ago
Regular Contributor
Hi,
You may find the acc.qar attached. Do let me know if this is not the intended design.
Thanks
Best regards,
KhaiY
- KhaiChein_Y_Intel5 years ago
Regular Contributor
acc.qar