diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-12-26 21:42:34 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-12-26 21:42:34 +0200 |
| commit | b11ba35ba84fc9b902f3d5217e89e63462046f76 (patch) | |
| tree | 14cdadc71d8a98c90a0c53d8c112a2079ed4798b /atk16_fpga/top.v | |
| parent | 822fac04e863623706298c4f44469ad3575667d2 (diff) | |
Develop fpga
Diffstat (limited to 'atk16_fpga/top.v')
| -rw-r--r-- | atk16_fpga/top.v | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/atk16_fpga/top.v b/atk16_fpga/top.v index c456b31..386d6e3 100644 --- a/atk16_fpga/top.v +++ b/atk16_fpga/top.v @@ -1,18 +1,16 @@ +`default_nettype none + module top( input wire SYSCLK, + input wire BUT1, output wire LED1 ); - assign LED1 = SYSCLK; - - wire [15:0] result; - wire [3:0] flags; - alu alu_inst( - .sel(3'd0), - .a(16'd0), - .b(16'd0), - .result(result), - .flags(flags) + cu cu_inst( + .clk(SYSCLK), + .rst(BUT1) ); + assign LED1 = BUT1; + endmodule |
