Professional Documents
Culture Documents
Binomial Coefficients Generator: Requirements
Binomial Coefficients Generator: Requirements
To speed up the binomial coefficients generation and use less computational resources, a
𝑛 𝑛−𝑘 𝑛
recurrence relation is used, (𝑘+1)= ( ), the very first term of any expansion being (𝑛0) = 1.
𝑘+1 𝑘
Figure 2
Requirements:
Design the newton module, considering the rst and en inputs active high (if logic 1), and positive
clock edges to be the active edges.
Write a testbench module, newton_tb, that instantiates the newton module with the instance
name dut and generates the en and din inputs as shown in Figure 2.
Strictly obey the newton module name and its interface pin names indicated in Figure 1, and the
name of the testbench module should be newton_tb. All names are lowercase.