aboutsummaryrefslogtreecommitdiff
path: root/task4
diff options
context:
space:
mode:
authorgithub-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com>2026-02-05 19:36:36 +0000
committerGitHub <noreply@github.com>2026-02-05 19:36:36 +0000
commitead28dd6fed440ccf4667c459778012bb0d95733 (patch)
treebbc326fa1b487efc0fe163ef733a76c8a241fbb0 /task4
Initial commit
Diffstat (limited to '')
-rw-r--r--task4/.gitignore18
-rw-r--r--task4/README.md12
-rw-r--r--task4/reuleaux.sv8
-rw-r--r--task4/task4.sv12
-rw-r--r--task4/tb_rtl_reuleaux.sv5
-rw-r--r--task4/tb_rtl_task4.sv5
-rw-r--r--task4/tb_syn_reuleaux.sv5
-rw-r--r--task4/tb_syn_task4.sv5
-rw-r--r--task4/tb_task4.sv5
9 files changed, 75 insertions, 0 deletions
diff --git a/task4/.gitignore b/task4/.gitignore
new file mode 100644
index 0000000..b0345dc
--- /dev/null
+++ b/task4/.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/task4/README.md b/task4/README.md
new file mode 100644
index 0000000..7a55339
--- /dev/null
+++ b/task4/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/task4/reuleaux.sv b/task4/reuleaux.sv
new file mode 100644
index 0000000..abcde5e
--- /dev/null
+++ b/task4/reuleaux.sv
@@ -0,0 +1,8 @@
+module reuleaux(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] diameter,
+ 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 Reuleaux triangle
+endmodule
+
diff --git a/task4/task4.sv b/task4/task4.sv
new file mode 100644
index 0000000..71d43be
--- /dev/null
+++ b/task4/task4.sv
@@ -0,0 +1,12 @@
+module task4(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: task4
diff --git a/task4/tb_rtl_reuleaux.sv b/task4/tb_rtl_reuleaux.sv
new file mode 100644
index 0000000..4e77c33
--- /dev/null
+++ b/task4/tb_rtl_reuleaux.sv
@@ -0,0 +1,5 @@
+module tb_rtl_reuleaux();
+
+// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks.
+
+endmodule: tb_rtl_reuleaux
diff --git a/task4/tb_rtl_task4.sv b/task4/tb_rtl_task4.sv
new file mode 100644
index 0000000..47f6810
--- /dev/null
+++ b/task4/tb_rtl_task4.sv
@@ -0,0 +1,5 @@
+module tb_rtl_task4();
+
+// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks.
+
+endmodule: tb_rtl_task4
diff --git a/task4/tb_syn_reuleaux.sv b/task4/tb_syn_reuleaux.sv
new file mode 100644
index 0000000..d39f0bb
--- /dev/null
+++ b/task4/tb_syn_reuleaux.sv
@@ -0,0 +1,5 @@
+module tb_syn_reuleaux();
+
+// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks.
+
+endmodule: tb_syn_reuleaux
diff --git a/task4/tb_syn_task4.sv b/task4/tb_syn_task4.sv
new file mode 100644
index 0000000..8c66b3f
--- /dev/null
+++ b/task4/tb_syn_task4.sv
@@ -0,0 +1,5 @@
+module tb_syn_task4();
+
+// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks.
+
+endmodule: tb_syn_task4
diff --git a/task4/tb_task4.sv b/task4/tb_task4.sv
new file mode 100644
index 0000000..04f882f
--- /dev/null
+++ b/task4/tb_task4.sv
@@ -0,0 +1,5 @@
+module tb_task4();
+
+// Your testbench goes here. Our toplevel will give up after 1,000,000 ticks.
+
+endmodule: tb_task4