Initial Commit - Forked from PeakRDL-regblock @ a440cc19769069be831d267505da4f3789a26695
This commit is contained in:
14
tests/test_parity/regblock.rdl
Normal file
14
tests/test_parity/regblock.rdl
Normal file
@@ -0,0 +1,14 @@
|
||||
addrmap top {
|
||||
default paritycheck;
|
||||
default sw=rw;
|
||||
default hw=na;
|
||||
|
||||
reg my_reg {
|
||||
field {} f1[16] = 0;
|
||||
field {} f2[8] = 0;
|
||||
field {} f3 = 0;
|
||||
};
|
||||
|
||||
my_reg r1 @ 0x000;
|
||||
my_reg r2[8] @ 0x1000;
|
||||
};
|
||||
Reference in New Issue
Block a user