Forum Discussion
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- I am trying to create a multiplication block that uses a slower clock for less processor intensive applications. The slower clock needs to be inputted instantly or very quickly. I am not sure what you are suggesting --- Quote End --- Hi, If i am interpreting your problem correctly, then may be you can instantiate your LUT and multiplication, both modules in one main module. and can connect the output of LUT and input to the clock generator module, which in turn generate a new clock and pass on to the multiplication module. So as soon as the LUT will generate output, your multiplication module will recieve a new clock. e.g. in main_module.v { wire [2:0]out_clock_value; wire out_clock; LUT LUT_inst(.input(index), .output(out_clock_value)); CLK_GEN CLK_GEN_inst(.input(out_clock_value), .output(out_clk)); MULTIPLICATION MUL_inst( .clk (out_clock), .a(a), .b(b), .answer(answer) ); }