7168053859171bb48a3cd95a13f7f1dca7268fba
[yule.git] / flash.v
1 `include "processor_4.v"
2
3 module top (input CLK, output [4:0] LED, output UART_TX, input UART_RX);
4 // Prescaler on the clock
5 reg [24:0] counter = 0;
6
7 always @ (posedge CLK) begin
8 counter <= counter + 1;
9 end
10
11 // Connect up the processor
12 PROCESSOR cpu(.clk(counter[10]),
13 .led(LED),
14 .uart_tx(UART_TX),
15 .uart_rx(UART_RX));
16 endmodule
This page took 0.020773 seconds and 3 git commands to generate.