Initial Commit - Forked from PeakRDL-regblock @ a440cc19769069be831d267505da4f3789a26695
This commit is contained in:
14
tests/test_validation_errors/signed_counter.rdl
Normal file
14
tests/test_validation_errors/signed_counter.rdl
Normal file
@@ -0,0 +1,14 @@
|
||||
addrmap top {
|
||||
reg {
|
||||
field {
|
||||
sw = rw; hw = r;
|
||||
is_signed = false;
|
||||
counter;
|
||||
} unsigned_counter[8] = 0;
|
||||
field {
|
||||
sw = rw; hw = r;
|
||||
is_signed;
|
||||
counter;
|
||||
} signed_counter[8] = 0;
|
||||
} r1;
|
||||
};
|
||||
Reference in New Issue
Block a user