diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-12-24 13:21:55 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-12-24 13:49:39 +0200 |
| commit | 822fac04e863623706298c4f44469ad3575667d2 (patch) | |
| tree | 111a17f487173362b5ff056fa0967c5d889c97f0 /atk16_fpga/top.v | |
| parent | aa93181f87e12189445342b181b91ea4b51c9434 (diff) | |
Add initial FPGA setup
Diffstat (limited to 'atk16_fpga/top.v')
| -rw-r--r-- | atk16_fpga/top.v | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/atk16_fpga/top.v b/atk16_fpga/top.v new file mode 100644 index 0000000..c456b31 --- /dev/null +++ b/atk16_fpga/top.v @@ -0,0 +1,18 @@ +module top( + input wire SYSCLK, + 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) + ); + +endmodule |
