diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-01-02 15:36:57 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-01-02 15:36:57 +0200 |
| commit | 99203fb27559f91ff903690338af76f6f29cf52d (patch) | |
| tree | b774aae3d6b306d87159f5cec80b39b4e18932ee /atk16_fpga/top.v | |
| parent | ceea6d2fb9c715e70623407674b4fc4a2ec032fc (diff) | |
WIP flash bootload
Diffstat (limited to 'atk16_fpga/top.v')
| -rw-r--r-- | atk16_fpga/top.v | 5 |
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), |
