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 /task3 | |
Initial commit
Diffstat (limited to '')
| -rw-r--r-- | task3/.gitignore | 18 | ||||
| -rw-r--r-- | task3/README.md | 12 | ||||
| -rw-r--r-- | task3/circle.sv | 8 | ||||
| -rw-r--r-- | task3/task3.sv | 12 | ||||
| -rw-r--r-- | task3/tb_rtl_circle.sv | 5 | ||||
| -rw-r--r-- | task3/tb_rtl_task3.sv | 5 | ||||
| -rw-r--r-- | task3/tb_syn_circle.sv | 5 | ||||
| -rw-r--r-- | task3/tb_syn_task3.sv | 5 | ||||
| -rw-r--r-- | task3/tb_task3.sv | 5 |
9 files changed, 75 insertions, 0 deletions
diff --git a/task3/.gitignore b/task3/.gitignore new file mode 100644 index 0000000..b0345dc --- /dev/null +++ b/task3/.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/task3/README.md b/task3/README.md new file mode 100644 index 0000000..7a55339 --- /dev/null +++ b/task3/README.md @@ -0,0 +1,12 @@ +# Contributions +List of contributions made by members of the team. + +## Contributions made by ABC DEF +- contribution 1 +- contribution 2 + +## Contributions made by TUV XYZ +- contribution 1 +- contribution 2 + + diff --git a/task3/circle.sv b/task3/circle.sv new file mode 100644 index 0000000..112426d --- /dev/null +++ b/task3/circle.sv @@ -0,0 +1,8 @@ +module circle(input logic clk, input logic rst_n, input logic [2:0] colour, + input logic [7:0] centre_x, input logic [6:0] centre_y, input logic [7:0] radius, + 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); + // draw the circle +endmodule + diff --git a/task3/task3.sv b/task3/task3.sv new file mode 100644 index 0000000..d22ae1c --- /dev/null +++ b/task3/task3.sv @@ -0,0 +1,12 @@ +module task3(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: task3 diff --git a/task3/tb_rtl_circle.sv b/task3/tb_rtl_circle.sv new file mode 100644 index 0000000..8f1fbaa --- /dev/null +++ b/task3/tb_rtl_circle.sv @@ -0,0 +1,5 @@ +module tb_rtl_circle(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_rtl_circle diff --git a/task3/tb_rtl_task3.sv b/task3/tb_rtl_task3.sv new file mode 100644 index 0000000..3404a06 --- /dev/null +++ b/task3/tb_rtl_task3.sv @@ -0,0 +1,5 @@ +module tb_rtl_task3(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_rtl_task3 diff --git a/task3/tb_syn_circle.sv b/task3/tb_syn_circle.sv new file mode 100644 index 0000000..9134b68 --- /dev/null +++ b/task3/tb_syn_circle.sv @@ -0,0 +1,5 @@ +module tb_syn_circle(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_syn_circle diff --git a/task3/tb_syn_task3.sv b/task3/tb_syn_task3.sv new file mode 100644 index 0000000..fe0a6f4 --- /dev/null +++ b/task3/tb_syn_task3.sv @@ -0,0 +1,5 @@ +module tb_syn_task3(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_syn_task3 diff --git a/task3/tb_task3.sv b/task3/tb_task3.sv new file mode 100644 index 0000000..1d5c655 --- /dev/null +++ b/task3/tb_task3.sv @@ -0,0 +1,5 @@ +module tb_task3(); + +// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks. + +endmodule: tb_task3 |