Altera_Forum
Honored Contributor
17 years agoLUT to change inputs of another module
Lets say I have two programs in Verilog, one the LUT and the other some logic circuit with a clock. Lets say in that circuit 'a', a1 is an output. a1 is input to the LUT and the output of the LUT is the new clock value for 'a'(clock is an input to 'a'). eg: if a1=2'b00, the LUT changes the clock to 125 khz from 1 MHz.
How could I code this? (just the outlines on how to connect the two programs, integrate the LUT with 'a'. Thanks for any help Basically I want the LUT to read an output from 'a' and change the clk which is an input to 'a'