summaryrefslogtreecommitdiff
path: root/rtl/core/psr.sv
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rtl/core/psr.sv9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtl/core/psr.sv b/rtl/core/psr.sv
new file mode 100644
index 0000000..a66751a
--- /dev/null
+++ b/rtl/core/psr.sv
@@ -0,0 +1,9 @@
+`ifndef CORE_PSR_SV
+`define CORE_PSR_SV
+
+typedef struct packed
+{
+ logic n, z, c, v;
+} psr_flags;
+
+`endif