diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/macroasm.vh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/macroasm.vh b/include/macroasm.vh index 0c63ea7..e6a2893 100644 --- a/include/macroasm.vh +++ b/include/macroasm.vh @@ -22,12 +22,7 @@ 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 2xxxxxxxxx -`define DESELECT 3xxxxxxxxx - -`C(( -We have to take care to use the correct number of digits for addresses and -datas - the macros don't validate their arguments! -)) +`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 |