aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/macroasm.vh10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/macroasm.vh b/include/macroasm.vh
index e6a2893..f43c809 100644
--- a/include/macroasm.vh
+++ b/include/macroasm.vh
@@ -22,7 +22,9 @@ operations:
3 - deselect (CYC_O low for one tick)
))
-`define READ(addr, expected_data) 0 addr expected_data
-`define WRITE(addr, data) 1 addr data
-`define WAIT 2 x x
-`define DESELECT 3 x x
+`define READ(addr, expected_data) 0 addr expected_data FFFF
+`define READS(addr, expected_data, mask) 0 addr expected_data mask
+`define WRITE(addr, data) 1 addr data FFFF
+`define WRITES(addr, data, mask) 1 addr data mask
+`define WAIT 2 x x x
+`define DESELECT 3 x x x