diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000..9a46904 --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1,2 @@ +srdl2sv_out +*.fst diff --git a/tests/external_registers.rdl b/tests/systemrdl/external_registers.rdl similarity index 100% rename from tests/external_registers.rdl rename to tests/systemrdl/external_registers.rdl diff --git a/tests/systemrdl/simple_rw_reg.rdl b/tests/systemrdl/simple_rw_reg.rdl new file mode 100644 index 0000000..f9bcd5a --- /dev/null +++ b/tests/systemrdl/simple_rw_reg.rdl @@ -0,0 +1,6 @@ +addrmap simple_rw_reg { + reg { + field {sw=rw; hw=rw;} f1 [15:0]; + field {sw=rw; hw=rw;} f2 [31:16]; + } register_0 [2]; +};