From bc43ceac936b48fdccfcac33e172e176273d504f Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Tue, 8 Sep 2020 21:00:13 +0200 Subject: enable slave and master models to use SEL_ signal --- include/macroasm.vh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include') 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 -- cgit v1.2.3