Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| intro_example:templates [2020/06/17 03:25] – created prafull | intro_example:templates [2022/05/13 13:21] (current) – rajit | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Let’s revisit the ripple carry adder designed in previous example. Instead of designing adder with fixed bit-width, a generic N-bit adder can be created using '' | Let’s revisit the ripple carry adder designed in previous example. Instead of designing adder with fixed bit-width, a generic N-bit adder can be created using '' | ||
| - | < | + | < |
| import " | import " | ||
| Line 23: | Line 23: | ||
| As shown below, an arbitrary bit-width adder can be created by instantiating the process '' | As shown below, an arbitrary bit-width adder can be created by instantiating the process '' | ||
| - | < | + | < |
| adderNb< | adderNb< | ||
| </ | </ | ||
| This creates an 8-bit adder with instance name '' | This creates an 8-bit adder with instance name '' | ||