]>
Commit | Line | Data |
---|---|---|
1 | `include "lisp_processor.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[7]), | |
13 | .led(LED), | |
14 | .uart_tx(UART_TX), | |
15 | .uart_rx(UART_RX)); | |
16 | endmodule |