summaryrefslogtreecommitdiff
path: root/rtl/soc.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/soc.sv')
-rw-r--r--rtl/soc.sv39
1 files changed, 39 insertions, 0 deletions
diff --git a/rtl/soc.sv b/rtl/soc.sv
new file mode 100644
index 0000000..fb33093
--- /dev/null
+++ b/rtl/soc.sv
@@ -0,0 +1,39 @@
+//
+// Copyright (c) 2026, Apollo Telephone Laboratories.
+// Provided under the BSD-3 clause.
+//
+
+//
+// The AT-LI02 System-on-Chip (SoC) package
+//
+// @refclk_i: Reference clock input from on-board VCO
+// @reset_ni: Active-low reset input
+// @pwr_good_o: Power good indicator output
+//
+module soc (
+ input wire refclk_i,
+ input wire reset_ni,
+
+ output logic pwr_good_o
+);
+ logic dclk;
+ logic gclk;
+ logic greset;
+
+ // Platform uncore
+ uncore uc (
+ .refclk_i(refclk_i),
+ .reset_ni(reset_ni),
+ .dclk_o(dclk),
+ .gclk_o(gclk),
+ .greset_o(greset)
+ );
+
+ always_ff @(posedge dclk) begin
+ if (greset) begin
+ pwr_good_o <= 0;
+ end else begin
+ pwr_good_o <= 1;
+ end
+ end
+endmodule