more field logic

This commit is contained in:
Alex Mykyta
2021-10-28 22:34:29 -07:00
parent f473dfb9e7
commit d5c5d42390
23 changed files with 488 additions and 264 deletions

28
x.rdl
View File

@@ -2,26 +2,14 @@
addrmap top {
reg {
field {
hw=r; sw=rw;
hw=w; sw=rw; precedence=sw;
} y = 0;
} whee[2][8];
regfile {
reg {
field {
hw=w; sw=r;
} abc[16:2] = 20;
field {
hw=r; sw=rw;
} def[4] = 0;
} aaa[4];
reg {
field {
hw=r; sw=rw;
} abc = 0;
field {
hw=r; sw=rw;
} def = 0;
} bbb;
} asdf[20];
field {
hw=na; sw=rw;
} x = 1;
y->we;
y->hwset;
} whee;
};