Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| intro_example:templates [2020/12/02 06:00] – external edit 127.0.0.1 | 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 '' | ||