Add 'rd_swacc' and 'wr_swacc' UDPs. #21

This commit is contained in:
Alex Mykyta
2022-11-09 21:22:59 -08:00
parent 17afaf13ff
commit 489b4d1310
17 changed files with 243 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
addrmap top {
default regwidth = 8;
reg {
field {
sw=r; hw=w;
rd_swacc;
} f[8];
} r1;
reg {
field {
sw=rw; hw=r;
wr_swacc;
} f[8] = 20;
} r2;
};