aboutsummaryrefslogtreecommitdiffstats
path: root/atk16_fpga/top.v
diff options
context:
space:
mode:
Diffstat (limited to 'atk16_fpga/top.v')
-rw-r--r--atk16_fpga/top.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/atk16_fpga/top.v b/atk16_fpga/top.v
index 975a7f5..065d034 100644
--- a/atk16_fpga/top.v
+++ b/atk16_fpga/top.v
@@ -1,5 +1,8 @@
`default_nettype none
+`define PH_COPY_IMG 1'b0
+`define PH_RUN_IMG 1'b1
+
module top(
input wire SYSCLK,
input wire BUT1,
@@ -13,6 +16,8 @@ module top(
input [3:0] INT
);
+ reg phase = `PH_COPY_IMG;
+
cu cu_inst(
.clk(SYSCLK),
.rst(BUT1),