`include "lisp_processor.v"
+`ifdef SIM
+`define SCALING 0
+`else
+`define SCALING 7
+`endif
+
module top (input CLK, output [4:0] LED, output UART_TX, input UART_RX);
// Prescaler on the clock
reg [24:0] counter = 0;
end
// Connect up the processor
- PROCESSOR cpu(.clk(counter[7]),
+ PROCESSOR cpu(.clk(counter[`SCALING]),
.led(LED),
.uart_tx(UART_TX),
.uart_rx(UART_RX));