开发者

Adding two single BCD digits with Verilog

开发者 https://www.devze.com 2023-02-12 14:33 出处:网络
Cou开发者_如何学Pythonld you please help me finding a Verilog code to add two BCD digits where the output should be BCD as well?Why not write the code yourself? It\'s not too difficult, especially if

Cou开发者_如何学Pythonld you please help me finding a Verilog code to add two BCD digits where the output should be BCD as well?


Why not write the code yourself? It's not too difficult, especially if you can find some guidelines online. The code is just a matter of using the logic gates of whichever adder you'd like, depending on but size (RCA is easiest to implement), and then additional logic to break down the numbers being added into single digits, converting to binary, and adding them together. Good luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消