diff options
| author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2026-02-05 19:36:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-05 19:36:36 +0000 |
| commit | ead28dd6fed440ccf4667c459778012bb0d95733 (patch) | |
| tree | bbc326fa1b487efc0fe163ef733a76c8a241fbb0 /task2 | |
Initial commit
Diffstat (limited to '')
| -rw-r--r-- | task2/.gitignore | 18 | ||||
| -rw-r--r-- | task2/README.md | 13 | ||||
| -rw-r--r-- | task2/fillscreen.sv | 7 | ||||
| -rw-r--r-- | task2/task2.sv | 12 | ||||
| -rw-r--r-- | task2/tb_rtl_fillscreen.sv | 5 | ||||
| -rw-r--r-- | task2/tb_rtl_task2.sv | 5 | ||||
| -rw-r--r-- | task2/tb_syn_fillscreen.sv | 5 | ||||
| -rw-r--r-- | task2/tb_syn_task2.sv | 5 | ||||
| -rw-r--r-- | task2/tb_task2.sv | 5 |
9 files changed, 75 insertions, 0 deletions
diff --git a/task2/.gitignore b/task2/.gitignore new file mode 100644 index 0000000..b0345dc --- /dev/null +++ b/task2/.gitignore @@ -0,0 +1,18 @@ +.DS_Store +transcript +tcl_stacktrace.txt +c5_pin_model_dump.txt +*.mti +*.mpf +*.wlf +*.qdb +*.qpg +*.qtl +*.qpf +*.sof +*.bak +work/ +db/ +incremental_db/ +simulation/ +output_files/ diff --git a/task2/README.md b/task2/README.md new file mode 100644 index 0000000..700d8b9 --- /dev/null +++ b/task2/README.md @@ -0,0 +1,13 @@ +# Contributions +List of contributions made by members of the team. + +It is highly recommended that you each work individually on this specific task. However, only one solution needs to be pushed to GitHub. + +## Contributions made by ABC DEF +- contribution 1 +- contribution 2 + +## Contributions made by TUV XYZ +- contribution 1 +- contribution 2 + diff --git a/task2/fillscreen.sv b/task2/fillscreen.sv new file mode 100644 index 0000000..323e7a5 --- /dev/null +++ b/task2/fillscreen.sv @@ -0,0 +1,7 @@ +module fillscreen(input logic clk, input logic rst_n, input logic [2:0] colour, + input logic start, output logic done, + output logic [7:0] vga_x, output logic [6:0] vga_y, + output logic [2:0] vga_colour, output logic vga_plot); + // fill the screen +endmodule + diff --git a/task2/task2.sv b/task2/task2.sv new file mode 100644 index 0000000..8389348 --- /dev/null +++ b/task2/task2.sv @@ -0,0 +1,12 @@ +module task2(input logic CLOCK_50, input logic [3:0] KEY, + input logic [9:0] SW, output logic [9:0] LEDR, + output logic [6:0] HEX0, output logic [6:0] HEX1, output logic [6:0] HEX2, + output logic [6:0] HEX3, output logic [6:0] HEX4, output logic [6:0] HEX5, + output logic [7:0] VGA_R, output logic [7:0] VGA_G, output logic [7:0] VGA_B, + output logic VGA_HS, output logic VGA_VS, output logic VGA_CLK, + output logic [7:0] VGA_X, output logic [6:0] VGA_Y, + output logic [2:0] VGA_COLOUR, output logic VGA_PLOT); + + // instantiate and connect the VGA adapter and your module + +endmodule: task2 diff --git a/task2/tb_rtl_fillscreen.sv b/task2/tb_rtl_fillscreen.sv new file mode 100644 index 0000000..0c8013b --- /dev/null +++ b/task2/tb_rtl_fillscreen.sv @@ -0,0 +1,5 @@ +module tb_rtl_fillscreen(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_rtl_fillscreen diff --git a/task2/tb_rtl_task2.sv b/task2/tb_rtl_task2.sv new file mode 100644 index 0000000..736b1f6 --- /dev/null +++ b/task2/tb_rtl_task2.sv @@ -0,0 +1,5 @@ +module tb_rtl_task2(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_rtl_task2 diff --git a/task2/tb_syn_fillscreen.sv b/task2/tb_syn_fillscreen.sv new file mode 100644 index 0000000..11d80a4 --- /dev/null +++ b/task2/tb_syn_fillscreen.sv @@ -0,0 +1,5 @@ +module tb_syn_fillscreen(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_syn_fillscreen diff --git a/task2/tb_syn_task2.sv b/task2/tb_syn_task2.sv new file mode 100644 index 0000000..31aa3a9 --- /dev/null +++ b/task2/tb_syn_task2.sv @@ -0,0 +1,5 @@ +module tb_syn_task2(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_syn_task2 diff --git a/task2/tb_task2.sv b/task2/tb_task2.sv new file mode 100644 index 0000000..ceb4e98 --- /dev/null +++ b/task2/tb_task2.sv @@ -0,0 +1,5 @@ +module tb_task2(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_task2 |