]> iEval git - yule.git/blobdiff - flash.v
Reset pins + add reader and writer
[yule.git] / flash.v
diff --git a/flash.v b/flash.v
index 7168053859171bb48a3cd95a13f7f1dca7268fba..06ca6b6d7b4646c355b64082cdd11f0e913ad71c 100644 (file)
--- a/flash.v
+++ b/flash.v
@@ -1,4 +1,10 @@
-`include "processor_4.v"
+`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
@@ -9,7 +15,7 @@ module top (input CLK, output [4:0] LED, output UART_TX, input UART_RX);
    end
 
    // Connect up the processor
-   PROCESSOR cpu(.clk(counter[10]),
+   PROCESSOR cpu(.clk(counter[`SCALING]),
                                 .led(LED),
                                 .uart_tx(UART_TX),
                                 .uart_rx(UART_RX));
This page took 0.016101 seconds and 4 git commands to generate.